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_wxPreviewControlBar swig_types[76]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxToolBar swig_types[79]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 static swig_type_info
*swig_types
[83];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
304 #define SWIG_name "_windows"
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
310 static const wxString
wxPyEmptyString(wxEmptyString
);
311 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
315 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
321 } else if (target
== Py_None
) {
325 if (!PyTuple_Check(target
)) {
327 target
= PyTuple_New(1);
328 PyTuple_SetItem(target
, 0, o2
);
331 PyTuple_SetItem(o3
, 0, o
);
334 target
= PySequence_Concat(o2
, o3
);
341 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
342 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
343 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
344 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
345 bool wxDialog_IsModalShowing(wxDialog
*self
){
347 return self
->m_modalShowing
;
354 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
356 self
->GetFieldRect(i
, r
);
359 static const wxString
wxPySplitterNameStr(wxT(wxT("splitter")));
360 static const wxString
wxPySashNameStr(wxT(wxT("sashWindow")));
361 static const wxString
wxPySashLayoutNameStr(wxT(wxT("layoutWindow")));
363 #include <wx/popupwin.h>
366 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
369 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
370 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
371 : wxPopupTransientWindow(parent
, style
) {}
373 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
374 DEC_PYCALLBACK__(OnDismiss
);
375 DEC_PYCALLBACK_BOOL_(CanDismiss
);
380 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
381 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
382 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
385 #include <wx/tipwin.h>
387 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
388 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
391 #include <wx/tipwin.h>
394 #include <wx/vscroll.h>
397 class wxPyVScrolledWindow
: public wxVScrolledWindow
399 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
401 wxPyVScrolledWindow() : wxVScrolledWindow() {}
403 wxPyVScrolledWindow(wxWindow
*parent
,
404 wxWindowID id
= wxID_ANY
,
405 const wxPoint
& pos
= wxDefaultPosition
,
406 const wxSize
& size
= wxDefaultSize
,
408 const wxString
& name
= wxPyPanelNameStr
)
409 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
412 // Overridable virtuals
414 // this function must be overridden in the derived class and it should
415 // return the height of the given line in pixels
416 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
419 // this function doesn't have to be overridden but it may be useful to do
420 // it if calculating the lines heights is a relatively expensive operation
421 // as it gives the user code a possibility to calculate several of them at
424 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
425 // shouldn't rely on the latter being called for all lines in the interval
426 // specified here. It is also possible that OnGetLineHeight() will be
427 // called for the lines outside of this interval, so this is really just a
428 // hint, not a promise.
430 // finally note that lineMin is inclusive, while lineMax is exclusive, as
432 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
435 // when the number of lines changes, we try to estimate the total height
436 // of all lines which is a rather expensive operation in terms of lines
437 // access, so if the user code may estimate the average height
438 // better/faster than we do, it should override this function to implement
441 // this function should return the best guess for the total height it may
443 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
446 // Also expose some other interesting protected methods
449 // find the index of the line we need to show at the top of the window such
450 // that the last (fully or partially) visible line is the given one
451 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
452 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
454 // get the total height of the lines between lineMin (inclusive) and
455 // lineMax (exclusive)
456 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
457 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
463 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
465 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
466 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
467 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
470 #include <wx/vlbox.h>
472 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
474 class wxPyVListBox
: public wxVListBox
476 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
478 wxPyVListBox() : wxVListBox() {}
480 wxPyVListBox(wxWindow
*parent
,
481 wxWindowID id
= wxID_ANY
,
482 const wxPoint
& pos
= wxDefaultPosition
,
483 const wxSize
& size
= wxDefaultSize
,
485 const wxString
& name
= wxPyVListBoxNameStr
)
486 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
489 // Overridable virtuals
491 // the derived class must implement this function to actually draw the item
492 // with the given index on the provided DC
493 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
494 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
497 // the derived class must implement this method to return the height of the
499 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
500 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
503 // this method may be used to draw separators between the lines; note that
504 // the rectangle may be modified, typically to deflate it a bit before
505 // passing to OnDrawItem()
507 // the base class version doesn't do anything
508 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
509 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
512 // this method is used to draw the items background and, maybe, a border
515 // the base class version implements a reasonable default behaviour which
516 // consists in drawing the selected item with the standard background
517 // colour and drawing a border around the item if it is either selected or
519 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
526 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
528 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
529 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
530 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
531 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
535 #include <wx/htmllbox.h>
538 class wxPyHtmlListBox
: public wxHtmlListBox
540 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
542 wxPyHtmlListBox() : wxHtmlListBox() {}
544 wxPyHtmlListBox(wxWindow
*parent
,
545 wxWindowID id
= wxID_ANY
,
546 const wxPoint
& pos
= wxDefaultPosition
,
547 const wxSize
& size
= wxDefaultSize
,
549 const wxString
& name
= wxPyVListBoxNameStr
)
550 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
553 // Overridable virtuals
555 // this method must be implemented in the derived class and should return
556 // the body (i.e. without <html>) of the HTML for the given item
557 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
559 // this function may be overridden to decorate HTML returned by OnGetItem()
560 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
563 // // this method allows to customize the selection appearance: it may be used
564 // // to specify the colour of the text which normally has the given colour
565 // // colFg when it is inside the selection
567 // // by default, the original colour is not used at all and all text has the
568 // // same (default for this system) colour inside selection
569 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
571 // // this is the same as GetSelectedTextColour() but allows to customize the
572 // // background colour -- this is even more rarely used as you can change it
573 // // globally using SetSelectionBackground()
574 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
581 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
583 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
584 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
591 // implement dummy classes and such for wxMac
593 class wxTaskBarIcon
: public wxEvtHandler
596 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
600 class wxTaskBarIconEvent
: public wxEvent
603 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
604 { wxPyRaiseNotImplemented(); }
605 virtual wxEvent
* Clone() const { return NULL
; }
609 wxEVT_TASKBAR_MOVE
= 0,
610 wxEVT_TASKBAR_LEFT_DOWN
= 0,
611 wxEVT_TASKBAR_LEFT_UP
= 0,
612 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
613 wxEVT_TASKBAR_RIGHT_UP
= 0,
614 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
615 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
619 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
620 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
621 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
622 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
623 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
624 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
625 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
627 self
->GetFilenames(arr
);
628 return wxArrayString2PyList_helper(arr
);
630 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
633 return wxArrayString2PyList_helper(arr
);
635 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
636 return wxArrayInt2PyList_helper(self
->GetSelections());
638 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
639 return new wxSingleChoiceDialog(parent
, message
, caption
,
640 choices
, choices_array
, NULL
, style
, pos
);
645 // C++ version of Python aware wxWindow
646 class wxPyWindow
: public wxWindow
648 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
650 wxPyWindow() : wxWindow() {}
651 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
652 const wxPoint
& pos
= wxDefaultPosition
,
653 const wxSize
& size
= wxDefaultSize
,
655 const wxString
& name
= wxPyPanelNameStr
)
656 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
659 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
660 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
661 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
662 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
664 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
665 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
666 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
668 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
669 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
671 DEC_PYCALLBACK__(InitDialog
);
672 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
673 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
674 DEC_PYCALLBACK_BOOL_(Validate
);
676 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
677 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
678 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
680 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
681 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
686 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
688 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
689 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
690 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
691 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
693 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
694 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
695 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
697 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
698 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
700 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
701 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
702 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
703 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
705 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
706 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
707 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
709 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
710 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
713 // C++ version of Python aware wxPanel
714 class wxPyPanel
: public wxPanel
716 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
718 wxPyPanel() : wxPanel() {}
719 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
720 const wxPoint
& pos
= wxDefaultPosition
,
721 const wxSize
& size
= wxDefaultSize
,
723 const wxString
& name
= wxPyPanelNameStr
)
724 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
727 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
728 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
729 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
730 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
732 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
733 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
734 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
736 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
737 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
739 DEC_PYCALLBACK__(InitDialog
);
740 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
741 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
742 DEC_PYCALLBACK_BOOL_(Validate
);
744 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
745 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
746 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
748 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
749 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
754 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
756 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
757 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
758 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
759 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
761 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
762 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
763 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
765 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
766 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
768 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
769 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
770 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
771 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
773 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
774 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
775 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
777 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
778 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
782 #include "wx/wxPython/printfw.h"
785 static const wxString
wxPyPrintoutTitleStr(wxT(wxT("Printout")));
786 static const wxString
wxPyPreviewCanvasNameStr(wxT(wxT("previewcanvas")));
790 // Since this one would be tough and ugly to do with the Macros...
791 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
795 wxPyBeginBlockThreads();
796 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
797 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
798 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
801 val
= PyTuple_GetItem(result
, 0);
802 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
805 val
= PyTuple_GetItem(result
, 1);
806 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
809 val
= PyTuple_GetItem(result
, 2);
810 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
813 val
= PyTuple_GetItem(result
, 3);
814 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
821 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
826 wxPyEndBlockThreads();
828 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
831 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
832 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
836 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
837 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
838 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
839 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
840 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
841 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
842 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
848 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
849 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
850 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
853 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
854 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
857 wxPyBeginBlockThreads(); \
858 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
859 PyObject* win = wxPyMake_wxObject(a); \
860 PyObject* dc = wxPyMake_wxObject(&b); \
861 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
865 wxPyEndBlockThreads(); \
867 rval = PCLASS::CBNAME(a, b); \
870 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
871 return PCLASS::CBNAME(a, b); \
877 class wxPyPrintPreview
: public wxPrintPreview
879 DECLARE_CLASS(wxPyPrintPreview
)
881 wxPyPrintPreview(wxPyPrintout
* printout
,
882 wxPyPrintout
* printoutForPrinting
,
883 wxPrintData
* data
=NULL
)
884 : wxPrintPreview(printout
, printoutForPrinting
, data
)
887 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
888 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
889 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
890 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
891 DEC_PYCALLBACK_VOID_INT(SetZoom
);
892 DEC_PYCALLBACK_BOOL_BOOL(Print
);
893 DEC_PYCALLBACK_VOID_(DetermineScaling
);
898 // Stupid renamed classes... Fix this in 2.5...
899 #if defined(__WXMSW__)
900 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
901 #elif defined(__WXMAC__)
902 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
904 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
907 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
908 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
909 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
910 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
911 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
912 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
913 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
916 class wxPyPreviewFrame
: public wxPreviewFrame
918 DECLARE_CLASS(wxPyPreviewFrame
);
920 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
921 const wxString
& title
,
922 const wxPoint
& pos
= wxDefaultPosition
,
923 const wxSize
& size
= wxDefaultSize
,
924 long style
= wxDEFAULT_FRAME_STYLE
,
925 const wxString
& name
= wxPyFrameNameStr
)
926 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
929 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
930 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
932 DEC_PYCALLBACK_VOID_(Initialize
);
933 DEC_PYCALLBACK_VOID_(CreateCanvas
);
934 DEC_PYCALLBACK_VOID_(CreateControlBar
);
939 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
941 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
942 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
943 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
946 class wxPyPreviewControlBar
: public wxPreviewControlBar
948 DECLARE_CLASS(wxPyPreviewControlBar
);
950 wxPyPreviewControlBar(wxPrintPreview
*preview
,
953 const wxPoint
& pos
= wxDefaultPosition
,
954 const wxSize
& size
= wxDefaultSize
,
956 const wxString
& name
= wxPyPanelNameStr
)
957 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
960 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
962 DEC_PYCALLBACK_VOID_(CreateButtons
);
963 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
968 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
969 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
970 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
975 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 wxWindow
*arg1
= (wxWindow
*) 0 ;
978 int arg2
= (int) (int)-1 ;
979 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
980 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
983 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
984 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
985 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
990 PyObject
* obj0
= 0 ;
991 PyObject
* obj2
= 0 ;
992 PyObject
* obj3
= 0 ;
993 PyObject
* obj5
= 0 ;
995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1009 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1014 arg6
= wxString_in_helper(obj5
);
1015 if (arg6
== NULL
) SWIG_fail
;
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) SWIG_fail
;
1026 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1041 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
*resultobj
;
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 result
= (wxPanel
*)new wxPanel();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1063 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
*resultobj
;
1065 wxPanel
*arg1
= (wxPanel
*) 0 ;
1066 wxWindow
*arg2
= (wxWindow
*) 0 ;
1068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1072 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1073 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1078 bool temp7
= False
;
1079 PyObject
* obj0
= 0 ;
1080 PyObject
* obj1
= 0 ;
1081 PyObject
* obj3
= 0 ;
1082 PyObject
* obj4
= 0 ;
1083 PyObject
* obj6
= 0 ;
1085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1105 arg7
= wxString_in_helper(obj6
);
1106 if (arg7
== NULL
) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1117 resultobj
= PyInt_FromLong((long)result
);
1132 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
*resultobj
;
1134 wxPanel
*arg1
= (wxPanel
*) 0 ;
1135 PyObject
* obj0
= 0 ;
1137 (char *) "self", NULL
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 (arg1
)->InitDialog();
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1149 Py_INCREF(Py_None
); resultobj
= Py_None
;
1156 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1159 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1161 return Py_BuildValue((char *)"");
1163 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
*resultobj
;
1165 wxWindow
*arg1
= (wxWindow
*) 0 ;
1166 int arg2
= (int) (int)-1 ;
1167 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1168 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1169 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1170 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1171 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1172 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1173 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1174 wxScrolledWindow
*result
;
1177 bool temp6
= False
;
1178 PyObject
* obj0
= 0 ;
1179 PyObject
* obj2
= 0 ;
1180 PyObject
* obj3
= 0 ;
1181 PyObject
* obj5
= 0 ;
1183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1191 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1197 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1202 arg6
= wxString_in_helper(obj5
);
1203 if (arg6
== NULL
) SWIG_fail
;
1208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1209 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1229 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
*resultobj
;
1231 wxScrolledWindow
*result
;
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1251 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
*resultobj
;
1253 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1254 wxWindow
*arg2
= (wxWindow
*) 0 ;
1255 int arg3
= (int) (int)-1 ;
1256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1260 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1261 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1266 bool temp7
= False
;
1267 PyObject
* obj0
= 0 ;
1268 PyObject
* obj1
= 0 ;
1269 PyObject
* obj3
= 0 ;
1270 PyObject
* obj4
= 0 ;
1271 PyObject
* obj6
= 0 ;
1273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1293 arg7
= wxString_in_helper(obj6
);
1294 if (arg7
== NULL
) SWIG_fail
;
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1305 resultobj
= PyInt_FromLong((long)result
);
1320 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1327 int arg6
= (int) 0 ;
1328 int arg7
= (int) 0 ;
1329 bool arg8
= (bool) False
;
1330 PyObject
* obj0
= 0 ;
1331 PyObject
* obj7
= 0 ;
1333 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1339 arg8
= PyInt_AsLong(obj7
) ? true : false;
1340 if (PyErr_Occurred()) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1349 Py_INCREF(Py_None
); resultobj
= Py_None
;
1356 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
*resultobj
;
1358 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1361 PyObject
* obj0
= 0 ;
1363 (char *) "self",(char *) "x",(char *) "y", NULL
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 (arg1
)->Scroll(arg2
,arg3
);
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) SWIG_fail
;
1375 Py_INCREF(Py_None
); resultobj
= Py_None
;
1382 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1387 PyObject
* obj0
= 0 ;
1389 (char *) "self",(char *) "orient", NULL
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 resultobj
= PyInt_FromLong((long)result
);
1408 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
*resultobj
;
1410 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1413 PyObject
* obj0
= 0 ;
1415 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1427 Py_INCREF(Py_None
); resultobj
= Py_None
;
1434 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
*resultobj
;
1436 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1439 PyObject
* obj0
= 0 ;
1441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 (arg1
)->SetScrollRate(arg2
,arg3
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1453 Py_INCREF(Py_None
); resultobj
= Py_None
;
1460 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1463 int *arg2
= (int *) 0 ;
1464 int *arg3
= (int *) 0 ;
1467 PyObject
* obj0
= 0 ;
1469 (char *) "self", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1483 Py_INCREF(Py_None
); resultobj
= Py_None
;
1485 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1486 resultobj
= t_output_helper(resultobj
,o
);
1489 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1490 resultobj
= t_output_helper(resultobj
,o
);
1498 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1503 PyObject
* obj0
= 0 ;
1504 PyObject
* obj1
= 0 ;
1505 PyObject
* obj2
= 0 ;
1507 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1512 arg2
= PyInt_AsLong(obj1
) ? true : false;
1513 if (PyErr_Occurred()) SWIG_fail
;
1514 arg3
= PyInt_AsLong(obj2
) ? true : false;
1515 if (PyErr_Occurred()) SWIG_fail
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 (arg1
)->EnableScrolling(arg2
,arg3
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1523 Py_INCREF(Py_None
); resultobj
= Py_None
;
1530 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
*resultobj
;
1532 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1533 int *arg2
= (int *) 0 ;
1534 int *arg3
= (int *) 0 ;
1537 PyObject
* obj0
= 0 ;
1539 (char *) "self", NULL
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 Py_INCREF(Py_None
); resultobj
= Py_None
;
1555 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1556 resultobj
= t_output_helper(resultobj
,o
);
1559 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1560 resultobj
= t_output_helper(resultobj
,o
);
1568 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
*resultobj
;
1570 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1573 PyObject
* obj0
= 0 ;
1575 (char *) "self",(char *) "xs",(char *) "ys", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 (arg1
)->SetScale(arg2
,arg3
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 Py_INCREF(Py_None
); resultobj
= Py_None
;
1594 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
*resultobj
;
1596 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1598 PyObject
* obj0
= 0 ;
1600 (char *) "self", NULL
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 resultobj
= PyFloat_FromDouble(result
);
1619 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1637 resultobj
= PyFloat_FromDouble(result
);
1644 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1645 PyObject
*resultobj
;
1646 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1653 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxPoint
* resultptr
;
1668 resultptr
= new wxPoint((wxPoint
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1677 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1678 PyObject
*resultobj
;
1679 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1682 int *arg4
= (int *) 0 ;
1683 int *arg5
= (int *) 0 ;
1686 PyObject
* obj0
= 0 ;
1690 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1699 Py_INCREF(Py_None
); resultobj
= Py_None
;
1701 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1702 resultobj
= t_output_helper(resultobj
,o
);
1705 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1706 resultobj
= t_output_helper(resultobj
,o
);
1714 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1719 argc
= PyObject_Length(args
);
1720 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1721 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1727 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1736 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1739 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1747 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1756 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1760 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1769 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1774 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1775 PyObject
*resultobj
;
1776 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1780 PyObject
* obj0
= 0 ;
1781 PyObject
* obj1
= 0 ;
1783 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1797 wxPoint
* resultptr
;
1798 resultptr
= new wxPoint((wxPoint
&) result
);
1799 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1807 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1808 PyObject
*resultobj
;
1809 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1812 int *arg4
= (int *) 0 ;
1813 int *arg5
= (int *) 0 ;
1816 PyObject
* obj0
= 0 ;
1820 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1832 resultobj
= t_output_helper(resultobj
,o
);
1835 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1836 resultobj
= t_output_helper(resultobj
,o
);
1844 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1849 argc
= PyObject_Length(args
);
1850 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1851 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1857 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1866 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1869 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1877 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1886 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1890 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1899 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1904 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "self", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 (arg1
)->AdjustScrollbars();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 Py_INCREF(Py_None
); resultobj
= Py_None
;
1928 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1931 wxScrollWinEvent
*arg2
= 0 ;
1933 PyObject
* obj0
= 0 ;
1934 PyObject
* obj1
= 0 ;
1936 (char *) "self",(char *) "event", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= PyInt_FromLong((long)result
);
1959 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1962 wxWindow
*arg2
= (wxWindow
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1964 PyObject
* obj1
= 0 ;
1966 (char *) "self",(char *) "target", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 (arg1
)->SetTargetWindow(arg2
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 Py_INCREF(Py_None
); resultobj
= Py_None
;
1986 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
*resultobj
;
1988 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1990 PyObject
* obj0
= 0 ;
1992 (char *) "self", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= wxPyMake_wxObject(result
);
2013 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2016 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2018 return Py_BuildValue((char *)"");
2020 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2021 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2026 static PyObject
*_wrap_FrameNameStr_get() {
2031 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2033 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2040 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2041 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2046 static PyObject
*_wrap_DialogNameStr_get() {
2051 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2053 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2060 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2061 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2066 static PyObject
*_wrap_StatusLineNameStr_get() {
2071 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2073 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2080 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2081 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2086 static PyObject
*_wrap_ToolBarNameStr_get() {
2091 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2093 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2100 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2103 bool arg2
= (bool) True
;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "maximize", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2113 arg2
= PyInt_AsLong(obj1
) ? true : false;
2114 if (PyErr_Occurred()) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 (arg1
)->Maximize(arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 Py_INCREF(Py_None
); resultobj
= Py_None
;
2130 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2135 (char *) "self", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2154 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2157 bool arg2
= (bool) True
;
2158 PyObject
* obj0
= 0 ;
2159 PyObject
* obj1
= 0 ;
2161 (char *) "self",(char *) "iconize", NULL
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2167 arg2
= PyInt_AsLong(obj1
) ? true : false;
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 (arg1
)->Iconize(arg2
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2177 Py_INCREF(Py_None
); resultobj
= Py_None
;
2184 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2190 (char *) "self", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 resultobj
= PyInt_FromLong((long)result
);
2209 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= PyInt_FromLong((long)result
);
2234 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2254 resultptr
= new wxIcon((wxIcon
&) result
);
2255 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2263 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
*resultobj
;
2265 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 (char *) "self",(char *) "icon", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 Py_INCREF(Py_None
); resultobj
= Py_None
;
2293 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2295 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2296 wxIconBundle
*arg2
= 0 ;
2297 PyObject
* obj0
= 0 ;
2298 PyObject
* obj1
= 0 ;
2300 (char *) "self",(char *) "icons", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 Py_INCREF(Py_None
); resultobj
= Py_None
;
2323 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2327 long arg3
= (long) wxFULLSCREEN_ALL
;
2329 PyObject
* obj0
= 0 ;
2330 PyObject
* obj1
= 0 ;
2332 (char *) "self",(char *) "show",(char *) "style", NULL
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2337 arg2
= PyInt_AsLong(obj1
) ? true : false;
2338 if (PyErr_Occurred()) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 resultobj
= PyInt_FromLong((long)result
);
2353 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2357 PyObject
* obj0
= 0 ;
2359 (char *) "self", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 resultobj
= PyInt_FromLong((long)result
);
2378 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2381 wxString
*arg2
= 0 ;
2382 bool temp2
= False
;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2386 (char *) "self",(char *) "title", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2392 arg2
= wxString_in_helper(obj1
);
2393 if (arg2
== NULL
) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 (arg1
)->SetTitle((wxString
const &)*arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2424 (char *) "self", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2449 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2452 wxRegion
*arg2
= 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "region", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 resultobj
= PyInt_FromLong((long)result
);
2480 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2483 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2485 return Py_BuildValue((char *)"");
2487 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxWindow
*arg1
= (wxWindow
*) 0 ;
2491 wxString
*arg3
= 0 ;
2492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2496 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2497 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2498 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2500 bool temp3
= False
;
2503 bool temp7
= False
;
2504 PyObject
* obj0
= 0 ;
2505 PyObject
* obj2
= 0 ;
2506 PyObject
* obj3
= 0 ;
2507 PyObject
* obj4
= 0 ;
2508 PyObject
* obj6
= 0 ;
2510 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2516 arg3
= wxString_in_helper(obj2
);
2517 if (arg3
== NULL
) SWIG_fail
;
2523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2534 arg7
= wxString_in_helper(obj6
);
2535 if (arg7
== NULL
) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2547 resultobj
= wxPyMake_wxObject(result
);
2571 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= (wxFrame
*)new wxFrame();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= wxPyMake_wxObject(result
);
2595 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxFrame
*arg1
= (wxFrame
*) 0 ;
2598 wxWindow
*arg2
= (wxWindow
*) 0 ;
2600 wxString
*arg4
= 0 ;
2601 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2602 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2603 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2604 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2605 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2606 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2609 bool temp4
= False
;
2612 bool temp8
= False
;
2613 PyObject
* obj0
= 0 ;
2614 PyObject
* obj1
= 0 ;
2615 PyObject
* obj3
= 0 ;
2616 PyObject
* obj4
= 0 ;
2617 PyObject
* obj5
= 0 ;
2618 PyObject
* obj7
= 0 ;
2620 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2627 arg4
= wxString_in_helper(obj3
);
2628 if (arg4
== NULL
) SWIG_fail
;
2634 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2640 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2645 arg8
= wxString_in_helper(obj7
);
2646 if (arg8
== NULL
) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= PyInt_FromLong((long)result
);
2680 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxFrame
*arg1
= (wxFrame
*) 0 ;
2684 PyObject
* obj0
= 0 ;
2686 (char *) "self", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 wxPoint
* resultptr
;
2700 resultptr
= new wxPoint((wxPoint
&) result
);
2701 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2709 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxFrame
*arg1
= (wxFrame
*) 0 ;
2712 PyObject
* obj0
= 0 ;
2714 (char *) "self", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
2718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 (arg1
)->SendSizeEvent();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxFrame
*arg1
= (wxFrame
*) 0 ;
2736 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2740 (char *) "self",(char *) "menubar", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 (arg1
)->SetMenuBar(arg2
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxFrame
*arg1
= (wxFrame
*) 0 ;
2764 PyObject
* obj0
= 0 ;
2766 (char *) "self", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2779 resultobj
= wxPyMake_wxObject(result
);
2787 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxFrame
*arg1
= (wxFrame
*) 0 ;
2792 PyObject
* obj0
= 0 ;
2794 (char *) "self",(char *) "winid", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 result
= (bool)(arg1
)->ProcessCommand(arg2
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2806 resultobj
= PyInt_FromLong((long)result
);
2813 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
*resultobj
;
2815 wxFrame
*arg1
= (wxFrame
*) 0 ;
2816 int arg2
= (int) 1 ;
2817 long arg3
= (long) wxST_SIZEGRIP
;
2818 int arg4
= (int) 0 ;
2819 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
2820 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2821 wxStatusBar
*result
;
2822 bool temp5
= False
;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj4
= 0 ;
2826 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2833 arg5
= wxString_in_helper(obj4
);
2834 if (arg5
== NULL
) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 resultobj
= wxPyMake_wxObject(result
);
2862 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxFrame
*arg1
= (wxFrame
*) 0 ;
2865 wxStatusBar
*result
;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2881 resultobj
= wxPyMake_wxObject(result
);
2889 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
*resultobj
;
2891 wxFrame
*arg1
= (wxFrame
*) 0 ;
2892 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
2893 PyObject
* obj0
= 0 ;
2894 PyObject
* obj1
= 0 ;
2896 (char *) "self",(char *) "statBar", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 (arg1
)->SetStatusBar(arg2
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2909 Py_INCREF(Py_None
); resultobj
= Py_None
;
2916 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxFrame
*arg1
= (wxFrame
*) 0 ;
2919 wxString
*arg2
= 0 ;
2920 int arg3
= (int) 0 ;
2921 bool temp2
= False
;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2925 (char *) "self",(char *) "text",(char *) "number", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2931 arg2
= wxString_in_helper(obj1
);
2932 if (arg2
== NULL
) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 Py_INCREF(Py_None
); resultobj
= Py_None
;
2957 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxFrame
*arg1
= (wxFrame
*) 0 ;
2961 int *arg3
= (int *) 0 ;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2965 (char *) "self",(char *) "widths", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2971 arg2
= PyList_Size(obj1
);
2972 arg3
= int_LIST_helper(obj1
);
2973 if (arg3
== NULL
) SWIG_fail
;
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2982 Py_INCREF(Py_None
); resultobj
= Py_None
;
2984 if (arg3
) delete [] arg3
;
2989 if (arg3
) delete [] arg3
;
2995 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxFrame
*arg1
= (wxFrame
*) 0 ;
2998 wxString
*arg2
= 0 ;
2999 int arg3
= (int) 0 ;
3000 bool temp2
= False
;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3004 (char *) "self",(char *) "text",(char *) "number", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3010 arg2
= wxString_in_helper(obj1
);
3011 if (arg2
== NULL
) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 Py_INCREF(Py_None
); resultobj
= Py_None
;
3036 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxFrame
*arg1
= (wxFrame
*) 0 ;
3039 int arg2
= (int) 0 ;
3040 PyObject
* obj0
= 0 ;
3042 (char *) "self",(char *) "number", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 (arg1
)->PopStatusText(arg2
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3061 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxFrame
*arg1
= (wxFrame
*) 0 ;
3065 PyObject
* obj0
= 0 ;
3067 (char *) "self",(char *) "n", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 (arg1
)->SetStatusBarPane(arg2
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3079 Py_INCREF(Py_None
); resultobj
= Py_None
;
3086 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxFrame
*arg1
= (wxFrame
*) 0 ;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "self", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= PyInt_FromLong((long)result
);
3111 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
;
3113 wxFrame
*arg1
= (wxFrame
*) 0 ;
3114 long arg2
= (long) -1 ;
3115 int arg3
= (int) -1 ;
3116 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3119 bool temp4
= False
;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj3
= 0 ;
3123 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3130 arg4
= wxString_in_helper(obj3
);
3131 if (arg4
== NULL
) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3143 resultobj
= wxPyMake_wxObject(result
);
3159 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxFrame
*arg1
= (wxFrame
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3165 (char *) "self", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= wxPyMake_wxObject(result
);
3186 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxFrame
*arg1
= (wxFrame
*) 0 ;
3189 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3190 PyObject
* obj0
= 0 ;
3191 PyObject
* obj1
= 0 ;
3193 (char *) "self",(char *) "toolbar", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 (arg1
)->SetToolBar(arg2
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 Py_INCREF(Py_None
); resultobj
= Py_None
;
3213 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxFrame
*arg1
= (wxFrame
*) 0 ;
3216 wxString
*arg2
= 0 ;
3218 bool temp2
= False
;
3219 PyObject
* obj0
= 0 ;
3220 PyObject
* obj1
= 0 ;
3221 PyObject
* obj2
= 0 ;
3223 (char *) "self",(char *) "text",(char *) "show", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3229 arg2
= wxString_in_helper(obj1
);
3230 if (arg2
== NULL
) SWIG_fail
;
3233 arg3
= PyInt_AsLong(obj2
) ? true : false;
3234 if (PyErr_Occurred()) SWIG_fail
;
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3242 Py_INCREF(Py_None
); resultobj
= Py_None
;
3257 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxFrame
*arg1
= (wxFrame
*) 0 ;
3260 wxMenu
*arg2
= (wxMenu
*) NULL
;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3264 (char *) "self",(char *) "menu", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->DoMenuUpdates(arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3289 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3291 return Py_BuildValue((char *)"");
3293 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 wxWindow
*arg1
= (wxWindow
*) 0 ;
3297 wxString
*arg3
= 0 ;
3298 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3299 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3300 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3301 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3302 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3303 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3304 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3306 bool temp3
= False
;
3309 bool temp7
= False
;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj2
= 0 ;
3312 PyObject
* obj3
= 0 ;
3313 PyObject
* obj4
= 0 ;
3314 PyObject
* obj6
= 0 ;
3316 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3322 arg3
= wxString_in_helper(obj2
);
3323 if (arg3
== NULL
) SWIG_fail
;
3329 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3335 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3340 arg7
= wxString_in_helper(obj6
);
3341 if (arg7
== NULL
) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3375 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 result
= (wxDialog
*)new wxDialog();
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3397 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxDialog
*arg1
= (wxDialog
*) 0 ;
3400 wxWindow
*arg2
= (wxWindow
*) 0 ;
3402 wxString
*arg4
= 0 ;
3403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3407 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3408 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3409 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3411 bool temp4
= False
;
3414 bool temp8
= False
;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3417 PyObject
* obj3
= 0 ;
3418 PyObject
* obj4
= 0 ;
3419 PyObject
* obj5
= 0 ;
3420 PyObject
* obj7
= 0 ;
3422 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3429 arg4
= wxString_in_helper(obj3
);
3430 if (arg4
== NULL
) SWIG_fail
;
3436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3442 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3447 arg8
= wxString_in_helper(obj7
);
3448 if (arg8
== NULL
) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= PyInt_FromLong((long)result
);
3482 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxDialog
*arg1
= (wxDialog
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3488 (char *) "self",(char *) "returnCode", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 (arg1
)->SetReturnCode(arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 Py_INCREF(Py_None
); resultobj
= Py_None
;
3507 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxDialog
*arg1
= (wxDialog
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3513 (char *) "self", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= PyInt_FromLong((long)result
);
3532 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxDialog
*arg1
= (wxDialog
*) 0 ;
3535 wxString
*arg2
= 0 ;
3537 bool temp2
= False
;
3538 PyObject
* obj0
= 0 ;
3539 PyObject
* obj1
= 0 ;
3541 (char *) "self",(char *) "message", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3547 arg2
= wxString_in_helper(obj1
);
3548 if (arg2
== NULL
) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= wxPyMake_wxSizer(result
);
3575 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 wxDialog
*arg1
= (wxDialog
*) 0 ;
3580 PyObject
* obj0
= 0 ;
3582 (char *) "self",(char *) "flags", NULL
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= wxPyMake_wxSizer(result
);
3603 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxDialog
*arg1
= (wxDialog
*) 0 ;
3607 PyObject
* obj0
= 0 ;
3608 PyObject
* obj1
= 0 ;
3610 (char *) "self",(char *) "flag", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3615 arg2
= PyInt_AsLong(obj1
) ? true : false;
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 (arg1
)->SetModal(arg2
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 Py_INCREF(Py_None
); resultobj
= Py_None
;
3631 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
*resultobj
;
3633 wxDialog
*arg1
= (wxDialog
*) 0 ;
3635 PyObject
* obj0
= 0 ;
3637 (char *) "self", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 resultobj
= PyInt_FromLong((long)result
);
3656 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxDialog
*arg1
= (wxDialog
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3662 (char *) "self", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (int)(arg1
)->ShowModal();
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= PyInt_FromLong((long)result
);
3681 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxDialog
*arg1
= (wxDialog
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3687 (char *) "self",(char *) "retCode", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->EndModal(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxDialog
*arg1
= (wxDialog
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= (bool)wxDialog_IsModalShowing(arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= PyInt_FromLong((long)result
);
3731 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
3733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3734 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
3736 return Py_BuildValue((char *)"");
3738 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxWindow
*arg1
= (wxWindow
*) 0 ;
3742 wxString
*arg3
= 0 ;
3743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3747 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3748 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3749 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3750 wxMiniFrame
*result
;
3751 bool temp3
= False
;
3754 bool temp7
= False
;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj2
= 0 ;
3757 PyObject
* obj3
= 0 ;
3758 PyObject
* obj4
= 0 ;
3759 PyObject
* obj6
= 0 ;
3761 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3767 arg3
= wxString_in_helper(obj2
);
3768 if (arg3
== NULL
) SWIG_fail
;
3774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3785 arg7
= wxString_in_helper(obj6
);
3786 if (arg7
== NULL
) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3820 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxMiniFrame
*result
;
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (wxMiniFrame
*)new wxMiniFrame();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3842 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
3845 wxWindow
*arg2
= (wxWindow
*) 0 ;
3847 wxString
*arg4
= 0 ;
3848 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3849 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3850 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3851 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3852 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3853 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3854 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3856 bool temp4
= False
;
3859 bool temp8
= False
;
3860 PyObject
* obj0
= 0 ;
3861 PyObject
* obj1
= 0 ;
3862 PyObject
* obj3
= 0 ;
3863 PyObject
* obj4
= 0 ;
3864 PyObject
* obj5
= 0 ;
3865 PyObject
* obj7
= 0 ;
3867 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3874 arg4
= wxString_in_helper(obj3
);
3875 if (arg4
== NULL
) SWIG_fail
;
3881 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3887 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3892 arg8
= wxString_in_helper(obj7
);
3893 if (arg8
== NULL
) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= PyInt_FromLong((long)result
);
3927 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
3929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
3932 return Py_BuildValue((char *)"");
3934 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxBitmap
*arg1
= 0 ;
3937 wxWindow
*arg2
= (wxWindow
*) 0 ;
3939 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3940 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3941 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3942 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3943 long arg6
= (long) wxNO_BORDER
;
3944 wxSplashScreenWindow
*result
;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3949 PyObject
* obj3
= 0 ;
3950 PyObject
* obj4
= 0 ;
3952 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3958 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
3987 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
3990 wxBitmap
*arg2
= 0 ;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3994 (char *) "self",(char *) "bitmap", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4001 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 Py_INCREF(Py_None
); resultobj
= Py_None
;
4017 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4023 (char *) "self", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4032 result
= (wxBitmap
*) &_result_ref
;
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4045 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4048 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4050 return Py_BuildValue((char *)"");
4052 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxBitmap
*arg1
= 0 ;
4057 wxWindow
*arg4
= (wxWindow
*) 0 ;
4059 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4060 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4061 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4062 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4063 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4064 wxSplashScreen
*result
;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj3
= 0 ;
4069 PyObject
* obj5
= 0 ;
4070 PyObject
* obj6
= 0 ;
4072 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4080 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4084 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4090 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4107 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "self", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= PyInt_FromLong((long)result
);
4132 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4135 wxSplashScreenWindow
*result
;
4136 PyObject
* obj0
= 0 ;
4138 (char *) "self", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4157 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "self", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= PyInt_FromLong((long)result
);
4182 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4185 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4187 return Py_BuildValue((char *)"");
4189 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxWindow
*arg1
= (wxWindow
*) 0 ;
4192 int arg2
= (int) -1 ;
4193 long arg3
= (long) wxST_SIZEGRIP
;
4194 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4195 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4196 wxStatusBar
*result
;
4197 bool temp4
= False
;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj3
= 0 ;
4201 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4208 arg4
= wxString_in_helper(obj3
);
4209 if (arg4
== NULL
) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= wxPyMake_wxObject(result
);
4237 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxStatusBar
*result
;
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (wxStatusBar
*)new wxStatusBar();
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= wxPyMake_wxObject(result
);
4261 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4264 wxWindow
*arg2
= (wxWindow
*) 0 ;
4266 long arg4
= (long) wxST_SIZEGRIP
;
4267 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4268 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4270 bool temp5
= False
;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj4
= 0 ;
4275 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4283 arg5
= wxString_in_helper(obj4
);
4284 if (arg5
== NULL
) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= PyInt_FromLong((long)result
);
4310 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4313 int arg2
= (int) 1 ;
4314 PyObject
* obj0
= 0 ;
4316 (char *) "self",(char *) "number", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 (arg1
)->SetFieldsCount(arg2
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 Py_INCREF(Py_None
); resultobj
= Py_None
;
4335 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4341 (char *) "self", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= PyInt_FromLong((long)result
);
4360 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4363 wxString
*arg2
= 0 ;
4364 int arg3
= (int) 0 ;
4365 bool temp2
= False
;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4369 (char *) "self",(char *) "text",(char *) "number", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4375 arg2
= wxString_in_helper(obj1
);
4376 if (arg2
== NULL
) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4404 int arg2
= (int) 0 ;
4406 PyObject
* obj0
= 0 ;
4408 (char *) "self",(char *) "number", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4433 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4436 wxString
*arg2
= 0 ;
4437 int arg3
= (int) 0 ;
4438 bool temp2
= False
;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "text",(char *) "number", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 arg2
= wxString_in_helper(obj1
);
4449 if (arg2
== NULL
) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 Py_INCREF(Py_None
); resultobj
= Py_None
;
4474 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4477 int arg2
= (int) 0 ;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "self",(char *) "number", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 (arg1
)->PopStatusText(arg2
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 Py_INCREF(Py_None
); resultobj
= Py_None
;
4499 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4501 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4503 int *arg3
= (int *) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4507 (char *) "self",(char *) "widths", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4513 arg2
= PyList_Size(obj1
);
4514 arg3
= int_LIST_helper(obj1
);
4515 if (arg3
== NULL
) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 if (arg3
) delete [] arg3
;
4531 if (arg3
) delete [] arg3
;
4537 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4542 PyObject
* obj0
= 0 ;
4544 (char *) "self",(char *) "i", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4558 resultptr
= new wxRect((wxRect
&) result
);
4559 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4567 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
*resultobj
;
4569 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4571 PyObject
* obj0
= 0 ;
4573 (char *) "self",(char *) "height", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 (arg1
)->SetMinHeight(arg2
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 Py_INCREF(Py_None
); resultobj
= Py_None
;
4592 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4598 (char *) "self", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= PyInt_FromLong((long)result
);
4617 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "self", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= PyInt_FromLong((long)result
);
4642 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4645 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4647 return Py_BuildValue((char *)"");
4649 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
4650 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
4655 static PyObject
*_wrap_SplitterNameStr_get() {
4660 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
4662 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
4669 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxWindow
*arg1
= (wxWindow
*) 0 ;
4673 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4674 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4675 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4676 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4677 long arg5
= (long) wxSP_3D
;
4678 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4679 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4680 wxSplitterWindow
*result
;
4683 bool temp6
= False
;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj2
= 0 ;
4686 PyObject
* obj3
= 0 ;
4687 PyObject
* obj5
= 0 ;
4689 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4703 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4708 arg6
= wxString_in_helper(obj5
);
4709 if (arg6
== NULL
) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4735 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxSplitterWindow
*result
;
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (wxSplitterWindow
*)new wxSplitterWindow();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4757 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4760 wxWindow
*arg2
= (wxWindow
*) 0 ;
4762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4766 long arg6
= (long) wxSP_3D
;
4767 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
4768 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4772 bool temp7
= False
;
4773 PyObject
* obj0
= 0 ;
4774 PyObject
* obj1
= 0 ;
4775 PyObject
* obj3
= 0 ;
4776 PyObject
* obj4
= 0 ;
4777 PyObject
* obj6
= 0 ;
4779 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4799 arg7
= wxString_in_helper(obj6
);
4800 if (arg7
== NULL
) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= PyInt_FromLong((long)result
);
4826 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4830 PyObject
* obj0
= 0 ;
4832 (char *) "self", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= wxPyMake_wxObject(result
);
4853 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4859 (char *) "self", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= wxPyMake_wxObject(result
);
4880 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self",(char *) "mode", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 (arg1
)->SetSplitMode(arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 Py_INCREF(Py_None
); resultobj
= Py_None
;
4905 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4909 PyObject
* obj0
= 0 ;
4911 (char *) "self", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
4915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= PyInt_FromLong((long)result
);
4930 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4933 wxWindow
*arg2
= (wxWindow
*) 0 ;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4937 (char *) "self",(char *) "window", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 (arg1
)->Initialize(arg2
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4957 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4960 wxWindow
*arg2
= (wxWindow
*) 0 ;
4961 wxWindow
*arg3
= (wxWindow
*) 0 ;
4962 int arg4
= (int) 0 ;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4966 PyObject
* obj2
= 0 ;
4968 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4974 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= PyInt_FromLong((long)result
);
4989 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4992 wxWindow
*arg2
= (wxWindow
*) 0 ;
4993 wxWindow
*arg3
= (wxWindow
*) 0 ;
4994 int arg4
= (int) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 PyObject
* obj2
= 0 ;
5000 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5006 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= PyInt_FromLong((long)result
);
5021 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5024 wxWindow
*arg2
= (wxWindow
*) NULL
;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5029 (char *) "self",(char *) "toRemove", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (bool)(arg1
)->Unsplit(arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= PyInt_FromLong((long)result
);
5051 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5054 wxWindow
*arg2
= (wxWindow
*) 0 ;
5055 wxWindow
*arg3
= (wxWindow
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5059 PyObject
* obj2
= 0 ;
5061 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5067 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= PyInt_FromLong((long)result
);
5082 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5088 (char *) "self", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= PyInt_FromLong((long)result
);
5107 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5111 PyObject
* obj0
= 0 ;
5113 (char *) "self",(char *) "width", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->SetSashSize(arg2
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 Py_INCREF(Py_None
); resultobj
= Py_None
;
5132 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "self",(char *) "width", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 (arg1
)->SetBorderSize(arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 Py_INCREF(Py_None
); resultobj
= Py_None
;
5157 static PyObject
*_wrap_SplitterWindow_GetSashSize(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_GetSashSize",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
)->GetSashSize();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= PyInt_FromLong((long)result
);
5182 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5188 (char *) "self", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= PyInt_FromLong((long)result
);
5207 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5211 bool arg3
= (bool) True
;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj2
= 0 ;
5215 (char *) "self",(char *) "position",(char *) "redraw", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5221 arg3
= PyInt_AsLong(obj2
) ? true : false;
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 (arg1
)->SetSashPosition(arg2
,arg3
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 Py_INCREF(Py_None
); resultobj
= Py_None
;
5238 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5242 PyObject
* obj0
= 0 ;
5244 (char *) "self", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= PyInt_FromLong((long)result
);
5263 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5269 (char *) "self",(char *) "min", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 (arg1
)->SetMinimumPaneSize(arg2
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5294 (char *) "self", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= PyInt_FromLong((long)result
);
5313 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5318 int arg4
= (int) 5 ;
5320 PyObject
* obj0
= 0 ;
5322 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= PyInt_FromLong((long)result
);
5341 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5344 PyObject
* obj0
= 0 ;
5346 (char *) "self", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 (arg1
)->SizeWindows();
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 Py_INCREF(Py_None
); resultobj
= Py_None
;
5365 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5372 (char *) "self",(char *) "needUpdating", NULL
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5377 arg2
= PyInt_AsLong(obj1
) ? true : false;
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->SetNeedUpdating(arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= PyInt_FromLong((long)result
);
5418 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5421 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5423 return Py_BuildValue((char *)"");
5425 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5428 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5429 wxSplitterEvent
*result
;
5430 PyObject
* obj1
= 0 ;
5432 (char *) "type",(char *) "splitter", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5453 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5459 (char *) "self",(char *) "pos", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetSashPosition(arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5478 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "self", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= PyInt_FromLong((long)result
);
5503 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= wxPyMake_wxObject(result
);
5530 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= PyInt_FromLong((long)result
);
5555 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= PyInt_FromLong((long)result
);
5580 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5585 return Py_BuildValue((char *)"");
5587 static int _wrap_SashNameStr_set(PyObject
*_val
) {
5588 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
5593 static PyObject
*_wrap_SashNameStr_get() {
5598 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
5600 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
5607 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
5608 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
5613 static PyObject
*_wrap_SashLayoutNameStr_get() {
5618 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
5620 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
5627 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxWindow
*arg1
= (wxWindow
*) 0 ;
5631 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5632 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5633 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5634 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5635 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5636 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5637 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5638 wxSashWindow
*result
;
5641 bool temp6
= False
;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj2
= 0 ;
5644 PyObject
* obj3
= 0 ;
5645 PyObject
* obj5
= 0 ;
5647 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5655 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5661 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5666 arg6
= wxString_in_helper(obj5
);
5667 if (arg6
== NULL
) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5693 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxSashWindow
*result
;
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (wxSashWindow
*)new wxSashWindow();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5715 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5718 wxWindow
*arg2
= (wxWindow
*) 0 ;
5720 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5721 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5722 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5723 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5724 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5725 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5726 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5730 bool temp7
= False
;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5733 PyObject
* obj3
= 0 ;
5734 PyObject
* obj4
= 0 ;
5735 PyObject
* obj6
= 0 ;
5737 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5742 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5757 arg7
= wxString_in_helper(obj6
);
5758 if (arg7
== NULL
) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= PyInt_FromLong((long)result
);
5784 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj2
= 0 ;
5792 (char *) "self",(char *) "edge",(char *) "sash", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5797 arg3
= PyInt_AsLong(obj2
) ? true : false;
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self",(char *) "edge", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= PyInt_FromLong((long)result
);
5839 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj2
= 0 ;
5847 (char *) "self",(char *) "edge",(char *) "border", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5852 arg3
= PyInt_AsLong(obj2
) ? true : false;
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 Py_INCREF(Py_None
); resultobj
= Py_None
;
5868 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "self",(char *) "edge", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= PyInt_FromLong((long)result
);
5894 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5901 (char *) "self",(char *) "edge", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
5905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= PyInt_FromLong((long)result
);
5920 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "self",(char *) "width", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 (arg1
)->SetDefaultBorderSize(arg2
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 Py_INCREF(Py_None
); resultobj
= Py_None
;
5945 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5951 (char *) "self", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= PyInt_FromLong((long)result
);
5970 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5974 PyObject
* obj0
= 0 ;
5976 (char *) "self",(char *) "width", NULL
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 (arg1
)->SetExtraBorderSize(arg2
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 Py_INCREF(Py_None
); resultobj
= Py_None
;
5995 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6001 (char *) "self", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= PyInt_FromLong((long)result
);
6020 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6026 (char *) "self",(char *) "min", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 (arg1
)->SetMinimumSizeX(arg2
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 Py_INCREF(Py_None
); resultobj
= Py_None
;
6045 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6049 PyObject
* obj0
= 0 ;
6051 (char *) "self",(char *) "min", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 (arg1
)->SetMinimumSizeY(arg2
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 Py_INCREF(Py_None
); resultobj
= Py_None
;
6070 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6074 PyObject
* obj0
= 0 ;
6076 (char *) "self", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= PyInt_FromLong((long)result
);
6095 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6101 (char *) "self", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= PyInt_FromLong((long)result
);
6120 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6124 PyObject
* obj0
= 0 ;
6126 (char *) "self",(char *) "max", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 (arg1
)->SetMaximumSizeX(arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6151 (char *) "self",(char *) "max", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 (arg1
)->SetMaximumSizeY(arg2
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 Py_INCREF(Py_None
); resultobj
= Py_None
;
6170 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6176 (char *) "self", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= PyInt_FromLong((long)result
);
6195 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= PyInt_FromLong((long)result
);
6220 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6225 int arg4
= (int) 2 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= PyInt_FromLong((long)result
);
6248 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 (char *) "self", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 (arg1
)->SizeWindows();
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 Py_INCREF(Py_None
); resultobj
= Py_None
;
6272 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6275 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6277 return Py_BuildValue((char *)"");
6279 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 int arg1
= (int) 0 ;
6282 int arg2
= (int) wxSASH_NONE
;
6283 wxSashEvent
*result
;
6285 (char *) "id",(char *) "edge", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6303 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "self",(char *) "edge", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 Py_INCREF(Py_None
); resultobj
= Py_None
;
6328 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "self", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= PyInt_FromLong((long)result
);
6353 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6358 PyObject
* obj0
= 0 ;
6359 PyObject
* obj1
= 0 ;
6361 (char *) "self",(char *) "rect", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 Py_INCREF(Py_None
); resultobj
= Py_None
;
6384 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6390 (char *) "self", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6404 resultptr
= new wxRect((wxRect
&) result
);
6405 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6413 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self",(char *) "status", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 Py_INCREF(Py_None
); resultobj
= Py_None
;
6438 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 resultobj
= PyInt_FromLong((long)result
);
6463 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6466 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6468 return Py_BuildValue((char *)"");
6470 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 int arg1
= (int) 0 ;
6473 wxQueryLayoutInfoEvent
*result
;
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6493 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self",(char *) "length", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 (arg1
)->SetRequestedLength(arg2
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 Py_INCREF(Py_None
); resultobj
= Py_None
;
6518 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6524 (char *) "self", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= PyInt_FromLong((long)result
);
6543 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6549 (char *) "self",(char *) "flags", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 (arg1
)->SetFlags(arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6568 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6574 (char *) "self", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= PyInt_FromLong((long)result
);
6593 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6599 PyObject
* obj1
= 0 ;
6601 (char *) "self",(char *) "size", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6608 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 (arg1
)->SetSize((wxSize
const &)*arg2
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 Py_INCREF(Py_None
); resultobj
= Py_None
;
6624 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
;
6626 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6630 (char *) "self", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6644 resultptr
= new wxSize((wxSize
&) result
);
6645 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6653 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6659 (char *) "self",(char *) "orient", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6684 (char *) "self", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= PyInt_FromLong((long)result
);
6703 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6707 PyObject
* obj0
= 0 ;
6709 (char *) "self",(char *) "align", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 Py_INCREF(Py_None
); resultobj
= Py_None
;
6728 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6734 (char *) "self", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= PyInt_FromLong((long)result
);
6753 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6756 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
6758 return Py_BuildValue((char *)"");
6760 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 int arg1
= (int) 0 ;
6763 wxCalculateLayoutEvent
*result
;
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
6783 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6787 PyObject
* obj0
= 0 ;
6789 (char *) "self",(char *) "flags", NULL
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 (arg1
)->SetFlags(arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 Py_INCREF(Py_None
); resultobj
= Py_None
;
6808 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6812 PyObject
* obj0
= 0 ;
6814 (char *) "self", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= PyInt_FromLong((long)result
);
6833 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6841 (char *) "self",(char *) "rect", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6848 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 (arg1
)->SetRect((wxRect
const &)*arg2
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 Py_INCREF(Py_None
); resultobj
= Py_None
;
6864 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "self", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6884 resultptr
= new wxRect((wxRect
&) result
);
6885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6893 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6896 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
6898 return Py_BuildValue((char *)"");
6900 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxWindow
*arg1
= (wxWindow
*) 0 ;
6904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6908 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6909 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
6910 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6911 wxSashLayoutWindow
*result
;
6914 bool temp6
= False
;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj2
= 0 ;
6917 PyObject
* obj3
= 0 ;
6918 PyObject
* obj5
= 0 ;
6920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6928 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6934 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6939 arg6
= wxString_in_helper(obj5
);
6940 if (arg6
== NULL
) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6966 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxSashLayoutWindow
*result
;
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6988 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6991 wxWindow
*arg2
= (wxWindow
*) 0 ;
6993 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6994 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6995 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6996 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6997 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6998 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
6999 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7003 bool temp7
= False
;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7006 PyObject
* obj3
= 0 ;
7007 PyObject
* obj4
= 0 ;
7008 PyObject
* obj6
= 0 ;
7010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7025 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7030 arg7
= wxString_in_helper(obj6
);
7031 if (arg7
== NULL
) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= PyInt_FromLong((long)result
);
7057 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7061 PyObject
* obj0
= 0 ;
7063 (char *) "self", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (int)(arg1
)->GetAlignment();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= PyInt_FromLong((long)result
);
7082 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7088 (char *) "self", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= (int)(arg1
)->GetOrientation();
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= PyInt_FromLong((long)result
);
7107 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7113 (char *) "self",(char *) "alignment", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 Py_INCREF(Py_None
); resultobj
= Py_None
;
7132 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7140 (char *) "self",(char *) "size", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7147 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 Py_INCREF(Py_None
); resultobj
= Py_None
;
7163 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7169 (char *) "self",(char *) "orientation", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7191 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7193 return Py_BuildValue((char *)"");
7195 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxLayoutAlgorithm
*result
;
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7217 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7220 PyObject
* obj0
= 0 ;
7222 (char *) "self", NULL
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 Py_INCREF(Py_None
); resultobj
= Py_None
;
7241 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7244 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7245 wxRect
*arg3
= (wxRect
*) NULL
;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7249 PyObject
* obj2
= 0 ;
7251 (char *) "self",(char *) "frame",(char *) "rect", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7258 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= PyInt_FromLong((long)result
);
7274 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7277 wxFrame
*arg2
= (wxFrame
*) 0 ;
7278 wxWindow
*arg3
= (wxWindow
*) NULL
;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 PyObject
* obj2
= 0 ;
7284 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7291 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= PyInt_FromLong((long)result
);
7307 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7310 wxWindow
*arg2
= (wxWindow
*) 0 ;
7311 wxWindow
*arg3
= (wxWindow
*) NULL
;
7313 PyObject
* obj0
= 0 ;
7314 PyObject
* obj1
= 0 ;
7315 PyObject
* obj2
= 0 ;
7317 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7324 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= PyInt_FromLong((long)result
);
7340 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7343 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7345 return Py_BuildValue((char *)"");
7347 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxWindow
*arg1
= (wxWindow
*) 0 ;
7350 int arg2
= (int) wxBORDER_NONE
;
7351 wxPopupWindow
*result
;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "parent",(char *) "flags", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7373 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxPopupWindow
*result
;
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (wxPopupWindow
*)new wxPopupWindow();
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7395 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7398 wxWindow
*arg2
= (wxWindow
*) 0 ;
7399 int arg3
= (int) wxBORDER_NONE
;
7401 PyObject
* obj0
= 0 ;
7402 PyObject
* obj1
= 0 ;
7404 (char *) "self",(char *) "parent",(char *) "flags", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= PyInt_FromLong((long)result
);
7424 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7432 PyObject
* obj1
= 0 ;
7433 PyObject
* obj2
= 0 ;
7435 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7446 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 Py_INCREF(Py_None
); resultobj
= Py_None
;
7462 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7465 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7467 return Py_BuildValue((char *)"");
7469 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxWindow
*arg1
= (wxWindow
*) 0 ;
7472 int arg2
= (int) wxBORDER_NONE
;
7473 wxPyPopupTransientWindow
*result
;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "parent",(char *) "style", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7495 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxPyPopupTransientWindow
*result
;
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7517 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7520 PyObject
*arg2
= (PyObject
*) 0 ;
7521 PyObject
*arg3
= (PyObject
*) 0 ;
7522 PyObject
* obj0
= 0 ;
7523 PyObject
* obj1
= 0 ;
7524 PyObject
* obj2
= 0 ;
7526 (char *) "self",(char *) "self",(char *) "_class", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 Py_INCREF(Py_None
); resultobj
= Py_None
;
7547 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7550 wxWindow
*arg2
= (wxWindow
*) NULL
;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7554 (char *) "self",(char *) "focus", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 (arg1
)->Popup(arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 Py_INCREF(Py_None
); resultobj
= Py_None
;
7576 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7581 (char *) "self", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 Py_INCREF(Py_None
); resultobj
= Py_None
;
7600 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7603 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7605 return Py_BuildValue((char *)"");
7607 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxWindow
*arg1
= (wxWindow
*) 0 ;
7610 wxString
*arg2
= 0 ;
7611 int arg3
= (int) 100 ;
7612 wxRect
*arg4
= (wxRect
*) NULL
;
7613 wxTipWindow
*result
;
7614 bool temp2
= False
;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj3
= 0 ;
7619 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7625 arg2
= wxString_in_helper(obj1
);
7626 if (arg2
== NULL
) SWIG_fail
;
7630 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7654 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7660 PyObject
* obj1
= 0 ;
7662 (char *) "self",(char *) "rectBound", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7669 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 Py_INCREF(Py_None
); resultobj
= Py_None
;
7685 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7712 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7714 return Py_BuildValue((char *)"");
7716 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxWindow
*arg1
= (wxWindow
*) 0 ;
7719 int arg2
= (int) wxID_ANY
;
7720 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7721 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7722 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7723 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7724 long arg5
= (long) 0 ;
7725 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7726 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7727 wxPyVScrolledWindow
*result
;
7730 bool temp6
= False
;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj2
= 0 ;
7733 PyObject
* obj3
= 0 ;
7734 PyObject
* obj5
= 0 ;
7736 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7755 arg6
= wxString_in_helper(obj5
);
7756 if (arg6
== NULL
) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7782 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxPyVScrolledWindow
*result
;
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7804 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7807 PyObject
*arg2
= (PyObject
*) 0 ;
7808 PyObject
*arg3
= (PyObject
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7811 PyObject
* obj2
= 0 ;
7813 (char *) "self",(char *) "self",(char *) "_class", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7837 wxWindow
*arg2
= (wxWindow
*) 0 ;
7838 int arg3
= (int) wxID_ANY
;
7839 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7840 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7841 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7842 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7843 long arg6
= (long) 0 ;
7844 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7845 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7849 bool temp7
= False
;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7852 PyObject
* obj3
= 0 ;
7853 PyObject
* obj4
= 0 ;
7854 PyObject
* obj6
= 0 ;
7856 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7876 arg7
= wxString_in_helper(obj6
);
7877 if (arg7
== NULL
) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= PyInt_FromLong((long)result
);
7903 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7910 (char *) "self",(char *) "count", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7915 arg2
= (size_t) PyInt_AsLong(obj1
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 (arg1
)->SetLineCount(arg2
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 Py_INCREF(Py_None
); resultobj
= Py_None
;
7931 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7939 (char *) "self",(char *) "line", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7944 arg2
= (size_t) PyInt_AsLong(obj1
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (bool)(arg1
)->ScrollToLine(arg2
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= PyInt_FromLong((long)result
);
7960 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "self",(char *) "lines", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
7971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (bool)(arg1
)->ScrollLines(arg2
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= PyInt_FromLong((long)result
);
7986 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7991 PyObject
* obj0
= 0 ;
7993 (char *) "self",(char *) "pages", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (bool)(arg1
)->ScrollPages(arg2
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= PyInt_FromLong((long)result
);
8012 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8017 PyObject
* obj1
= 0 ;
8019 (char *) "self",(char *) "line", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8024 arg2
= (size_t) PyInt_AsLong(obj1
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 (arg1
)->RefreshLine(arg2
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8046 PyObject
* obj1
= 0 ;
8047 PyObject
* obj2
= 0 ;
8049 (char *) "self",(char *) "from",(char *) "to", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8054 arg2
= (size_t) PyInt_AsLong(obj1
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8056 arg3
= (size_t) PyInt_AsLong(obj2
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->RefreshLines(arg2
,arg3
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self",(char *) "x",(char *) "y", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= PyInt_FromLong((long)result
);
8099 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8108 (char *) "self",(char *) "pt", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyInt_FromLong((long)result
);
8131 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 (arg1
)->RefreshAll();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "self", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= PyInt_FromLong((long)result
);
8180 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= PyInt_FromLong((long)result
);
8205 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8209 PyObject
* obj0
= 0 ;
8211 (char *) "self", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= PyInt_FromLong((long)result
);
8230 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8238 (char *) "self",(char *) "line", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8243 arg2
= (size_t) PyInt_AsLong(obj1
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 resultobj
= PyInt_FromLong((long)result
);
8259 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8262 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8264 return Py_BuildValue((char *)"");
8266 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
8267 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
8272 static PyObject
*_wrap_VListBoxNameStr_get() {
8277 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
8279 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
8286 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxWindow
*arg1
= (wxWindow
*) 0 ;
8289 int arg2
= (int) wxID_ANY
;
8290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8294 long arg5
= (long) 0 ;
8295 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8296 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8297 wxPyVListBox
*result
;
8300 bool temp6
= False
;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj2
= 0 ;
8303 PyObject
* obj3
= 0 ;
8304 PyObject
* obj5
= 0 ;
8306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8314 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8320 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8325 arg6
= wxString_in_helper(obj5
);
8326 if (arg6
== NULL
) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8352 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxPyVListBox
*result
;
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (wxPyVListBox
*)new wxPyVListBox();
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8374 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8377 PyObject
*arg2
= (PyObject
*) 0 ;
8378 PyObject
*arg3
= (PyObject
*) 0 ;
8379 PyObject
* obj0
= 0 ;
8380 PyObject
* obj1
= 0 ;
8381 PyObject
* obj2
= 0 ;
8383 (char *) "self",(char *) "self",(char *) "_class", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8407 wxWindow
*arg2
= (wxWindow
*) 0 ;
8408 int arg3
= (int) wxID_ANY
;
8409 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8410 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8411 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8412 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8413 long arg6
= (long) 0 ;
8414 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8415 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8419 bool temp7
= False
;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8422 PyObject
* obj3
= 0 ;
8423 PyObject
* obj4
= 0 ;
8424 PyObject
* obj6
= 0 ;
8426 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8435 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8441 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8446 arg7
= wxString_in_helper(obj6
);
8447 if (arg7
== NULL
) SWIG_fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= PyInt_FromLong((long)result
);
8473 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8479 (char *) "self", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= PyInt_FromLong((long)result
);
8498 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8504 (char *) "self", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= PyInt_FromLong((long)result
);
8523 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= PyInt_FromLong((long)result
);
8548 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj1
= 0 ;
8556 (char *) "self",(char *) "item", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8561 arg2
= (size_t) PyInt_AsLong(obj1
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= PyInt_FromLong((long)result
);
8577 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8585 (char *) "self",(char *) "item", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8590 arg2
= (size_t) PyInt_AsLong(obj1
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= PyInt_FromLong((long)result
);
8606 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8610 PyObject
* obj0
= 0 ;
8612 (char *) "self", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= PyInt_FromLong((long)result
);
8631 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8634 unsigned long *arg2
= 0 ;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8639 (char *) "self",(char *) "cookie", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= PyInt_FromLong((long)result
);
8662 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8665 unsigned long *arg2
= 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8670 (char *) "self",(char *) "cookie", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= PyInt_FromLong((long)result
);
8693 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8697 PyObject
* obj0
= 0 ;
8699 (char *) "self", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 wxPoint
* resultptr
;
8713 resultptr
= new wxPoint((wxPoint
&) result
);
8714 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8722 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8726 PyObject
* obj0
= 0 ;
8728 (char *) "self", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8737 result
= (wxColour
*) &_result_ref
;
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8750 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8757 (char *) "self",(char *) "count", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8762 arg2
= (size_t) PyInt_AsLong(obj1
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->SetItemCount(arg2
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 Py_INCREF(Py_None
); resultobj
= Py_None
;
8802 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8806 PyObject
* obj0
= 0 ;
8808 (char *) "self",(char *) "selection", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 (arg1
)->SetSelection(arg2
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 Py_INCREF(Py_None
); resultobj
= Py_None
;
8827 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8831 bool arg3
= (bool) True
;
8833 PyObject
* obj0
= 0 ;
8834 PyObject
* obj1
= 0 ;
8835 PyObject
* obj2
= 0 ;
8837 (char *) "self",(char *) "item",(char *) "select", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8842 arg2
= (size_t) PyInt_AsLong(obj1
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 arg3
= PyInt_AsLong(obj2
) ? true : false;
8846 if (PyErr_Occurred()) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= PyInt_FromLong((long)result
);
8862 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8870 PyObject
* obj2
= 0 ;
8872 (char *) "self",(char *) "from",(char *) "to", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8877 arg2
= (size_t) PyInt_AsLong(obj1
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8879 arg3
= (size_t) PyInt_AsLong(obj2
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= PyInt_FromLong((long)result
);
8895 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8899 PyObject
* obj0
= 0 ;
8900 PyObject
* obj1
= 0 ;
8902 (char *) "self",(char *) "item", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8907 arg2
= (size_t) PyInt_AsLong(obj1
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 (arg1
)->Toggle(arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (bool)(arg1
)->SelectAll();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= PyInt_FromLong((long)result
);
8948 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8954 (char *) "self", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (bool)(arg1
)->DeselectAll();
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= PyInt_FromLong((long)result
);
8973 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "self",(char *) "pt", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8988 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self",(char *) "x",(char *) "y", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 (arg1
)->SetMargins(arg2
,arg3
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 Py_INCREF(Py_None
); resultobj
= Py_None
;
9030 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9033 wxColour
*arg2
= 0 ;
9035 PyObject
* obj0
= 0 ;
9036 PyObject
* obj1
= 0 ;
9038 (char *) "self",(char *) "col", NULL
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 Py_INCREF(Py_None
); resultobj
= Py_None
;
9061 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9064 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9066 return Py_BuildValue((char *)"");
9068 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxWindow
*arg1
= (wxWindow
*) 0 ;
9071 int arg2
= (int) wxID_ANY
;
9072 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9073 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9074 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9075 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9076 long arg5
= (long) 0 ;
9077 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9078 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9079 wxPyHtmlListBox
*result
;
9082 bool temp6
= False
;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj2
= 0 ;
9085 PyObject
* obj3
= 0 ;
9086 PyObject
* obj5
= 0 ;
9088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9107 arg6
= wxString_in_helper(obj5
);
9108 if (arg6
== NULL
) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9134 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxPyHtmlListBox
*result
;
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9156 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9159 PyObject
*arg2
= (PyObject
*) 0 ;
9160 PyObject
*arg3
= (PyObject
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9162 PyObject
* obj1
= 0 ;
9163 PyObject
* obj2
= 0 ;
9165 (char *) "self",(char *) "self",(char *) "_class", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9189 wxWindow
*arg2
= (wxWindow
*) 0 ;
9190 int arg3
= (int) wxID_ANY
;
9191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9195 long arg6
= (long) 0 ;
9196 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9201 bool temp7
= False
;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 PyObject
* obj3
= 0 ;
9205 PyObject
* obj4
= 0 ;
9206 PyObject
* obj6
= 0 ;
9208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9228 arg7
= wxString_in_helper(obj6
);
9229 if (arg7
== NULL
) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= PyInt_FromLong((long)result
);
9255 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9260 (char *) "self", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 (arg1
)->RefreshAll();
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 Py_INCREF(Py_None
); resultobj
= Py_None
;
9279 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9286 (char *) "self",(char *) "count", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9291 arg2
= (size_t) PyInt_AsLong(obj1
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 (arg1
)->SetItemCount(arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 Py_INCREF(Py_None
); resultobj
= Py_None
;
9307 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9310 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9312 return Py_BuildValue((char *)"");
9314 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxTaskBarIcon
*result
;
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9336 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9339 PyObject
* obj0
= 0 ;
9341 (char *) "self", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 Py_INCREF(Py_None
); resultobj
= Py_None
;
9360 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= PyInt_FromLong((long)result
);
9385 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= PyInt_FromLong((long)result
);
9410 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9414 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9415 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9417 bool temp3
= False
;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 PyObject
* obj2
= 0 ;
9422 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9433 arg3
= wxString_in_helper(obj2
);
9434 if (arg3
== NULL
) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= PyInt_FromLong((long)result
);
9460 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (bool)(arg1
)->RemoveIcon();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= PyInt_FromLong((long)result
);
9485 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9488 wxMenu
*arg2
= (wxMenu
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9493 (char *) "self",(char *) "menu", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (bool)(arg1
)->PopupMenu(arg2
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= PyInt_FromLong((long)result
);
9513 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9516 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9518 return Py_BuildValue((char *)"");
9520 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9523 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9524 wxTaskBarIconEvent
*result
;
9525 PyObject
* obj1
= 0 ;
9527 (char *) "evtType",(char *) "tbIcon", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9546 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9549 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9551 return Py_BuildValue((char *)"");
9553 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
9554 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
9559 static PyObject
*_wrap_FileSelectorPromptStr_get() {
9564 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
9566 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
9573 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
9574 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
9579 static PyObject
*_wrap_DirSelectorPromptStr_get() {
9584 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
9586 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
9593 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
9594 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
9599 static PyObject
*_wrap_DirDialogNameStr_get() {
9604 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
9606 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
9613 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
9614 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
9619 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
9624 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
9626 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
9633 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
9634 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
9639 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
9644 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
9646 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
9653 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
9654 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
9659 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
9664 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
9666 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
9673 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxColourData
*result
;
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (wxColourData
*)new wxColourData();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9695 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxColourData
*arg1
= (wxColourData
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9700 (char *) "self", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 Py_INCREF(Py_None
); resultobj
= Py_None
;
9719 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxColourData
*arg1
= (wxColourData
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9725 (char *) "self", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (bool)(arg1
)->GetChooseFull();
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= PyInt_FromLong((long)result
);
9744 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxColourData
*arg1
= (wxColourData
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (arg1
)->GetColour();
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 wxColour
* resultptr
;
9764 resultptr
= new wxColour((wxColour
&) result
);
9765 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9773 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxColourData
*arg1
= (wxColourData
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9780 (char *) "self",(char *) "i", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (arg1
)->GetCustomColour(arg2
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 wxColour
* resultptr
;
9794 resultptr
= new wxColour((wxColour
&) result
);
9795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9803 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxColourData
*arg1
= (wxColourData
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self",(char *) "flag", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 (arg1
)->SetChooseFull(arg2
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 Py_INCREF(Py_None
); resultobj
= Py_None
;
9828 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxColourData
*arg1
= (wxColourData
*) 0 ;
9831 wxColour
*arg2
= 0 ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9836 (char *) "self",(char *) "colour", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 (arg1
)->SetColour((wxColour
const &)*arg2
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 Py_INCREF(Py_None
); resultobj
= Py_None
;
9859 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxColourData
*arg1
= (wxColourData
*) 0 ;
9863 wxColour
*arg3
= 0 ;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj2
= 0 ;
9868 (char *) "self",(char *) "i",(char *) "colour", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9875 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 Py_INCREF(Py_None
); resultobj
= Py_None
;
9891 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9894 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9896 return Py_BuildValue((char *)"");
9898 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxWindow
*arg1
= (wxWindow
*) 0 ;
9901 wxColourData
*arg2
= (wxColourData
*) NULL
;
9902 wxColourDialog
*result
;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj1
= 0 ;
9906 (char *) "parent",(char *) "data", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9928 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9931 wxColourData
*result
;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxColourData
&_result_ref
= (arg1
)->GetColourData();
9943 result
= (wxColourData
*) &_result_ref
;
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
9956 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (int)(arg1
)->ShowModal();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= PyInt_FromLong((long)result
);
9981 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
9983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9984 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
9986 return Py_BuildValue((char *)"");
9988 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxWindow
*arg1
= (wxWindow
*) 0 ;
9991 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
9992 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9993 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9994 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9995 long arg4
= (long) 0 ;
9996 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9997 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9998 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9999 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10000 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10002 wxDirDialog
*result
;
10003 bool temp2
= False
;
10004 bool temp3
= False
;
10007 bool temp7
= False
;
10008 PyObject
* obj0
= 0 ;
10009 PyObject
* obj1
= 0 ;
10010 PyObject
* obj2
= 0 ;
10011 PyObject
* obj4
= 0 ;
10012 PyObject
* obj5
= 0 ;
10013 PyObject
* obj6
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10022 arg2
= wxString_in_helper(obj1
);
10023 if (arg2
== NULL
) SWIG_fail
;
10029 arg3
= wxString_in_helper(obj2
);
10030 if (arg3
== NULL
) SWIG_fail
;
10037 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10043 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10048 arg7
= wxString_in_helper(obj6
);
10049 if (arg7
== NULL
) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
10091 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (arg1
)->GetPath();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10122 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10126 PyObject
* obj0
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (arg1
)->GetMessage();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10153 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (long)(arg1
)->GetStyle();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= PyInt_FromLong((long)result
);
10178 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10181 wxString
*arg2
= 0 ;
10182 bool temp2
= False
;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "message", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10192 arg2
= wxString_in_helper(obj1
);
10193 if (arg2
== NULL
) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 (arg1
)->SetMessage((wxString
const &)*arg2
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10221 wxString
*arg2
= 0 ;
10222 bool temp2
= False
;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "path", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10232 arg2
= wxString_in_helper(obj1
);
10233 if (arg2
== NULL
) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 (arg1
)->SetPath((wxString
const &)*arg2
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (int)(arg1
)->ShowModal();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= PyInt_FromLong((long)result
);
10283 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10286 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10288 return Py_BuildValue((char *)"");
10290 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxWindow
*arg1
= (wxWindow
*) 0 ;
10293 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10294 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10295 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10296 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10297 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10298 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10299 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10300 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10301 long arg6
= (long) 0 ;
10302 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10303 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10304 wxFileDialog
*result
;
10305 bool temp2
= False
;
10306 bool temp3
= False
;
10307 bool temp4
= False
;
10308 bool temp5
= False
;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 PyObject
* obj2
= 0 ;
10313 PyObject
* obj3
= 0 ;
10314 PyObject
* obj4
= 0 ;
10315 PyObject
* obj6
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10324 arg2
= wxString_in_helper(obj1
);
10325 if (arg2
== NULL
) SWIG_fail
;
10331 arg3
= wxString_in_helper(obj2
);
10332 if (arg3
== NULL
) SWIG_fail
;
10338 arg4
= wxString_in_helper(obj3
);
10339 if (arg4
== NULL
) SWIG_fail
;
10345 arg5
= wxString_in_helper(obj4
);
10346 if (arg5
== NULL
) SWIG_fail
;
10353 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10402 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10405 wxString
*arg2
= 0 ;
10406 bool temp2
= False
;
10407 PyObject
* obj0
= 0 ;
10408 PyObject
* obj1
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self",(char *) "message", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10416 arg2
= wxString_in_helper(obj1
);
10417 if (arg2
== NULL
) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 (arg1
)->SetMessage((wxString
const &)*arg2
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 Py_INCREF(Py_None
); resultobj
= Py_None
;
10442 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10445 wxString
*arg2
= 0 ;
10446 bool temp2
= False
;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self",(char *) "path", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10456 arg2
= wxString_in_helper(obj1
);
10457 if (arg2
== NULL
) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 (arg1
)->SetPath((wxString
const &)*arg2
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10485 wxString
*arg2
= 0 ;
10486 bool temp2
= False
;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self",(char *) "dir", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10496 arg2
= wxString_in_helper(obj1
);
10497 if (arg2
== NULL
) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 Py_INCREF(Py_None
); resultobj
= Py_None
;
10522 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
;
10524 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10525 wxString
*arg2
= 0 ;
10526 bool temp2
= False
;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "name", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10536 arg2
= wxString_in_helper(obj1
);
10537 if (arg2
== NULL
) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 (arg1
)->SetFilename((wxString
const &)*arg2
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 Py_INCREF(Py_None
); resultobj
= Py_None
;
10562 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10565 wxString
*arg2
= 0 ;
10566 bool temp2
= False
;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self",(char *) "wildCard", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10576 arg2
= wxString_in_helper(obj1
);
10577 if (arg2
== NULL
) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self",(char *) "style", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 (arg1
)->SetStyle(arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 Py_INCREF(Py_None
); resultobj
= Py_None
;
10627 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10631 PyObject
* obj0
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "filterIndex", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 (arg1
)->SetFilterIndex(arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 Py_INCREF(Py_None
); resultobj
= Py_None
;
10652 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10656 PyObject
* obj0
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10683 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10714 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
*resultobj
;
10716 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10745 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10776 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10807 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= PyInt_FromLong((long)result
);
10832 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
;
10834 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= PyInt_FromLong((long)result
);
10857 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= result
;
10882 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 resultobj
= result
;
10907 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10910 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10912 return Py_BuildValue((char *)"");
10914 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxWindow
*arg1
= (wxWindow
*) 0 ;
10917 wxString
*arg2
= 0 ;
10918 wxString
*arg3
= 0 ;
10920 wxString
*arg5
= (wxString
*) 0 ;
10921 long arg6
= (long) wxCHOICEDLG_STYLE
;
10922 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10923 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10924 wxMultiChoiceDialog
*result
;
10925 bool temp2
= False
;
10926 bool temp3
= False
;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 PyObject
* obj4
= 0 ;
10932 PyObject
* obj6
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10940 arg2
= wxString_in_helper(obj1
);
10941 if (arg2
== NULL
) SWIG_fail
;
10945 arg3
= wxString_in_helper(obj2
);
10946 if (arg3
== NULL
) SWIG_fail
;
10949 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10953 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
10986 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10989 wxArrayInt
*arg2
= 0 ;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self",(char *) "selections", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10999 if (! PySequence_Check(obj1
)) {
11000 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11003 arg2
= new wxArrayInt
;
11004 int i
, len
=PySequence_Length(obj1
);
11005 for (i
=0; i
<len
; i
++) {
11006 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11007 PyObject
* number
= PyNumber_Int(item
);
11008 arg2
->Add(PyInt_AS_LONG(number
));
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 Py_INCREF(Py_None
); resultobj
= Py_None
;
11022 if (arg2
) delete arg2
;
11027 if (arg2
) delete arg2
;
11033 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= result
;
11058 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11061 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11063 return Py_BuildValue((char *)"");
11065 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxWindow
*arg1
= (wxWindow
*) 0 ;
11068 wxString
*arg2
= 0 ;
11069 wxString
*arg3
= 0 ;
11071 wxString
*arg5
= (wxString
*) 0 ;
11072 long arg6
= (long) wxCHOICEDLG_STYLE
;
11073 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11074 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11075 wxSingleChoiceDialog
*result
;
11076 bool temp2
= False
;
11077 bool temp3
= False
;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 PyObject
* obj2
= 0 ;
11082 PyObject
* obj3
= 0 ;
11083 PyObject
* obj5
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
11089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11091 arg2
= wxString_in_helper(obj1
);
11092 if (arg2
== NULL
) SWIG_fail
;
11096 arg3
= wxString_in_helper(obj2
);
11097 if (arg3
== NULL
) SWIG_fail
;
11101 arg4
= PyList_Size(obj3
);
11102 arg5
= wxString_LIST_helper(obj3
);
11103 if (arg5
== NULL
) SWIG_fail
;
11108 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11128 if (arg5
) delete [] arg5
;
11141 if (arg5
) delete [] arg5
;
11147 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (int)(arg1
)->GetSelection();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= PyInt_FromLong((long)result
);
11172 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= (arg1
)->GetStringSelection();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11203 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "sel", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 (arg1
)->SetSelection(arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 Py_INCREF(Py_None
); resultobj
= Py_None
;
11228 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (int)(arg1
)->ShowModal();
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= PyInt_FromLong((long)result
);
11253 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11256 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11258 return Py_BuildValue((char *)"");
11260 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxWindow
*arg1
= (wxWindow
*) 0 ;
11263 wxString
*arg2
= 0 ;
11264 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11266 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11267 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11268 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11269 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11270 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11271 wxTextEntryDialog
*result
;
11272 bool temp2
= False
;
11273 bool temp3
= False
;
11274 bool temp4
= False
;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 PyObject
* obj2
= 0 ;
11279 PyObject
* obj3
= 0 ;
11280 PyObject
* obj5
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11288 arg2
= wxString_in_helper(obj1
);
11289 if (arg2
== NULL
) SWIG_fail
;
11294 arg3
= wxString_in_helper(obj2
);
11295 if (arg3
== NULL
) SWIG_fail
;
11301 arg4
= wxString_in_helper(obj3
);
11302 if (arg4
== NULL
) SWIG_fail
;
11309 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11350 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (arg1
)->GetValue();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11381 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11384 wxString
*arg2
= 0 ;
11385 bool temp2
= False
;
11386 PyObject
* obj0
= 0 ;
11387 PyObject
* obj1
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "value", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11395 arg2
= wxString_in_helper(obj1
);
11396 if (arg2
== NULL
) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 (arg1
)->SetValue((wxString
const &)*arg2
);
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 Py_INCREF(Py_None
); resultobj
= Py_None
;
11421 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11425 PyObject
* obj0
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (int)(arg1
)->ShowModal();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= PyInt_FromLong((long)result
);
11446 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11449 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11451 return Py_BuildValue((char *)"");
11453 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxFontData
*result
;
11456 char *kwnames
[] = {
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (wxFontData
*)new wxFontData();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11475 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxFontData
*arg1
= (wxFontData
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 char *kwnames
[] = {
11480 (char *) "self", NULL
11483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxFontData
*arg1
= (wxFontData
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 PyObject
* obj1
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self",(char *) "enable", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11511 arg2
= PyInt_AsLong(obj1
) ? true : false;
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 (arg1
)->EnableEffects(arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 Py_INCREF(Py_None
); resultobj
= Py_None
;
11527 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxFontData
*arg1
= (wxFontData
*) 0 ;
11531 PyObject
* obj0
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (bool)(arg1
)->GetAllowSymbols();
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= PyInt_FromLong((long)result
);
11552 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxFontData
*arg1
= (wxFontData
*) 0 ;
11556 PyObject
* obj0
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 result
= (arg1
)->GetColour();
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11571 wxColour
* resultptr
;
11572 resultptr
= new wxColour((wxColour
&) result
);
11573 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11581 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxFontData
*arg1
= (wxFontData
*) 0 ;
11585 PyObject
* obj0
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (arg1
)->GetChosenFont();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 wxFont
* resultptr
;
11601 resultptr
= new wxFont((wxFont
&) result
);
11602 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11610 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxFontData
*arg1
= (wxFontData
*) 0 ;
11614 PyObject
* obj0
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "self", NULL
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (bool)(arg1
)->GetEnableEffects();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= PyInt_FromLong((long)result
);
11635 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxFontData
*arg1
= (wxFontData
*) 0 ;
11639 PyObject
* obj0
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (arg1
)->GetInitialFont();
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11654 wxFont
* resultptr
;
11655 resultptr
= new wxFont((wxFont
&) result
);
11656 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11664 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxFontData
*arg1
= (wxFontData
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (bool)(arg1
)->GetShowHelp();
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= PyInt_FromLong((long)result
);
11689 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxFontData
*arg1
= (wxFontData
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self",(char *) "allowSymbols", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11701 arg2
= PyInt_AsLong(obj1
) ? true : false;
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 (arg1
)->SetAllowSymbols(arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 Py_INCREF(Py_None
); resultobj
= Py_None
;
11717 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxFontData
*arg1
= (wxFontData
*) 0 ;
11721 PyObject
* obj0
= 0 ;
11722 PyObject
* obj1
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "self",(char *) "font", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11730 if (arg2
== NULL
) {
11731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 Py_INCREF(Py_None
); resultobj
= Py_None
;
11747 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxFontData
*arg1
= (wxFontData
*) 0 ;
11750 wxColour
*arg2
= 0 ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "colour", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->SetColour((wxColour
const &)*arg2
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 Py_INCREF(Py_None
); resultobj
= Py_None
;
11778 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxFontData
*arg1
= (wxFontData
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 PyObject
* obj1
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "self",(char *) "font", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11791 if (arg2
== NULL
) {
11792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxFontData
*arg1
= (wxFontData
*) 0 ;
11813 PyObject
* obj0
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self",(char *) "min",(char *) "max", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 (arg1
)->SetRange(arg2
,arg3
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 Py_INCREF(Py_None
); resultobj
= Py_None
;
11834 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
;
11836 wxFontData
*arg1
= (wxFontData
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 PyObject
* obj1
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self",(char *) "showHelp", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11846 arg2
= PyInt_AsLong(obj1
) ? true : false;
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 (arg1
)->SetShowHelp(arg2
);
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 Py_INCREF(Py_None
); resultobj
= Py_None
;
11862 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11865 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11867 return Py_BuildValue((char *)"");
11869 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
;
11871 wxWindow
*arg1
= (wxWindow
*) 0 ;
11872 wxFontData
*arg2
= 0 ;
11873 wxFontDialog
*result
;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "parent",(char *) "data", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11883 if (arg2
== NULL
) {
11884 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11900 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11903 wxFontData
*result
;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11915 result
= (wxFontData
*) &_result_ref
;
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
11928 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (int)(arg1
)->ShowModal();
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= PyInt_FromLong((long)result
);
11953 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11956 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
11958 return Py_BuildValue((char *)"");
11960 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxWindow
*arg1
= (wxWindow
*) 0 ;
11963 wxString
*arg2
= 0 ;
11964 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
11965 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11966 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11967 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11968 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11969 wxMessageDialog
*result
;
11970 bool temp2
= False
;
11971 bool temp3
= False
;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 PyObject
* obj2
= 0 ;
11976 PyObject
* obj4
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
11982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11984 arg2
= wxString_in_helper(obj1
);
11985 if (arg2
== NULL
) SWIG_fail
;
11990 arg3
= wxString_in_helper(obj2
);
11991 if (arg3
== NULL
) SWIG_fail
;
11998 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
12031 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (int)(arg1
)->ShowModal();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= PyInt_FromLong((long)result
);
12056 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12059 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12061 return Py_BuildValue((char *)"");
12063 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxString
*arg1
= 0 ;
12066 wxString
*arg2
= 0 ;
12067 int arg3
= (int) 100 ;
12068 wxWindow
*arg4
= (wxWindow
*) NULL
;
12069 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12070 wxProgressDialog
*result
;
12071 bool temp1
= False
;
12072 bool temp2
= False
;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 PyObject
* obj3
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
12082 arg1
= wxString_in_helper(obj0
);
12083 if (arg1
== NULL
) SWIG_fail
;
12087 arg2
= wxString_in_helper(obj1
);
12088 if (arg2
== NULL
) SWIG_fail
;
12092 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
12124 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12128 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12131 bool temp3
= False
;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj2
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12142 arg3
= wxString_in_helper(obj2
);
12143 if (arg3
== NULL
) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= PyInt_FromLong((long)result
);
12169 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 Py_INCREF(Py_None
); resultobj
= Py_None
;
12193 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12196 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12198 return Py_BuildValue((char *)"");
12200 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12203 int arg2
= (int) 0 ;
12204 wxFindDialogEvent
*result
;
12205 char *kwnames
[] = {
12206 (char *) "commandType",(char *) "id", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12224 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (int)(arg1
)->GetFlags();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= PyInt_FromLong((long)result
);
12249 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 wxString
const &_result_ref
= (arg1
)->GetFindString();
12264 result
= (wxString
*) &_result_ref
;
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12272 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12274 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12283 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12298 result
= (wxString
*) &_result_ref
;
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12308 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12317 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12320 wxFindReplaceDialog
*result
;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12342 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self",(char *) "flags", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->SetFlags(arg2
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 Py_INCREF(Py_None
); resultobj
= Py_None
;
12367 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12370 wxString
*arg2
= 0 ;
12371 bool temp2
= False
;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self",(char *) "str", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12381 arg2
= wxString_in_helper(obj1
);
12382 if (arg2
== NULL
) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 (arg1
)->SetFindString((wxString
const &)*arg2
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 Py_INCREF(Py_None
); resultobj
= Py_None
;
12407 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12410 wxString
*arg2
= 0 ;
12411 bool temp2
= False
;
12412 PyObject
* obj0
= 0 ;
12413 PyObject
* obj1
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self",(char *) "str", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12421 arg2
= wxString_in_helper(obj1
);
12422 if (arg2
== NULL
) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 Py_INCREF(Py_None
); resultobj
= Py_None
;
12447 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12450 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12452 return Py_BuildValue((char *)"");
12454 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 int arg1
= (int) 0 ;
12457 wxFindReplaceData
*result
;
12458 char *kwnames
[] = {
12459 (char *) "flags", NULL
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12477 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 Py_INCREF(Py_None
); resultobj
= Py_None
;
12501 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12505 PyObject
* obj0
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "self", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 wxString
const &_result_ref
= (arg1
)->GetFindString();
12516 result
= (wxString
*) &_result_ref
;
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12526 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12535 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12550 result
= (wxString
*) &_result_ref
;
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12560 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12569 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= (int)(arg1
)->GetFlags();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= PyInt_FromLong((long)result
);
12594 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "flags", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->SetFlags(arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12619 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12622 wxString
*arg2
= 0 ;
12623 bool temp2
= False
;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self",(char *) "str", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12633 arg2
= wxString_in_helper(obj1
);
12634 if (arg2
== NULL
) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 (arg1
)->SetFindString((wxString
const &)*arg2
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 Py_INCREF(Py_None
); resultobj
= Py_None
;
12659 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12662 wxString
*arg2
= 0 ;
12663 bool temp2
= False
;
12664 PyObject
* obj0
= 0 ;
12665 PyObject
* obj1
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self",(char *) "str", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12673 arg2
= wxString_in_helper(obj1
);
12674 if (arg2
== NULL
) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12702 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12704 return Py_BuildValue((char *)"");
12706 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxWindow
*arg1
= (wxWindow
*) 0 ;
12709 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12710 wxString
*arg3
= 0 ;
12711 int arg4
= (int) 0 ;
12712 wxFindReplaceDialog
*result
;
12713 bool temp3
= False
;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 PyObject
* obj2
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12725 arg3
= wxString_in_helper(obj2
);
12726 if (arg3
== NULL
) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12751 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxFindReplaceDialog
*result
;
12754 char *kwnames
[] = {
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12773 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12776 wxWindow
*arg2
= (wxWindow
*) 0 ;
12777 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12778 wxString
*arg4
= 0 ;
12779 int arg5
= (int) 0 ;
12781 bool temp4
= False
;
12782 PyObject
* obj0
= 0 ;
12783 PyObject
* obj1
= 0 ;
12784 PyObject
* obj2
= 0 ;
12785 PyObject
* obj3
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12793 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12795 arg4
= wxString_in_helper(obj3
);
12796 if (arg4
== NULL
) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= PyInt_FromLong((long)result
);
12821 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12824 wxFindReplaceData
*result
;
12825 PyObject
* obj0
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12846 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12849 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self",(char *) "data", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 (arg1
)->SetData(arg2
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 Py_INCREF(Py_None
); resultobj
= Py_None
;
12873 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12876 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12878 return Py_BuildValue((char *)"");
12880 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxWindow
*arg1
= (wxWindow
*) 0 ;
12884 wxString
*arg3
= 0 ;
12885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12889 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12890 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12891 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12892 wxMDIParentFrame
*result
;
12893 bool temp3
= False
;
12896 bool temp7
= False
;
12897 PyObject
* obj0
= 0 ;
12898 PyObject
* obj2
= 0 ;
12899 PyObject
* obj3
= 0 ;
12900 PyObject
* obj4
= 0 ;
12901 PyObject
* obj6
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12909 arg3
= wxString_in_helper(obj2
);
12910 if (arg3
== NULL
) SWIG_fail
;
12916 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12922 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12927 arg7
= wxString_in_helper(obj6
);
12928 if (arg7
== NULL
) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12962 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxMDIParentFrame
*result
;
12965 char *kwnames
[] = {
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12984 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12987 wxWindow
*arg2
= (wxWindow
*) 0 ;
12989 wxString
*arg4
= 0 ;
12990 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12991 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12992 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12993 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12994 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12995 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
12996 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12998 bool temp4
= False
;
13001 bool temp8
= False
;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 PyObject
* obj3
= 0 ;
13005 PyObject
* obj4
= 0 ;
13006 PyObject
* obj5
= 0 ;
13007 PyObject
* obj7
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13016 arg4
= wxString_in_helper(obj3
);
13017 if (arg4
== NULL
) SWIG_fail
;
13023 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13029 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13034 arg8
= wxString_in_helper(obj7
);
13035 if (arg8
== NULL
) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= PyInt_FromLong((long)result
);
13069 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 (arg1
)->ActivateNext();
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 Py_INCREF(Py_None
); resultobj
= Py_None
;
13093 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13096 PyObject
* obj0
= 0 ;
13097 char *kwnames
[] = {
13098 (char *) "self", NULL
13101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 (arg1
)->ActivatePrevious();
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 Py_INCREF(Py_None
); resultobj
= Py_None
;
13117 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->ArrangeIcons();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13144 PyObject
* obj0
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 Py_INCREF(Py_None
); resultobj
= Py_None
;
13165 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13168 wxMDIChildFrame
*result
;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
13175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= wxPyMake_wxObject(result
);
13192 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13195 wxMDIClientWindow
*result
;
13196 PyObject
* obj0
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= wxPyMake_wxObject(result
);
13219 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (wxWindow
*)(arg1
)->GetToolBar();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= wxPyMake_wxObject(result
);
13246 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13249 PyObject
* obj0
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 Py_INCREF(Py_None
); resultobj
= Py_None
;
13270 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13273 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13275 return Py_BuildValue((char *)"");
13277 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13281 wxString
*arg3
= 0 ;
13282 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13283 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13284 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13285 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13286 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13287 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13288 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13289 wxMDIChildFrame
*result
;
13290 bool temp3
= False
;
13293 bool temp7
= False
;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj2
= 0 ;
13296 PyObject
* obj3
= 0 ;
13297 PyObject
* obj4
= 0 ;
13298 PyObject
* obj6
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13306 arg3
= wxString_in_helper(obj2
);
13307 if (arg3
== NULL
) SWIG_fail
;
13313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13324 arg7
= wxString_in_helper(obj6
);
13325 if (arg7
== NULL
) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= wxPyMake_wxObject(result
);
13361 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxMDIChildFrame
*result
;
13364 char *kwnames
[] = {
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= wxPyMake_wxObject(result
);
13385 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13388 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13390 wxString
*arg4
= 0 ;
13391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13395 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13396 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13399 bool temp4
= False
;
13402 bool temp8
= False
;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 PyObject
* obj3
= 0 ;
13406 PyObject
* obj4
= 0 ;
13407 PyObject
* obj5
= 0 ;
13408 PyObject
* obj7
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13417 arg4
= wxString_in_helper(obj3
);
13418 if (arg4
== NULL
) SWIG_fail
;
13424 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13430 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13435 arg8
= wxString_in_helper(obj7
);
13436 if (arg8
== NULL
) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= PyInt_FromLong((long)result
);
13470 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13473 PyObject
* obj0
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->Activate();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 Py_INCREF(Py_None
); resultobj
= Py_None
;
13494 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13498 PyObject
* obj0
= 0 ;
13499 PyObject
* obj1
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self",(char *) "maximize", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13506 arg2
= PyInt_AsLong(obj1
) ? true : false;
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 (arg1
)->Maximize(arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 Py_INCREF(Py_None
); resultobj
= Py_None
;
13522 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13525 PyObject
* obj0
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 Py_INCREF(Py_None
); resultobj
= Py_None
;
13546 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13549 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13551 return Py_BuildValue((char *)"");
13553 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13556 long arg2
= (long) 0 ;
13557 wxMDIClientWindow
*result
;
13558 PyObject
* obj0
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "parent",(char *) "style", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= wxPyMake_wxObject(result
);
13581 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxMDIClientWindow
*result
;
13584 char *kwnames
[] = {
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= wxPyMake_wxObject(result
);
13605 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13608 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13609 long arg3
= (long) 0 ;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self",(char *) "parent",(char *) "style", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= PyInt_FromLong((long)result
);
13634 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13637 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13639 return Py_BuildValue((char *)"");
13641 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxWindow
*arg1
= (wxWindow
*) 0 ;
13645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13649 long arg5
= (long) 0 ;
13650 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13651 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13652 wxPyWindow
*result
;
13655 bool temp6
= False
;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj2
= 0 ;
13658 PyObject
* obj3
= 0 ;
13659 PyObject
* obj5
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13669 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13675 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13680 arg6
= wxString_in_helper(obj5
);
13681 if (arg6
== NULL
) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13707 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13710 PyObject
*arg2
= (PyObject
*) 0 ;
13711 PyObject
*arg3
= (PyObject
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 PyObject
* obj2
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "self",(char *) "_class", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 Py_INCREF(Py_None
); resultobj
= Py_None
;
13737 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 Py_INCREF(Py_None
); resultobj
= Py_None
;
13765 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13772 int arg6
= (int) wxSIZE_AUTO
;
13773 PyObject
* obj0
= 0 ;
13774 char *kwnames
[] = {
13775 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 Py_INCREF(Py_None
); resultobj
= Py_None
;
13794 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self",(char *) "width",(char *) "height", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 Py_INCREF(Py_None
); resultobj
= Py_None
;
13820 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self",(char *) "x",(char *) "y", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 Py_INCREF(Py_None
); resultobj
= Py_None
;
13846 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13849 int *arg2
= (int *) 0 ;
13850 int *arg3
= (int *) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 Py_INCREF(Py_None
); resultobj
= Py_None
;
13871 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13872 resultobj
= t_output_helper(resultobj
,o
);
13875 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13876 resultobj
= t_output_helper(resultobj
,o
);
13884 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13887 int *arg2
= (int *) 0 ;
13888 int *arg3
= (int *) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self", NULL
13898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 Py_INCREF(Py_None
); resultobj
= Py_None
;
13909 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13910 resultobj
= t_output_helper(resultobj
,o
);
13913 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13914 resultobj
= t_output_helper(resultobj
,o
);
13922 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13925 int *arg2
= (int *) 0 ;
13926 int *arg3
= (int *) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13948 resultobj
= t_output_helper(resultobj
,o
);
13951 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13952 resultobj
= t_output_helper(resultobj
,o
);
13960 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13979 wxSize
* resultptr
;
13980 resultptr
= new wxSize((wxSize
&) result
);
13981 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13989 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14008 wxSize
* resultptr
;
14009 resultptr
= new wxSize((wxSize
&) result
);
14010 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14018 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 (arg1
)->base_InitDialog();
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 Py_INCREF(Py_None
); resultobj
= Py_None
;
14042 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
;
14044 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14046 PyObject
* obj0
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (bool)(arg1
)->base_TransferDataToWindow();
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= PyInt_FromLong((long)result
);
14067 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14071 PyObject
* obj0
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= PyInt_FromLong((long)result
);
14092 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14096 PyObject
* obj0
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
14102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 result
= (bool)(arg1
)->base_Validate();
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= PyInt_FromLong((long)result
);
14117 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= PyInt_FromLong((long)result
);
14142 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= PyInt_FromLong((long)result
);
14167 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 wxSize
* resultptr
;
14187 resultptr
= new wxSize((wxSize
&) result
);
14188 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14196 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14199 wxWindow
*arg2
= (wxWindow
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 PyObject
* obj1
= 0 ;
14202 char *kwnames
[] = {
14203 (char *) "self",(char *) "child", NULL
14206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 (arg1
)->base_AddChild(arg2
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 Py_INCREF(Py_None
); resultobj
= Py_None
;
14223 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14226 wxWindow
*arg2
= (wxWindow
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "child", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 (arg1
)->base_RemoveChild(arg2
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 Py_INCREF(Py_None
); resultobj
= Py_None
;
14250 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14253 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14255 return Py_BuildValue((char *)"");
14257 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxWindow
*arg1
= (wxWindow
*) 0 ;
14261 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14262 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14263 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14264 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14265 long arg5
= (long) 0 ;
14266 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14267 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14271 bool temp6
= False
;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj2
= 0 ;
14274 PyObject
* obj3
= 0 ;
14275 PyObject
* obj5
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14285 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14291 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14296 arg6
= wxString_in_helper(obj5
);
14297 if (arg6
== NULL
) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14323 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14326 PyObject
*arg2
= (PyObject
*) 0 ;
14327 PyObject
*arg3
= (PyObject
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 PyObject
* obj2
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self",(char *) "self",(char *) "_class", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 Py_INCREF(Py_None
); resultobj
= Py_None
;
14381 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
;
14383 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14388 int arg6
= (int) wxSIZE_AUTO
;
14389 PyObject
* obj0
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 Py_INCREF(Py_None
); resultobj
= Py_None
;
14410 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
;
14412 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self",(char *) "width",(char *) "height", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 Py_INCREF(Py_None
); resultobj
= Py_None
;
14436 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self",(char *) "x",(char *) "y", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 Py_INCREF(Py_None
); resultobj
= Py_None
;
14462 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14465 int *arg2
= (int *) 0 ;
14466 int *arg3
= (int *) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 Py_INCREF(Py_None
); resultobj
= Py_None
;
14487 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14488 resultobj
= t_output_helper(resultobj
,o
);
14491 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14492 resultobj
= t_output_helper(resultobj
,o
);
14500 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
;
14502 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14503 int *arg2
= (int *) 0 ;
14504 int *arg3
= (int *) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 Py_INCREF(Py_None
); resultobj
= Py_None
;
14525 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14526 resultobj
= t_output_helper(resultobj
,o
);
14529 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14530 resultobj
= t_output_helper(resultobj
,o
);
14538 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14541 int *arg2
= (int *) 0 ;
14542 int *arg3
= (int *) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14564 resultobj
= t_output_helper(resultobj
,o
);
14567 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14568 resultobj
= t_output_helper(resultobj
,o
);
14576 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 wxSize
* resultptr
;
14596 resultptr
= new wxSize((wxSize
&) result
);
14597 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14605 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 wxSize
* resultptr
;
14625 resultptr
= new wxSize((wxSize
&) result
);
14626 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14634 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 (arg1
)->base_InitDialog();
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14658 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (bool)(arg1
)->base_TransferDataToWindow();
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= PyInt_FromLong((long)result
);
14683 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "self", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= PyInt_FromLong((long)result
);
14708 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (bool)(arg1
)->base_Validate();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= PyInt_FromLong((long)result
);
14733 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= PyInt_FromLong((long)result
);
14758 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= PyInt_FromLong((long)result
);
14783 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14802 wxSize
* resultptr
;
14803 resultptr
= new wxSize((wxSize
&) result
);
14804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14812 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14815 wxWindow
*arg2
= (wxWindow
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 PyObject
* obj1
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self",(char *) "child", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 (arg1
)->base_AddChild(arg2
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 Py_INCREF(Py_None
); resultobj
= Py_None
;
14839 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14842 wxWindow
*arg2
= (wxWindow
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "child", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14851 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 (arg1
)->base_RemoveChild(arg2
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 Py_INCREF(Py_None
); resultobj
= Py_None
;
14866 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14869 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14871 return Py_BuildValue((char *)"");
14873 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
14874 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
14879 static PyObject
*_wrap_PrintoutTitleStr_get() {
14884 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
14886 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
14893 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
14894 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
14899 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
14904 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
14906 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
14913 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxPrintData
*result
;
14916 char *kwnames
[] = {
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (wxPrintData
*)new wxPrintData();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
14935 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 Py_INCREF(Py_None
); resultobj
= Py_None
;
14959 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (int)(arg1
)->GetNoCopies();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= PyInt_FromLong((long)result
);
14984 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (bool)(arg1
)->GetCollate();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= PyInt_FromLong((long)result
);
15009 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (int)(arg1
)->GetOrientation();
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= PyInt_FromLong((long)result
);
15034 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (bool)(arg1
)->Ok();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= PyInt_FromLong((long)result
);
15059 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
15074 result
= (wxString
*) &_result_ref
;
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15084 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15093 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (bool)(arg1
)->GetColour();
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= PyInt_FromLong((long)result
);
15118 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (int)(arg1
)->GetDuplex();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= PyInt_FromLong((long)result
);
15143 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (int)(arg1
)->GetPaperId();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= PyInt_FromLong((long)result
);
15168 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
15178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
15183 result
= (wxSize
*) &_result_ref
;
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15196 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (int)(arg1
)->GetQuality();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= PyInt_FromLong((long)result
);
15221 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15225 PyObject
* obj0
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "v", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 (arg1
)->SetNoCopies(arg2
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 Py_INCREF(Py_None
); resultobj
= Py_None
;
15246 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15250 PyObject
* obj0
= 0 ;
15251 PyObject
* obj1
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self",(char *) "flag", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15258 arg2
= PyInt_AsLong(obj1
) ? true : false;
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 (arg1
)->SetCollate(arg2
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 Py_INCREF(Py_None
); resultobj
= Py_None
;
15274 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "orient", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 (arg1
)->SetOrientation(arg2
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15302 wxString
*arg2
= 0 ;
15303 bool temp2
= False
;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "name", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15313 arg2
= wxString_in_helper(obj1
);
15314 if (arg2
== NULL
) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 Py_INCREF(Py_None
); resultobj
= Py_None
;
15339 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "colour", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15351 arg2
= PyInt_AsLong(obj1
) ? true : false;
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 (arg1
)->SetColour(arg2
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 Py_INCREF(Py_None
); resultobj
= Py_None
;
15367 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "duplex", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 Py_INCREF(Py_None
); resultobj
= Py_None
;
15392 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
;
15394 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self",(char *) "sizeId", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 Py_INCREF(Py_None
); resultobj
= Py_None
;
15417 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self",(char *) "sz", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15432 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 Py_INCREF(Py_None
); resultobj
= Py_None
;
15448 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "quality", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetQuality",kwnames
,&obj0
,&arg2
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 (arg1
)->SetQuality(arg2
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 Py_INCREF(Py_None
); resultobj
= Py_None
;
15473 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15488 result
= (wxString
*) &_result_ref
;
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15498 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15507 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15522 result
= (wxString
*) &_result_ref
;
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15541 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15556 result
= (wxString
*) &_result_ref
;
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15566 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15575 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 wxString
const &_result_ref
= (arg1
)->GetFilename();
15590 result
= (wxString
*) &_result_ref
;
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15600 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15609 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15624 result
= (wxString
*) &_result_ref
;
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15634 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15643 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (double)(arg1
)->GetPrinterScaleX();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= PyFloat_FromDouble(result
);
15668 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (double)(arg1
)->GetPrinterScaleY();
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= PyFloat_FromDouble(result
);
15693 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (long)(arg1
)->GetPrinterTranslateX();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= PyInt_FromLong((long)result
);
15718 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (long)(arg1
)->GetPrinterTranslateY();
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= PyInt_FromLong((long)result
);
15743 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (int)(arg1
)->GetPrintMode();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= PyInt_FromLong((long)result
);
15768 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15771 wxString
*arg2
= 0 ;
15772 bool temp2
= False
;
15773 PyObject
* obj0
= 0 ;
15774 PyObject
* obj1
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "self",(char *) "command", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15782 arg2
= wxString_in_helper(obj1
);
15783 if (arg2
== NULL
) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15808 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15811 wxString
*arg2
= 0 ;
15812 bool temp2
= False
;
15813 PyObject
* obj0
= 0 ;
15814 PyObject
* obj1
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self",(char *) "options", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15822 arg2
= wxString_in_helper(obj1
);
15823 if (arg2
== NULL
) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15833 Py_INCREF(Py_None
); resultobj
= Py_None
;
15848 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15851 wxString
*arg2
= 0 ;
15852 bool temp2
= False
;
15853 PyObject
* obj0
= 0 ;
15854 PyObject
* obj1
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self",(char *) "command", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15862 arg2
= wxString_in_helper(obj1
);
15863 if (arg2
== NULL
) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15888 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15891 wxString
*arg2
= 0 ;
15892 bool temp2
= False
;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "filename", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15902 arg2
= wxString_in_helper(obj1
);
15903 if (arg2
== NULL
) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 (arg1
)->SetFilename((wxString
const &)*arg2
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 Py_INCREF(Py_None
); resultobj
= Py_None
;
15928 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15931 wxString
*arg2
= 0 ;
15932 bool temp2
= False
;
15933 PyObject
* obj0
= 0 ;
15934 PyObject
* obj1
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self",(char *) "path", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15942 arg2
= wxString_in_helper(obj1
);
15943 if (arg2
== NULL
) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 Py_INCREF(Py_None
); resultobj
= Py_None
;
15968 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15972 PyObject
* obj0
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "x", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 (arg1
)->SetPrinterScaleX(arg2
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 Py_INCREF(Py_None
); resultobj
= Py_None
;
15993 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 char *kwnames
[] = {
15999 (char *) "self",(char *) "y", NULL
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
16003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 (arg1
)->SetPrinterScaleY(arg2
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 Py_INCREF(Py_None
); resultobj
= Py_None
;
16018 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "x",(char *) "y", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 (arg1
)->SetPrinterScaling(arg2
,arg3
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 Py_INCREF(Py_None
); resultobj
= Py_None
;
16044 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self",(char *) "x", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 (arg1
)->SetPrinterTranslateX(arg2
);
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 Py_INCREF(Py_None
); resultobj
= Py_None
;
16069 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self",(char *) "y", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 (arg1
)->SetPrinterTranslateY(arg2
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 Py_INCREF(Py_None
); resultobj
= Py_None
;
16094 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16099 PyObject
* obj0
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self",(char *) "x",(char *) "y", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 Py_INCREF(Py_None
); resultobj
= Py_None
;
16120 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self",(char *) "printMode", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 Py_INCREF(Py_None
); resultobj
= Py_None
;
16145 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
16147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16148 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
16150 return Py_BuildValue((char *)"");
16152 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxPageSetupDialogData
*result
;
16155 char *kwnames
[] = {
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
16174 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 Py_INCREF(Py_None
); resultobj
= Py_None
;
16198 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 PyObject
* obj1
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self",(char *) "flag", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16210 arg2
= PyInt_AsLong(obj1
) ? true : false;
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 (arg1
)->EnableHelp(arg2
);
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 Py_INCREF(Py_None
); resultobj
= Py_None
;
16226 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "flag", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16238 arg2
= PyInt_AsLong(obj1
) ? true : false;
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 (arg1
)->EnableMargins(arg2
);
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 Py_INCREF(Py_None
); resultobj
= Py_None
;
16254 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "flag", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16266 arg2
= PyInt_AsLong(obj1
) ? true : false;
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 (arg1
)->EnableOrientation(arg2
);
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 Py_INCREF(Py_None
); resultobj
= Py_None
;
16282 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16286 PyObject
* obj0
= 0 ;
16287 PyObject
* obj1
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self",(char *) "flag", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16294 arg2
= PyInt_AsLong(obj1
) ? true : false;
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 (arg1
)->EnablePaper(arg2
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "flag", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16322 arg2
= PyInt_AsLong(obj1
) ? true : false;
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 (arg1
)->EnablePrinter(arg2
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 Py_INCREF(Py_None
); resultobj
= Py_None
;
16338 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16342 PyObject
* obj0
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (bool)(arg1
)->GetDefaultMinMargins();
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= PyInt_FromLong((long)result
);
16363 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 result
= (bool)(arg1
)->GetEnableMargins();
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 resultobj
= PyInt_FromLong((long)result
);
16388 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)(arg1
)->GetEnableOrientation();
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= PyInt_FromLong((long)result
);
16413 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)(arg1
)->GetEnablePaper();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= PyInt_FromLong((long)result
);
16438 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (bool)(arg1
)->GetEnablePrinter();
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= PyInt_FromLong((long)result
);
16463 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 result
= (bool)(arg1
)->GetEnableHelp();
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= PyInt_FromLong((long)result
);
16488 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
;
16490 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16492 PyObject
* obj0
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (bool)(arg1
)->GetDefaultInfo();
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= PyInt_FromLong((long)result
);
16513 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16517 PyObject
* obj0
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (arg1
)->GetMarginTopLeft();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 wxPoint
* resultptr
;
16533 resultptr
= new wxPoint((wxPoint
&) result
);
16534 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16542 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (arg1
)->GetMarginBottomRight();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 wxPoint
* resultptr
;
16562 resultptr
= new wxPoint((wxPoint
&) result
);
16563 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16571 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (arg1
)->GetMinMarginTopLeft();
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16590 wxPoint
* resultptr
;
16591 resultptr
= new wxPoint((wxPoint
&) result
);
16592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16600 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= (arg1
)->GetMinMarginBottomRight();
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16619 wxPoint
* resultptr
;
16620 resultptr
= new wxPoint((wxPoint
&) result
);
16621 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16629 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (int)(arg1
)->GetPaperId();
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= PyInt_FromLong((long)result
);
16654 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (arg1
)->GetPaperSize();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16673 wxSize
* resultptr
;
16674 resultptr
= new wxSize((wxSize
&) result
);
16675 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16683 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16686 wxPrintData
*result
;
16687 PyObject
* obj0
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16698 result
= (wxPrintData
*) &_result_ref
;
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16711 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (bool)(arg1
)->Ok();
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= PyInt_FromLong((long)result
);
16736 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self",(char *) "flag", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16748 arg2
= PyInt_AsLong(obj1
) ? true : false;
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 (arg1
)->SetDefaultInfo(arg2
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 Py_INCREF(Py_None
); resultobj
= Py_None
;
16764 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self",(char *) "flag", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16776 arg2
= PyInt_AsLong(obj1
) ? true : false;
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->SetDefaultMinMargins(arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16792 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16795 wxPoint
*arg2
= 0 ;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self",(char *) "pt", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16816 Py_INCREF(Py_None
); resultobj
= Py_None
;
16823 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
;
16825 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16826 wxPoint
*arg2
= 0 ;
16828 PyObject
* obj0
= 0 ;
16829 PyObject
* obj1
= 0 ;
16830 char *kwnames
[] = {
16831 (char *) "self",(char *) "pt", NULL
16834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16838 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 Py_INCREF(Py_None
); resultobj
= Py_None
;
16854 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16857 wxPoint
*arg2
= 0 ;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self",(char *) "pt", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16869 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 Py_INCREF(Py_None
); resultobj
= Py_None
;
16885 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16888 wxPoint
*arg2
= 0 ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self",(char *) "pt", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16900 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 Py_INCREF(Py_None
); resultobj
= Py_None
;
16916 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self",(char *) "id", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
16926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 Py_INCREF(Py_None
); resultobj
= Py_None
;
16941 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16946 PyObject
* obj0
= 0 ;
16947 PyObject
* obj1
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self",(char *) "size", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 Py_INCREF(Py_None
); resultobj
= Py_None
;
16972 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
;
16974 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16975 wxPrintData
*arg2
= 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self",(char *) "printData", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16985 if (arg2
== NULL
) {
16986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 Py_INCREF(Py_None
); resultobj
= Py_None
;
17002 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17005 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
17007 return Py_BuildValue((char *)"");
17009 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxWindow
*arg1
= (wxWindow
*) 0 ;
17012 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
17013 wxPageSetupDialog
*result
;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "parent",(char *) "data", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
17039 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17042 wxPageSetupDialogData
*result
;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
17054 result
= (wxPageSetupDialogData
*) &_result_ref
;
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
17067 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (int)(arg1
)->ShowModal();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= PyInt_FromLong((long)result
);
17092 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17095 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
17097 return Py_BuildValue((char *)"");
17099 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxPrintDialogData
*result
;
17102 char *kwnames
[] = {
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 result
= (wxPrintDialogData
*)new wxPrintDialogData();
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
17121 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17124 PyObject
* obj0
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "self", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
17130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 Py_INCREF(Py_None
); resultobj
= Py_None
;
17145 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= PyInt_FromLong((long)result
);
17170 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= PyInt_FromLong((long)result
);
17195 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
17205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= PyInt_FromLong((long)result
);
17220 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17224 PyObject
* obj0
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "self", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
17230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= PyInt_FromLong((long)result
);
17245 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= PyInt_FromLong((long)result
);
17270 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= PyInt_FromLong((long)result
);
17295 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
;
17297 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17299 PyObject
* obj0
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= PyInt_FromLong((long)result
);
17320 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= PyInt_FromLong((long)result
);
17345 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= PyInt_FromLong((long)result
);
17370 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 resultobj
= PyInt_FromLong((long)result
);
17395 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self",(char *) "v", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 (arg1
)->SetFromPage(arg2
);
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 Py_INCREF(Py_None
); resultobj
= Py_None
;
17420 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
;
17422 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17424 PyObject
* obj0
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "v", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 (arg1
)->SetToPage(arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 Py_INCREF(Py_None
); resultobj
= Py_None
;
17445 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self",(char *) "v", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 (arg1
)->SetMinPage(arg2
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 Py_INCREF(Py_None
); resultobj
= Py_None
;
17470 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17474 PyObject
* obj0
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self",(char *) "v", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 (arg1
)->SetMaxPage(arg2
);
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 Py_INCREF(Py_None
); resultobj
= Py_None
;
17495 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self",(char *) "v", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->SetNoCopies(arg2
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 Py_INCREF(Py_None
); resultobj
= Py_None
;
17520 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "flag", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17532 arg2
= PyInt_AsLong(obj1
) ? true : false;
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 (arg1
)->SetAllPages(arg2
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 Py_INCREF(Py_None
); resultobj
= Py_None
;
17548 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self",(char *) "flag", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17560 arg2
= PyInt_AsLong(obj1
) ? true : false;
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 (arg1
)->SetSelection(arg2
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 Py_INCREF(Py_None
); resultobj
= Py_None
;
17576 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
;
17578 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self",(char *) "flag", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17588 arg2
= PyInt_AsLong(obj1
) ? true : false;
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 (arg1
)->SetCollate(arg2
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 Py_INCREF(Py_None
); resultobj
= Py_None
;
17604 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self",(char *) "flag", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17616 arg2
= PyInt_AsLong(obj1
) ? true : false;
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->SetPrintToFile(arg2
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "flag", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 arg2
= PyInt_AsLong(obj1
) ? true : false;
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 (arg1
)->SetSetupDialog(arg2
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 Py_INCREF(Py_None
); resultobj
= Py_None
;
17660 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self",(char *) "flag", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17672 arg2
= PyInt_AsLong(obj1
) ? true : false;
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 (arg1
)->EnablePrintToFile(arg2
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 Py_INCREF(Py_None
); resultobj
= Py_None
;
17688 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "flag", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17700 arg2
= PyInt_AsLong(obj1
) ? true : false;
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 (arg1
)->EnableSelection(arg2
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 Py_INCREF(Py_None
); resultobj
= Py_None
;
17716 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17720 PyObject
* obj0
= 0 ;
17721 PyObject
* obj1
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self",(char *) "flag", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17728 arg2
= PyInt_AsLong(obj1
) ? true : false;
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->EnablePageNumbers(arg2
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 Py_INCREF(Py_None
); resultobj
= Py_None
;
17744 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "flag", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17756 arg2
= PyInt_AsLong(obj1
) ? true : false;
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 (arg1
)->EnableHelp(arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 Py_INCREF(Py_None
); resultobj
= Py_None
;
17772 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17776 PyObject
* obj0
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= PyInt_FromLong((long)result
);
17797 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= PyInt_FromLong((long)result
);
17822 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= PyInt_FromLong((long)result
);
17847 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 resultobj
= PyInt_FromLong((long)result
);
17872 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= PyInt_FromLong((long)result
);
17897 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17900 wxPrintData
*result
;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17912 result
= (wxPrintData
*) &_result_ref
;
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17925 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17928 wxPrintData
*arg2
= 0 ;
17929 PyObject
* obj0
= 0 ;
17930 PyObject
* obj1
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self",(char *) "printData", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17938 if (arg2
== NULL
) {
17939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 Py_INCREF(Py_None
); resultobj
= Py_None
;
17955 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17958 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
17960 return Py_BuildValue((char *)"");
17962 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxWindow
*arg1
= (wxWindow
*) 0 ;
17965 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
17966 wxPrintDialog
*result
;
17967 PyObject
* obj0
= 0 ;
17968 PyObject
* obj1
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "parent",(char *) "data", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
17992 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17995 wxPrintDialogData
*result
;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18007 result
= (wxPrintDialogData
*) &_result_ref
;
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18020 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (wxDC
*)(arg1
)->GetPrintDC();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= wxPyMake_wxObject(result
);
18047 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (int)(arg1
)->ShowModal();
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= PyInt_FromLong((long)result
);
18072 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18075 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
18077 return Py_BuildValue((char *)"");
18079 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
18083 PyObject
* obj0
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "data", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (wxPrinter
*)new wxPrinter(arg1
);
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
18106 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 Py_INCREF(Py_None
); resultobj
= Py_None
;
18130 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18133 wxWindow
*arg2
= (wxWindow
*) 0 ;
18134 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 PyObject
* obj2
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "parent",(char *) "printout", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18145 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->CreateAbortWindow(arg2
,arg3
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 Py_INCREF(Py_None
); resultobj
= Py_None
;
18160 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18163 wxPrintDialogData
*result
;
18164 PyObject
* obj0
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18175 result
= (wxPrintDialogData
*) &_result_ref
;
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18188 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18191 wxWindow
*arg2
= (wxWindow
*) 0 ;
18192 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18193 int arg4
= (int) True
;
18195 PyObject
* obj0
= 0 ;
18196 PyObject
* obj1
= 0 ;
18197 PyObject
* obj2
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18205 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= PyInt_FromLong((long)result
);
18220 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18223 wxWindow
*arg2
= (wxWindow
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 PyObject
* obj1
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self",(char *) "parent", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= wxPyMake_wxObject(result
);
18250 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18253 wxWindow
*arg2
= (wxWindow
*) 0 ;
18254 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18255 wxString
*arg4
= 0 ;
18256 bool temp4
= False
;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 PyObject
* obj2
= 0 ;
18260 PyObject
* obj3
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18268 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18270 arg4
= wxString_in_helper(obj3
);
18271 if (arg4
== NULL
) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 Py_INCREF(Py_None
); resultobj
= Py_None
;
18296 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18299 wxWindow
*arg2
= (wxWindow
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "parent", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (bool)(arg1
)->Setup(arg2
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= PyInt_FromLong((long)result
);
18324 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (bool)(arg1
)->GetAbort();
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= PyInt_FromLong((long)result
);
18349 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18352 char *kwnames
[] = {
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (int)wxPrinter::GetLastError();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= PyInt_FromLong((long)result
);
18371 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18374 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18376 return Py_BuildValue((char *)"");
18378 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18381 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18382 wxPyPrintout
*result
;
18383 bool temp1
= False
;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "title", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18392 arg1
= wxString_in_helper(obj0
);
18393 if (arg1
== NULL
) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18405 resultobj
= wxPyMake_wxObject(result
);
18421 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18424 PyObject
*arg2
= (PyObject
*) 0 ;
18425 PyObject
*arg3
= (PyObject
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "self",(char *) "_class", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 Py_INCREF(Py_None
); resultobj
= Py_None
;
18451 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18482 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (wxDC
*)(arg1
)->GetDC();
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= wxPyMake_wxObject(result
);
18509 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18512 wxDC
*arg2
= (wxDC
*) 0 ;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self",(char *) "dc", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 (arg1
)->SetDC(arg2
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 Py_INCREF(Py_None
); resultobj
= Py_None
;
18536 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self",(char *) "w",(char *) "h", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 Py_INCREF(Py_None
); resultobj
= Py_None
;
18562 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
;
18564 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18565 int *arg2
= (int *) 0 ;
18566 int *arg3
= (int *) 0 ;
18569 PyObject
* obj0
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 Py_INCREF(Py_None
); resultobj
= Py_None
;
18587 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18588 resultobj
= t_output_helper(resultobj
,o
);
18591 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18592 resultobj
= t_output_helper(resultobj
,o
);
18600 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self",(char *) "w",(char *) "h", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 Py_INCREF(Py_None
); resultobj
= Py_None
;
18626 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18629 int *arg2
= (int *) 0 ;
18630 int *arg3
= (int *) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 Py_INCREF(Py_None
); resultobj
= Py_None
;
18651 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18652 resultobj
= t_output_helper(resultobj
,o
);
18655 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18656 resultobj
= t_output_helper(resultobj
,o
);
18664 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18669 PyObject
* obj0
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self",(char *) "x",(char *) "y", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->SetPPIScreen(arg2
,arg3
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 Py_INCREF(Py_None
); resultobj
= Py_None
;
18690 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18693 int *arg2
= (int *) 0 ;
18694 int *arg3
= (int *) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 (arg1
)->GetPPIScreen(arg2
,arg3
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 Py_INCREF(Py_None
); resultobj
= Py_None
;
18715 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18716 resultobj
= t_output_helper(resultobj
,o
);
18719 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18720 resultobj
= t_output_helper(resultobj
,o
);
18728 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self",(char *) "x",(char *) "y", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 Py_INCREF(Py_None
); resultobj
= Py_None
;
18754 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18757 int *arg2
= (int *) 0 ;
18758 int *arg3
= (int *) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 Py_INCREF(Py_None
); resultobj
= Py_None
;
18779 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18780 resultobj
= t_output_helper(resultobj
,o
);
18783 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18784 resultobj
= t_output_helper(resultobj
,o
);
18792 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (bool)(arg1
)->IsPreview();
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= PyInt_FromLong((long)result
);
18817 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self",(char *) "p", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18829 arg2
= PyInt_AsLong(obj1
) ? true : false;
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 (arg1
)->SetIsPreview(arg2
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 Py_INCREF(Py_None
); resultobj
= Py_None
;
18845 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= PyInt_FromLong((long)result
);
18872 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 (arg1
)->base_OnEndDocument();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 Py_INCREF(Py_None
); resultobj
= Py_None
;
18896 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
18905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 (arg1
)->base_OnBeginPrinting();
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 Py_INCREF(Py_None
); resultobj
= Py_None
;
18920 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->base_OnEndPrinting();
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18944 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
18953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 (arg1
)->base_OnPreparePrinting();
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 Py_INCREF(Py_None
); resultobj
= Py_None
;
18968 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18973 PyObject
* obj0
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "self",(char *) "page", NULL
18978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
18979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 result
= (bool)(arg1
)->base_HasPage(arg2
);
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18987 resultobj
= PyInt_FromLong((long)result
);
18994 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18997 int *arg2
= (int *) 0 ;
18998 int *arg3
= (int *) 0 ;
18999 int *arg4
= (int *) 0 ;
19000 int *arg5
= (int *) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
19015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 Py_INCREF(Py_None
); resultobj
= Py_None
;
19025 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19026 resultobj
= t_output_helper(resultobj
,o
);
19029 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19030 resultobj
= t_output_helper(resultobj
,o
);
19033 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
19034 resultobj
= t_output_helper(resultobj
,o
);
19037 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
19038 resultobj
= t_output_helper(resultobj
,o
);
19046 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
19048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19049 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
19051 return Py_BuildValue((char *)"");
19053 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19056 wxWindow
*arg2
= (wxWindow
*) 0 ;
19057 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19058 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19059 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19060 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19061 long arg5
= (long) 0 ;
19062 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
19063 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19064 wxPreviewCanvas
*result
;
19067 bool temp6
= False
;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 PyObject
* obj2
= 0 ;
19071 PyObject
* obj3
= 0 ;
19072 PyObject
* obj5
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19083 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19089 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19094 arg6
= wxString_in_helper(obj5
);
19095 if (arg6
== NULL
) SWIG_fail
;
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
19121 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
19123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19124 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
19126 return Py_BuildValue((char *)"");
19128 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19131 wxFrame
*arg2
= (wxFrame
*) 0 ;
19132 wxString
*arg3
= 0 ;
19133 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19134 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19135 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19136 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19137 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
19138 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19139 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19140 wxPreviewFrame
*result
;
19141 bool temp3
= False
;
19144 bool temp7
= False
;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 PyObject
* obj2
= 0 ;
19148 PyObject
* obj3
= 0 ;
19149 PyObject
* obj4
= 0 ;
19150 PyObject
* obj6
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19159 arg3
= wxString_in_helper(obj2
);
19160 if (arg3
== NULL
) SWIG_fail
;
19166 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19172 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19177 arg7
= wxString_in_helper(obj6
);
19178 if (arg7
== NULL
) SWIG_fail
;
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
19212 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->Initialize();
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 Py_INCREF(Py_None
); resultobj
= Py_None
;
19236 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->CreateControlBar();
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 Py_INCREF(Py_None
); resultobj
= Py_None
;
19260 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 (arg1
)->CreateCanvas();
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 Py_INCREF(Py_None
); resultobj
= Py_None
;
19284 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19287 wxPreviewControlBar
*result
;
19288 PyObject
* obj0
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19309 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19312 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19314 return Py_BuildValue((char *)"");
19316 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19320 wxWindow
*arg3
= (wxWindow
*) 0 ;
19321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19325 long arg6
= (long) wxTAB_TRAVERSAL
;
19326 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19328 wxPreviewControlBar
*result
;
19331 bool temp7
= False
;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj2
= 0 ;
19334 PyObject
* obj3
= 0 ;
19335 PyObject
* obj4
= 0 ;
19336 PyObject
* obj6
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19343 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19347 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19353 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19358 arg7
= wxString_in_helper(obj6
);
19359 if (arg7
== NULL
) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19385 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (int)(arg1
)->GetZoomControl();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= PyInt_FromLong((long)result
);
19410 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "zoom", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->SetZoomControl(arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19438 wxPrintPreview
*result
;
19439 PyObject
* obj0
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19460 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 Py_INCREF(Py_None
); resultobj
= Py_None
;
19484 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19487 PyObject
* obj0
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "self", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 (arg1
)->OnPrevious();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 Py_INCREF(Py_None
); resultobj
= Py_None
;
19508 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 Py_INCREF(Py_None
); resultobj
= Py_None
;
19532 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 Py_INCREF(Py_None
); resultobj
= Py_None
;
19556 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 Py_INCREF(Py_None
); resultobj
= Py_None
;
19580 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19583 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19585 return Py_BuildValue((char *)"");
19587 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19590 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19591 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19592 wxPrintPreview
*result
;
19593 PyObject
* obj0
= 0 ;
19594 PyObject
* obj1
= 0 ;
19595 PyObject
* obj2
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19602 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19604 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19620 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self",(char *) "pageNum", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= PyInt_FromLong((long)result
);
19646 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (int)(arg1
)->GetCurrentPage();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= PyInt_FromLong((long)result
);
19671 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19674 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 PyObject
* obj1
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self",(char *) "printout", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 (arg1
)->SetPrintout(arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 Py_INCREF(Py_None
); resultobj
= Py_None
;
19698 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19701 wxPyPrintout
*result
;
19702 PyObject
* obj0
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= wxPyMake_wxObject(result
);
19725 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19728 wxPyPrintout
*result
;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= wxPyMake_wxObject(result
);
19752 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19755 wxFrame
*arg2
= (wxFrame
*) 0 ;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self",(char *) "frame", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 (arg1
)->SetFrame(arg2
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 Py_INCREF(Py_None
); resultobj
= Py_None
;
19779 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19782 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "canvas", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 (arg1
)->SetCanvas(arg2
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 Py_INCREF(Py_None
); resultobj
= Py_None
;
19806 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 result
= (wxFrame
*)(arg1
)->GetFrame();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= wxPyMake_wxObject(result
);
19833 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19836 wxPreviewCanvas
*result
;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19858 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19861 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 PyObject
* obj2
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19874 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19875 if (arg3
== NULL
) {
19876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= PyInt_FromLong((long)result
);
19892 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19895 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 PyObject
* obj2
= 0 ;
19901 char *kwnames
[] = {
19902 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19908 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19909 if (arg3
== NULL
) {
19910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= PyInt_FromLong((long)result
);
19926 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19931 PyObject
* obj0
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "pageNum", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 result
= (bool)(arg1
)->RenderPage(arg2
);
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= PyInt_FromLong((long)result
);
19952 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19954 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19955 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19956 PyObject
* obj0
= 0 ;
19957 PyObject
* obj1
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self",(char *) "canvas", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
19963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 (arg1
)->AdjustScrollbars(arg2
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 Py_INCREF(Py_None
); resultobj
= Py_None
;
19979 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19982 wxPrintDialogData
*result
;
19983 PyObject
* obj0
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19994 result
= (wxPrintDialogData
*) &_result_ref
;
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
20007 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20011 PyObject
* obj0
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self",(char *) "percent", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 (arg1
)->SetZoom(arg2
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 Py_INCREF(Py_None
); resultobj
= Py_None
;
20032 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 result
= (int)(arg1
)->GetZoom();
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 resultobj
= PyInt_FromLong((long)result
);
20057 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
;
20059 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20061 PyObject
* obj0
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (int)(arg1
)->GetMaxPage();
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= PyInt_FromLong((long)result
);
20082 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (int)(arg1
)->GetMinPage();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= PyInt_FromLong((long)result
);
20107 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20111 PyObject
* obj0
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
20117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (bool)(arg1
)->Ok();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= PyInt_FromLong((long)result
);
20132 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self",(char *) "ok", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20144 arg2
= PyInt_AsLong(obj1
) ? true : false;
20145 if (PyErr_Occurred()) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 (arg1
)->SetOk(arg2
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 Py_INCREF(Py_None
); resultobj
= Py_None
;
20160 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "interactive", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20173 arg2
= PyInt_AsLong(obj1
) ? true : false;
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (bool)(arg1
)->Print(arg2
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= PyInt_FromLong((long)result
);
20189 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20192 PyObject
* obj0
= 0 ;
20193 char *kwnames
[] = {
20194 (char *) "self", NULL
20197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 (arg1
)->DetermineScaling();
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20206 Py_INCREF(Py_None
); resultobj
= Py_None
;
20213 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20216 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
20218 return Py_BuildValue((char *)"");
20220 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20223 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20224 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20225 wxPyPrintPreview
*result
;
20226 PyObject
* obj0
= 0 ;
20227 PyObject
* obj1
= 0 ;
20228 PyObject
* obj2
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20237 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20253 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20256 PyObject
*arg2
= (PyObject
*) 0 ;
20257 PyObject
*arg3
= (PyObject
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 PyObject
* obj2
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "self",(char *) "self",(char *) "_class", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 Py_INCREF(Py_None
); resultobj
= Py_None
;
20283 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20284 PyObject
*resultobj
;
20285 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self",(char *) "pageNum", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= PyInt_FromLong((long)result
);
20309 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20312 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 PyObject
* obj2
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20325 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20326 if (arg3
== NULL
) {
20327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= PyInt_FromLong((long)result
);
20343 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20346 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 PyObject
* obj1
= 0 ;
20351 PyObject
* obj2
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20359 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20360 if (arg3
== NULL
) {
20361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= PyInt_FromLong((long)result
);
20377 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self",(char *) "pageNum", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= PyInt_FromLong((long)result
);
20403 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self",(char *) "percent", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 (arg1
)->base_SetZoom(arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 Py_INCREF(Py_None
); resultobj
= Py_None
;
20428 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "interactive", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20441 arg2
= PyInt_AsLong(obj1
) ? true : false;
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (bool)(arg1
)->base_Print(arg2
);
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= PyInt_FromLong((long)result
);
20457 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 (arg1
)->base_DetermineScaling();
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 Py_INCREF(Py_None
); resultobj
= Py_None
;
20481 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20484 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20486 return Py_BuildValue((char *)"");
20488 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20491 wxFrame
*arg2
= (wxFrame
*) 0 ;
20492 wxString
*arg3
= 0 ;
20493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20497 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20498 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20499 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20500 wxPyPreviewFrame
*result
;
20501 bool temp3
= False
;
20504 bool temp7
= False
;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 PyObject
* obj2
= 0 ;
20508 PyObject
* obj3
= 0 ;
20509 PyObject
* obj4
= 0 ;
20510 PyObject
* obj6
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20519 arg3
= wxString_in_helper(obj2
);
20520 if (arg3
== NULL
) SWIG_fail
;
20526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20532 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20537 arg7
= wxString_in_helper(obj6
);
20538 if (arg7
== NULL
) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20572 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
;
20574 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20575 PyObject
*arg2
= (PyObject
*) 0 ;
20576 PyObject
*arg3
= (PyObject
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 PyObject
* obj1
= 0 ;
20579 PyObject
* obj2
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "self",(char *) "_class", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 Py_INCREF(Py_None
); resultobj
= Py_None
;
20602 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20605 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self",(char *) "canvas", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 (arg1
)->SetPreviewCanvas(arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 Py_INCREF(Py_None
); resultobj
= Py_None
;
20629 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20632 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self",(char *) "bar", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 (arg1
)->SetControlBar(arg2
);
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 Py_INCREF(Py_None
); resultobj
= Py_None
;
20656 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20659 PyObject
* obj0
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "self", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 (arg1
)->base_Initialize();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 Py_INCREF(Py_None
); resultobj
= Py_None
;
20680 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20683 PyObject
* obj0
= 0 ;
20684 char *kwnames
[] = {
20685 (char *) "self", NULL
20688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 (arg1
)->base_CreateCanvas();
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 Py_INCREF(Py_None
); resultobj
= Py_None
;
20704 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
;
20706 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->base_CreateControlBar();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 Py_INCREF(Py_None
); resultobj
= Py_None
;
20728 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20731 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20733 return Py_BuildValue((char *)"");
20735 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20739 wxWindow
*arg3
= (wxWindow
*) 0 ;
20740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20744 long arg6
= (long) 0 ;
20745 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20747 wxPyPreviewControlBar
*result
;
20750 bool temp7
= False
;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj2
= 0 ;
20753 PyObject
* obj3
= 0 ;
20754 PyObject
* obj4
= 0 ;
20755 PyObject
* obj6
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20762 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20766 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20772 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20777 arg7
= wxString_in_helper(obj6
);
20778 if (arg7
== NULL
) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20804 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20807 PyObject
*arg2
= (PyObject
*) 0 ;
20808 PyObject
*arg3
= (PyObject
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 PyObject
* obj2
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self",(char *) "self",(char *) "_class", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 Py_INCREF(Py_None
); resultobj
= Py_None
;
20834 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20837 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self",(char *) "preview", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 (arg1
)->SetPrintPreview(arg2
);
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 Py_INCREF(Py_None
); resultobj
= Py_None
;
20861 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 (arg1
)->base_CreateButtons();
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 Py_INCREF(Py_None
); resultobj
= Py_None
;
20885 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20889 PyObject
* obj0
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self",(char *) "zoom", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 (arg1
)->base_SetZoomControl(arg2
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 Py_INCREF(Py_None
); resultobj
= Py_None
;
20910 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20913 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
20915 return Py_BuildValue((char *)"");
20917 static PyMethodDef SwigMethods
[] = {
20918 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
20919 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
20920 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
20921 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20922 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
20923 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20924 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20925 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20926 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20927 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
20928 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20929 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20930 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
20931 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
20932 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
20933 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
20934 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
20935 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20936 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20937 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
20938 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
20939 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20940 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
20941 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20942 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20943 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
20944 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20945 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20946 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
20947 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
20948 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
20949 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20950 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20951 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
20952 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20953 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20954 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20955 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20956 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
20957 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
20958 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
20959 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
20960 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20961 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
20962 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
20963 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20964 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20965 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
20966 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20967 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20968 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20969 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20970 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20971 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20972 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20973 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20974 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20975 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20976 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20977 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20978 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
20979 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
20980 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
20981 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
20982 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
20983 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
20984 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20985 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20986 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
20987 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
20988 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
20989 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
20990 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20991 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
20992 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
20993 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
20994 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20995 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20996 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20997 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
20998 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
20999 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21000 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21001 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
21002 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
21003 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
21004 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21005 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
21006 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
21007 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21008 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21009 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
21010 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21011 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21012 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21013 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21014 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21015 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21016 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21017 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
21018 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
21019 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
21020 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
21021 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
21022 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21023 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21024 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21025 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
21026 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
21027 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21028 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21029 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21030 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
21031 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
21032 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
21033 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
21034 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
21035 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21036 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21037 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21038 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21039 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21040 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21041 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21042 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21043 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21044 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21045 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21046 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21047 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
21048 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
21049 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21050 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21051 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
21052 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
21053 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
21054 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
21055 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21056 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21057 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21058 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21059 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21060 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
21061 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
21062 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
21063 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21064 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21065 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21066 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21067 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21068 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21069 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21070 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21071 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21072 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21075 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
21078 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
21086 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
21093 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
21098 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
21104 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
21113 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
21119 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
21124 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21125 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
21130 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
21134 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21149 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
21151 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
21152 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21175 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
21178 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
21185 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
21193 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
21195 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
21204 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
21208 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
21216 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21234 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21238 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21244 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21249 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21261 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21265 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21266 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21269 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21272 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21276 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21285 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21287 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21292 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21293 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21294 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21295 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21296 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21297 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21298 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21299 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21300 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21302 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21303 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21304 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21305 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21308 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21312 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21313 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21319 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21320 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21321 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21322 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21323 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21326 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21327 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21328 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21329 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21331 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21334 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21335 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21336 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21339 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21340 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21341 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21343 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21344 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21346 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21347 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21349 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21350 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21351 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21352 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21353 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21354 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21355 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21356 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21357 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21358 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21359 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21360 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21361 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21362 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21363 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21364 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21365 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21366 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21367 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21368 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21369 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21370 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21371 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21372 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21373 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21374 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21375 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21376 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21377 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21378 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21379 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21380 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21381 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21382 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21383 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21384 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21385 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21386 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21387 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21388 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21389 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21390 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21391 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21392 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21393 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21394 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21395 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21396 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21397 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21398 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21399 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21400 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21401 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21402 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21403 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21404 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21405 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21406 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21407 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21408 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21409 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21410 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21411 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21412 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21413 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21414 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21415 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21416 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21417 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21418 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21419 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21420 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21421 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21422 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21423 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21424 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21425 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21426 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21427 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21428 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21429 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21430 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21431 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21432 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21433 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21434 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21435 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21436 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21437 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21438 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21439 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21440 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21441 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21442 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21443 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21444 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21445 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21446 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21447 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21448 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21449 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21450 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21451 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21452 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21453 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21454 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21455 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21456 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21457 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21458 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21459 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21460 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21461 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21462 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21463 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21464 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21465 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21466 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21467 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21468 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21469 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21470 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21471 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21472 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21473 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21474 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21475 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21476 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21477 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21478 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21479 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21480 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21481 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21482 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21483 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21484 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21485 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21486 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21487 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21488 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21489 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21490 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21491 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21492 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21493 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21494 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21495 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21496 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21497 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21498 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21499 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21500 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21501 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21502 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21503 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21504 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21505 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21506 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21507 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21508 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21509 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21510 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21511 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21512 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21513 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21514 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21515 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21516 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21517 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21518 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21519 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21520 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21521 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21522 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21523 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21524 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21525 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21526 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21527 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21528 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21529 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21530 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21531 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21532 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21533 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21534 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21535 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21536 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21537 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21538 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21539 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21540 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21541 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21542 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21543 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21544 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21545 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21546 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21547 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21548 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21549 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21550 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21551 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21552 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21553 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21554 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21555 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21556 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21557 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21558 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21559 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21560 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21561 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21562 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21563 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21564 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21565 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21566 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21567 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21568 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21569 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21570 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21571 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21572 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21573 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21574 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21575 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21576 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21577 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21578 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21579 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21580 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21581 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21582 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21583 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21588 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21590 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21591 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21593 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21594 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21596 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21597 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21599 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21600 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21602 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21603 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21605 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21606 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21608 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21609 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21611 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21612 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21614 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21615 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21617 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21620 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21621 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21623 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21624 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21626 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21629 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21630 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21632 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21633 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21635 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21638 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21639 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21641 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21642 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21644 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21645 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21647 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21648 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21650 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21651 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21653 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21654 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21656 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21657 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21659 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21660 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21662 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21665 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21666 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21668 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21669 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21671 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21672 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21674 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21675 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21677 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21678 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21680 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21681 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21683 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21684 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21686 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21687 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21689 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21690 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21692 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21693 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21695 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21696 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21698 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21701 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21704 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21705 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21707 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21708 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21710 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21711 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21713 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21714 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21716 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21717 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21719 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21722 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21725 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21728 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21729 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21731 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21732 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21734 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21735 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21737 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21738 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21740 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21743 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21746 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21749 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21752 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21755 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21758 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21761 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21762 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21764 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21765 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21767 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21770 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21773 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21776 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21777 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21779 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21782 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21783 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21785 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21786 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21788 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21789 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21791 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21792 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21794 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21797 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21798 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21800 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21801 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21803 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21804 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21806 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21809 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21812 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21815 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21816 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21818 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21821 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21822 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21824 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21827 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21830 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21833 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21836 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21839 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21840 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21842 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21845 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21848 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21851 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21854 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21857 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21860 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21863 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21866 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21867 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21869 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
21870 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
21872 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
21873 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
21875 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
21876 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
21878 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
21879 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21881 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
21882 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
21884 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
21885 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
21887 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
21888 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
21890 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21891 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21893 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21894 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21896 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21899 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21902 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21903 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21905 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21906 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21908 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21911 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21912 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21914 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21915 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21917 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21918 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21920 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21921 return (void *)((wxObject
*) ((wxSizer
*) x
));
21923 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21924 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21926 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21929 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21932 static void *_p_wxEventTo_p_wxObject(void *x
) {
21933 return (void *)((wxObject
*) ((wxEvent
*) x
));
21935 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21936 return (void *)((wxObject
*) ((wxFontData
*) x
));
21938 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21939 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21941 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21942 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21944 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21945 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21947 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21948 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21950 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21951 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21953 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
21954 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21956 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21959 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21960 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21962 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21963 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21965 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21966 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21968 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21969 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21971 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21972 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21974 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21975 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21977 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21980 static void *_p_wxControlTo_p_wxObject(void *x
) {
21981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21983 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21984 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21986 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21989 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21990 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21992 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21993 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21995 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21996 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21998 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22001 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
22002 return (void *)((wxObject
*) ((wxColourData
*) x
));
22004 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22005 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22007 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22010 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
22011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
22013 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
22014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22016 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
22017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22019 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
22020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22022 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
22023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22025 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
22026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22028 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
22029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22031 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
22032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22034 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
22035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22037 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22038 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22040 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
22041 return (void *)((wxObject
*) ((wxPrinter
*) x
));
22043 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22044 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22046 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22047 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22049 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22052 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22053 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22055 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22056 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22058 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22059 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22061 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22062 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22064 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22065 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22067 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22068 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22070 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22071 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22073 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22074 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22076 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22077 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22079 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22080 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22082 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22083 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22085 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22086 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22088 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22089 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22091 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22092 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22094 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22095 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22097 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22100 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22101 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22103 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22106 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22107 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22109 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
22110 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
22112 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
22113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22115 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
22116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22118 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22119 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22121 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
22122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22124 static void *_p_wxImageTo_p_wxObject(void *x
) {
22125 return (void *)((wxObject
*) ((wxImage
*) x
));
22127 static void *_p_wxFrameTo_p_wxObject(void *x
) {
22128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22130 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
22131 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
22133 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22134 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22136 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
22137 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
22139 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
22140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
22142 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
22143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22145 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22146 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22148 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22149 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22151 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22152 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22154 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22155 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22157 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22158 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22160 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22163 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
22164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22166 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
22167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
22169 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
22170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
22172 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
22173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
22175 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
22176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
22178 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
22179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22181 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
22182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
22184 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
22185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22187 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
22188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22190 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
22191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22193 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
22194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
22196 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
22197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
22199 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
22200 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
22202 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
22203 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22205 static void *_p_wxPanelTo_p_wxObject(void *x
) {
22206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
22208 static void *_p_wxDialogTo_p_wxObject(void *x
) {
22209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22211 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
22212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22214 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
22215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22217 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
22218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22220 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
22221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22223 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
22224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22226 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22227 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22229 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22232 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22233 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22235 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22236 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22238 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22239 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22241 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22242 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22244 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22245 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22247 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22250 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22251 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22253 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22256 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22259 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22260 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22262 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22263 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22265 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22268 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22271 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22272 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22274 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22275 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22277 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22280 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22281 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22283 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22284 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22286 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22287 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22289 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
22290 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22292 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22293 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22295 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22296 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22298 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22299 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22301 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22302 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22304 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22305 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22307 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22308 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22310 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22311 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22313 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22314 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22316 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22317 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22319 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22320 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22322 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22323 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22325 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22326 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22328 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22329 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22331 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22332 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22334 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22335 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22337 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22338 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22340 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22341 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22343 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22344 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22346 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22347 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22349 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22350 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22352 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22353 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22355 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22356 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22358 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22359 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22361 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22362 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22364 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22365 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22367 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22368 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22370 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22371 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22373 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22374 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22376 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22377 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22379 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22380 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22382 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22383 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22385 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22386 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22388 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22389 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22391 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22392 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22394 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22395 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22397 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22398 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22400 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22401 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22403 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22404 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22406 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22407 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22409 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22410 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22412 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22413 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22415 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22416 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22418 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22419 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22421 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22422 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22424 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22425 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22427 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22428 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22430 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22431 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22433 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22434 return (void *)((wxWindow
*) ((wxControl
*) x
));
22436 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22437 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22439 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22440 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22442 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22445 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22446 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22448 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22449 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22451 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22452 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22454 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22455 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22457 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22458 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22460 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22461 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22463 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22464 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22466 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22467 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22469 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22470 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22472 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22473 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22475 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22476 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22478 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22479 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22481 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22482 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22484 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22485 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22487 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22490 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22491 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22493 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22494 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22496 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22497 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22499 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22500 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22502 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22503 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22505 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22506 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22508 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22509 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22511 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22512 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22514 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22515 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22517 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22518 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22520 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22521 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22523 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22524 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22526 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22527 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22529 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22530 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22532 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22533 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22535 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22536 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22538 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22539 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22541 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22542 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22544 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22545 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22547 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22548 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22550 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22551 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22553 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22554 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22556 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22557 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22559 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22560 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22562 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22563 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22565 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22566 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22568 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22569 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22571 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22572 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22574 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22575 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22577 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22578 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22580 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22581 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22583 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22584 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22586 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22587 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22589 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22590 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22591 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22592 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22593 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22594 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22595 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22596 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}};
22597 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22598 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22599 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22600 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22601 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22602 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22603 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22604 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22605 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22606 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22607 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22608 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22609 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22610 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22611 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22612 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22613 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22614 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22615 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22616 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22617 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22618 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22619 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22620 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22621 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22622 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22623 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22624 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}};
22625 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22626 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22627 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22628 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22629 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22630 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}};
22631 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22632 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22633 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22634 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22635 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22636 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22637 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}};
22638 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22639 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22640 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22641 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22642 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22643 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}};
22644 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22645 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}};
22646 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22647 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}};
22648 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}};
22649 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22650 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22651 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22652 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22653 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22654 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22655 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22656 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22657 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22658 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22659 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22660 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}};
22661 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}};
22662 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22663 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22664 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}};
22665 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22666 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22667 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22668 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22669 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22670 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22672 static swig_type_info
*swig_types_initial
[] = {
22673 _swigt__p_wxQueryLayoutInfoEvent
,
22674 _swigt__p_wxPreviewFrame
,
22675 _swigt__p_wxPyPreviewFrame
,
22676 _swigt__p_wxPyPanel
,
22678 _swigt__p_wxPrintData
,
22679 _swigt__p_wxFontData
,
22681 _swigt__p_wxTaskBarIcon
,
22682 _swigt__p_wxIconBundle
,
22683 _swigt__p_wxLayoutAlgorithm
,
22684 _swigt__p_wxFindDialogEvent
,
22685 _swigt__p_wxPreviewCanvas
,
22687 _swigt__p_wxSplitterEvent
,
22688 _swigt__p_wxRegion
,
22689 _swigt__p_wxFindReplaceData
,
22694 _swigt__p_wxMDIChildFrame
,
22695 _swigt__p_wxColourData
,
22696 _swigt__p_wxNotifyEvent
,
22697 _swigt__p_wxPyWindow
,
22698 _swigt__p_wxSplashScreen
,
22699 _swigt__p_wxFindReplaceDialog
,
22700 _swigt__p_wxProgressDialog
,
22701 _swigt__p_wxMessageDialog
,
22702 _swigt__p_wxTextEntryDialog
,
22703 _swigt__p_wxSingleChoiceDialog
,
22704 _swigt__p_wxMultiChoiceDialog
,
22705 _swigt__p_wxFileDialog
,
22706 _swigt__p_wxPrinter
,
22707 _swigt__p_wxArrayInt
,
22708 _swigt__p_wxEvtHandler
,
22709 _swigt__p_wxCalculateLayoutEvent
,
22710 _swigt__p_wxPyHtmlListBox
,
22711 _swigt__p_wxPyVListBox
,
22713 _swigt__p_wxMiniFrame
,
22715 _swigt__p_wxPyPrintout
,
22716 _swigt__p_wxTaskBarIconEvent
,
22717 _swigt__p_wxScrollWinEvent
,
22718 _swigt__p_wxStatusBar
,
22719 _swigt__p_wxMDIParentFrame
,
22721 _swigt__p_wxObject
,
22722 _swigt__p_unsigned_long
,
22723 _swigt__p_wxMDIClientWindow
,
22724 _swigt__p_wxTipWindow
,
22725 _swigt__p_wxSashLayoutWindow
,
22726 _swigt__p_wxSplitterWindow
,
22727 _swigt__p_wxPyVScrolledWindow
,
22728 _swigt__p_wxPyPopupTransientWindow
,
22729 _swigt__p_wxPopupWindow
,
22730 _swigt__p_wxSashWindow
,
22731 _swigt__p_wxTopLevelWindow
,
22732 _swigt__p_wxWindow
,
22733 _swigt__p_wxScrolledWindow
,
22734 _swigt__p_wxSplashScreenWindow
,
22735 _swigt__p_wxMenuBar
,
22736 _swigt__p_wxPrintPreview
,
22737 _swigt__p_wxSashEvent
,
22738 _swigt__p_wxString
,
22739 _swigt__p_wxPyPrintPreview
,
22740 _swigt__p_wxPageSetupDialog
,
22741 _swigt__p_wxFontDialog
,
22742 _swigt__p_wxDirDialog
,
22743 _swigt__p_wxColourDialog
,
22744 _swigt__p_wxDialog
,
22746 _swigt__p_wxPrintDialog
,
22747 _swigt__p_wxBitmap
,
22748 _swigt__p_wxCommandEvent
,
22749 _swigt__p_wxPreviewControlBar
,
22750 _swigt__p_wxPyPreviewControlBar
,
22751 _swigt__p_wxColour
,
22752 _swigt__p_wxToolBar
,
22753 _swigt__p_wxPrintDialogData
,
22754 _swigt__p_wxPageSetupDialogData
,
22759 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22761 static swig_const_info swig_const_table
[] = {
22762 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22763 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22764 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22765 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22766 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22767 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22768 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22769 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22770 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22771 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22772 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22773 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22774 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22775 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22776 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22777 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22778 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22779 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22780 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22781 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22782 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22783 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22784 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22785 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22786 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22787 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22788 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22789 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22790 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22791 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22792 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22793 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22794 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22795 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22796 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22797 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22798 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22799 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22800 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22801 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22802 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22803 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22804 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22805 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22806 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22807 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22808 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22809 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22810 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22811 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22812 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22813 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22814 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22815 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22816 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22817 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22818 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22819 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22820 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22821 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22822 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22823 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22824 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22825 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22826 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22827 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22828 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22829 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22830 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22831 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22832 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22833 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22834 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22835 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22836 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22837 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22838 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22839 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22840 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22841 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22842 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22843 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22844 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22845 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22846 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22847 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22848 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22849 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22850 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22851 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22852 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22853 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22854 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22855 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22856 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22857 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22858 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22859 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22860 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22861 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22862 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22863 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22864 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22865 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22866 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22867 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22868 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22869 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
22870 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
22880 SWIGEXPORT(void) SWIG_init(void) {
22881 static PyObject
*SWIG_globals
= 0;
22882 static int typeinit
= 0;
22885 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22886 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22887 d
= PyModule_GetDict(m
);
22890 for (i
= 0; swig_types_initial
[i
]; i
++) {
22891 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22895 SWIG_InstallConstants(d
,swig_const_table
);
22897 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
22898 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
22899 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
22900 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
22901 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
22902 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
22903 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
22904 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
22905 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
22906 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
22907 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
22908 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
22909 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
22910 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
22911 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
22912 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
22914 // Map renamed classes back to their common name for OOR
22915 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22916 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22917 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22919 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
22920 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
22921 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
22922 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
22923 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
22924 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
22925 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
22926 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
22927 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
22928 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
22929 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
22930 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
22931 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
22932 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
22933 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
22934 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
22935 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
22936 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
22937 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
22938 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
22940 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");