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
){
349 return self
->IsModalShowing();
354 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
356 self
->GetFieldRect(i
, r
);
359 static const wxString
wxPySplitterNameStr(wxT("splitter"));
360 static const wxString
wxPySashNameStr(wxT("sashWindow"));
361 static const wxString
wxPySashLayoutNameStr(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("Printout"));
786 static const wxString
wxPyPreviewCanvasNameStr(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
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2015 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2019 PyObject
* obj1
= 0 ;
2021 (char *) "self",(char *) "rect", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2028 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 Py_INCREF(Py_None
); resultobj
= Py_None
;
2044 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2050 (char *) "self", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2064 resultptr
= new wxRect((wxRect
&) result
);
2065 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2073 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2076 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2078 return Py_BuildValue((char *)"");
2080 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2081 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2086 static PyObject
*_wrap_FrameNameStr_get() {
2091 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2093 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2100 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2101 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2106 static PyObject
*_wrap_DialogNameStr_get() {
2111 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2113 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2120 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2121 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2126 static PyObject
*_wrap_StatusLineNameStr_get() {
2131 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2133 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2140 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2141 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2146 static PyObject
*_wrap_ToolBarNameStr_get() {
2151 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2153 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2160 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
;
2162 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2163 bool arg2
= (bool) True
;
2164 PyObject
* obj0
= 0 ;
2165 PyObject
* obj1
= 0 ;
2167 (char *) "self",(char *) "maximize", NULL
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2173 arg2
= PyInt_AsLong(obj1
) ? true : false;
2174 if (PyErr_Occurred()) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->Maximize(arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2195 (char *) "self", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 Py_INCREF(Py_None
); resultobj
= Py_None
;
2214 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2217 bool arg2
= (bool) True
;
2218 PyObject
* obj0
= 0 ;
2219 PyObject
* obj1
= 0 ;
2221 (char *) "self",(char *) "iconize", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2227 arg2
= PyInt_AsLong(obj1
) ? true : false;
2228 if (PyErr_Occurred()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->Iconize(arg2
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 resultobj
= PyInt_FromLong((long)result
);
2269 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2271 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2273 PyObject
* obj0
= 0 ;
2275 (char *) "self", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= PyInt_FromLong((long)result
);
2294 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2298 PyObject
* obj0
= 0 ;
2300 (char *) "self", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2314 resultptr
= new wxIcon((wxIcon
&) result
);
2315 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2323 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2328 PyObject
* obj1
= 0 ;
2330 (char *) "self",(char *) "icon", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 Py_INCREF(Py_None
); resultobj
= Py_None
;
2353 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2356 wxIconBundle
*arg2
= 0 ;
2357 PyObject
* obj0
= 0 ;
2358 PyObject
* obj1
= 0 ;
2360 (char *) "self",(char *) "icons", NULL
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 Py_INCREF(Py_None
); resultobj
= Py_None
;
2383 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2387 long arg3
= (long) wxFULLSCREEN_ALL
;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2392 (char *) "self",(char *) "show",(char *) "style", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2397 arg2
= PyInt_AsLong(obj1
) ? true : false;
2398 if (PyErr_Occurred()) SWIG_fail
;
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2406 resultobj
= PyInt_FromLong((long)result
);
2413 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2415 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2417 PyObject
* obj0
= 0 ;
2419 (char *) "self", NULL
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2431 resultobj
= PyInt_FromLong((long)result
);
2438 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2441 wxString
*arg2
= 0 ;
2442 bool temp2
= False
;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2446 (char *) "self",(char *) "title", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2452 arg2
= wxString_in_helper(obj1
);
2453 if (arg2
== NULL
) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 (arg1
)->SetTitle((wxString
const &)*arg2
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 Py_INCREF(Py_None
); resultobj
= Py_None
;
2478 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "self", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2509 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2512 wxRegion
*arg2
= 0 ;
2514 PyObject
* obj0
= 0 ;
2515 PyObject
* obj1
= 0 ;
2517 (char *) "self",(char *) "region", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 resultobj
= PyInt_FromLong((long)result
);
2540 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2543 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2545 return Py_BuildValue((char *)"");
2547 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2549 wxWindow
*arg1
= (wxWindow
*) 0 ;
2551 wxString
*arg3
= 0 ;
2552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2556 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2557 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2560 bool temp3
= False
;
2563 bool temp7
= False
;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj2
= 0 ;
2566 PyObject
* obj3
= 0 ;
2567 PyObject
* obj4
= 0 ;
2568 PyObject
* obj6
= 0 ;
2570 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2576 arg3
= wxString_in_helper(obj2
);
2577 if (arg3
== NULL
) SWIG_fail
;
2583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2594 arg7
= wxString_in_helper(obj6
);
2595 if (arg7
== NULL
) SWIG_fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= wxPyMake_wxObject(result
);
2631 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 result
= (wxFrame
*)new wxFrame();
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2647 resultobj
= wxPyMake_wxObject(result
);
2655 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxFrame
*arg1
= (wxFrame
*) 0 ;
2658 wxWindow
*arg2
= (wxWindow
*) 0 ;
2660 wxString
*arg4
= 0 ;
2661 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2662 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2663 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2664 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2665 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2666 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2667 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2669 bool temp4
= False
;
2672 bool temp8
= False
;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2675 PyObject
* obj3
= 0 ;
2676 PyObject
* obj4
= 0 ;
2677 PyObject
* obj5
= 0 ;
2678 PyObject
* obj7
= 0 ;
2680 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 arg4
= wxString_in_helper(obj3
);
2688 if (arg4
== NULL
) SWIG_fail
;
2694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2705 arg8
= wxString_in_helper(obj7
);
2706 if (arg8
== NULL
) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= PyInt_FromLong((long)result
);
2740 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxFrame
*arg1
= (wxFrame
*) 0 ;
2744 PyObject
* obj0
= 0 ;
2746 (char *) "self", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
2750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2759 wxPoint
* resultptr
;
2760 resultptr
= new wxPoint((wxPoint
&) result
);
2761 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2769 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxFrame
*arg1
= (wxFrame
*) 0 ;
2772 PyObject
* obj0
= 0 ;
2774 (char *) "self", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
2778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 (arg1
)->SendSizeEvent();
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxFrame
*arg1
= (wxFrame
*) 0 ;
2796 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2800 (char *) "self",(char *) "menubar", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 (arg1
)->SetMenuBar(arg2
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2813 Py_INCREF(Py_None
); resultobj
= Py_None
;
2820 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
*resultobj
;
2822 wxFrame
*arg1
= (wxFrame
*) 0 ;
2824 PyObject
* obj0
= 0 ;
2826 (char *) "self", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2839 resultobj
= wxPyMake_wxObject(result
);
2847 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 wxFrame
*arg1
= (wxFrame
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "self",(char *) "winid", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
2858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 result
= (bool)(arg1
)->ProcessCommand(arg2
);
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 resultobj
= PyInt_FromLong((long)result
);
2873 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxFrame
*arg1
= (wxFrame
*) 0 ;
2876 int arg2
= (int) 1 ;
2877 long arg3
= (long) wxST_SIZEGRIP
;
2878 int arg4
= (int) 0 ;
2879 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
2880 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2881 wxStatusBar
*result
;
2882 bool temp5
= False
;
2883 PyObject
* obj0
= 0 ;
2884 PyObject
* obj4
= 0 ;
2886 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 arg5
= wxString_in_helper(obj4
);
2894 if (arg5
== NULL
) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2906 resultobj
= wxPyMake_wxObject(result
);
2922 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxFrame
*arg1
= (wxFrame
*) 0 ;
2925 wxStatusBar
*result
;
2926 PyObject
* obj0
= 0 ;
2928 (char *) "self", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= wxPyMake_wxObject(result
);
2949 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxFrame
*arg1
= (wxFrame
*) 0 ;
2952 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
2953 PyObject
* obj0
= 0 ;
2954 PyObject
* obj1
= 0 ;
2956 (char *) "self",(char *) "statBar", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 (arg1
)->SetStatusBar(arg2
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2969 Py_INCREF(Py_None
); resultobj
= Py_None
;
2976 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxFrame
*arg1
= (wxFrame
*) 0 ;
2979 wxString
*arg2
= 0 ;
2980 int arg3
= (int) 0 ;
2981 bool temp2
= False
;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "text",(char *) "number", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2991 arg2
= wxString_in_helper(obj1
);
2992 if (arg2
== NULL
) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 Py_INCREF(Py_None
); resultobj
= Py_None
;
3017 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxFrame
*arg1
= (wxFrame
*) 0 ;
3021 int *arg3
= (int *) 0 ;
3022 PyObject
* obj0
= 0 ;
3023 PyObject
* obj1
= 0 ;
3025 (char *) "self",(char *) "widths", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3031 arg2
= PyList_Size(obj1
);
3032 arg3
= int_LIST_helper(obj1
);
3033 if (arg3
== NULL
) SWIG_fail
;
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3042 Py_INCREF(Py_None
); resultobj
= Py_None
;
3044 if (arg3
) delete [] arg3
;
3049 if (arg3
) delete [] arg3
;
3055 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxFrame
*arg1
= (wxFrame
*) 0 ;
3058 wxString
*arg2
= 0 ;
3059 int arg3
= (int) 0 ;
3060 bool temp2
= False
;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3064 (char *) "self",(char *) "text",(char *) "number", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3070 arg2
= wxString_in_helper(obj1
);
3071 if (arg2
== NULL
) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3081 Py_INCREF(Py_None
); resultobj
= Py_None
;
3096 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxFrame
*arg1
= (wxFrame
*) 0 ;
3099 int arg2
= (int) 0 ;
3100 PyObject
* obj0
= 0 ;
3102 (char *) "self",(char *) "number", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 (arg1
)->PopStatusText(arg2
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) SWIG_fail
;
3114 Py_INCREF(Py_None
); resultobj
= Py_None
;
3121 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
*resultobj
;
3123 wxFrame
*arg1
= (wxFrame
*) 0 ;
3125 PyObject
* obj0
= 0 ;
3127 (char *) "self",(char *) "n", NULL
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 (arg1
)->SetStatusBarPane(arg2
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxFrame
*arg1
= (wxFrame
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "self", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= PyInt_FromLong((long)result
);
3171 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxFrame
*arg1
= (wxFrame
*) 0 ;
3174 long arg2
= (long) -1 ;
3175 int arg3
= (int) -1 ;
3176 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3177 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3179 bool temp4
= False
;
3180 PyObject
* obj0
= 0 ;
3181 PyObject
* obj3
= 0 ;
3183 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3190 arg4
= wxString_in_helper(obj3
);
3191 if (arg4
== NULL
) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3203 resultobj
= wxPyMake_wxObject(result
);
3219 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxFrame
*arg1
= (wxFrame
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3225 (char *) "self", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3238 resultobj
= wxPyMake_wxObject(result
);
3246 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxFrame
*arg1
= (wxFrame
*) 0 ;
3249 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "self",(char *) "toolbar", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetToolBar(arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxFrame
*arg1
= (wxFrame
*) 0 ;
3276 wxString
*arg2
= 0 ;
3278 bool temp2
= False
;
3279 PyObject
* obj0
= 0 ;
3280 PyObject
* obj1
= 0 ;
3281 PyObject
* obj2
= 0 ;
3283 (char *) "self",(char *) "text",(char *) "show", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3289 arg2
= wxString_in_helper(obj1
);
3290 if (arg2
== NULL
) SWIG_fail
;
3293 arg3
= PyInt_AsLong(obj2
) ? true : false;
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxFrame
*arg1
= (wxFrame
*) 0 ;
3320 wxMenu
*arg2
= (wxMenu
*) NULL
;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3324 (char *) "self",(char *) "menu", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 (arg1
)->DoMenuUpdates(arg2
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3349 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3351 return Py_BuildValue((char *)"");
3353 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxWindow
*arg1
= (wxWindow
*) 0 ;
3357 wxString
*arg3
= 0 ;
3358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3362 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3363 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3366 bool temp3
= False
;
3369 bool temp7
= False
;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj2
= 0 ;
3372 PyObject
* obj3
= 0 ;
3373 PyObject
* obj4
= 0 ;
3374 PyObject
* obj6
= 0 ;
3376 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3382 arg3
= wxString_in_helper(obj2
);
3383 if (arg3
== NULL
) SWIG_fail
;
3389 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3395 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3400 arg7
= wxString_in_helper(obj6
);
3401 if (arg7
== NULL
) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3435 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
;
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (wxDialog
*)new wxDialog();
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3457 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxDialog
*arg1
= (wxDialog
*) 0 ;
3460 wxWindow
*arg2
= (wxWindow
*) 0 ;
3462 wxString
*arg4
= 0 ;
3463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3467 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3468 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3471 bool temp4
= False
;
3474 bool temp8
= False
;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3477 PyObject
* obj3
= 0 ;
3478 PyObject
* obj4
= 0 ;
3479 PyObject
* obj5
= 0 ;
3480 PyObject
* obj7
= 0 ;
3482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3489 arg4
= wxString_in_helper(obj3
);
3490 if (arg4
== NULL
) SWIG_fail
;
3496 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3502 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3507 arg8
= wxString_in_helper(obj7
);
3508 if (arg8
== NULL
) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= PyInt_FromLong((long)result
);
3542 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxDialog
*arg1
= (wxDialog
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3548 (char *) "self",(char *) "returnCode", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 (arg1
)->SetReturnCode(arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 Py_INCREF(Py_None
); resultobj
= Py_None
;
3567 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxDialog
*arg1
= (wxDialog
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3573 (char *) "self", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3585 resultobj
= PyInt_FromLong((long)result
);
3592 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxDialog
*arg1
= (wxDialog
*) 0 ;
3595 wxString
*arg2
= 0 ;
3597 bool temp2
= False
;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3601 (char *) "self",(char *) "message", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 arg2
= wxString_in_helper(obj1
);
3608 if (arg2
== NULL
) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= wxPyMake_wxSizer(result
);
3635 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxDialog
*arg1
= (wxDialog
*) 0 ;
3640 PyObject
* obj0
= 0 ;
3642 (char *) "self",(char *) "flags", NULL
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= wxPyMake_wxSizer(result
);
3663 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxDialog
*arg1
= (wxDialog
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3669 (char *) "self", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 resultobj
= PyInt_FromLong((long)result
);
3688 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxDialog
*arg1
= (wxDialog
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3694 (char *) "self", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (int)(arg1
)->ShowModal();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= PyInt_FromLong((long)result
);
3713 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxDialog
*arg1
= (wxDialog
*) 0 ;
3717 PyObject
* obj0
= 0 ;
3719 (char *) "self",(char *) "retCode", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 (arg1
)->EndModal(arg2
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 Py_INCREF(Py_None
); resultobj
= Py_None
;
3738 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxDialog
*arg1
= (wxDialog
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3744 (char *) "self", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 result
= (bool)wxDialog_IsModalShowing(arg1
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3756 resultobj
= PyInt_FromLong((long)result
);
3763 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
3765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3766 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
3768 return Py_BuildValue((char *)"");
3770 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxWindow
*arg1
= (wxWindow
*) 0 ;
3774 wxString
*arg3
= 0 ;
3775 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3776 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3777 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3778 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3779 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3780 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3781 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3782 wxMiniFrame
*result
;
3783 bool temp3
= False
;
3786 bool temp7
= False
;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj2
= 0 ;
3789 PyObject
* obj3
= 0 ;
3790 PyObject
* obj4
= 0 ;
3791 PyObject
* obj6
= 0 ;
3793 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3799 arg3
= wxString_in_helper(obj2
);
3800 if (arg3
== NULL
) SWIG_fail
;
3806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3817 arg7
= wxString_in_helper(obj6
);
3818 if (arg7
== NULL
) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3852 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxMiniFrame
*result
;
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (wxMiniFrame
*)new wxMiniFrame();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3874 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
3877 wxWindow
*arg2
= (wxWindow
*) 0 ;
3879 wxString
*arg4
= 0 ;
3880 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3881 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3882 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3883 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3884 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3885 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3886 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3888 bool temp4
= False
;
3891 bool temp8
= False
;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3894 PyObject
* obj3
= 0 ;
3895 PyObject
* obj4
= 0 ;
3896 PyObject
* obj5
= 0 ;
3897 PyObject
* obj7
= 0 ;
3899 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3906 arg4
= wxString_in_helper(obj3
);
3907 if (arg4
== NULL
) SWIG_fail
;
3913 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3919 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3924 arg8
= wxString_in_helper(obj7
);
3925 if (arg8
== NULL
) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 resultobj
= PyInt_FromLong((long)result
);
3959 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
3961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3962 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
3964 return Py_BuildValue((char *)"");
3966 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxBitmap
*arg1
= 0 ;
3969 wxWindow
*arg2
= (wxWindow
*) 0 ;
3971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3975 long arg6
= (long) wxNO_BORDER
;
3976 wxSplashScreenWindow
*result
;
3979 PyObject
* obj0
= 0 ;
3980 PyObject
* obj1
= 0 ;
3981 PyObject
* obj3
= 0 ;
3982 PyObject
* obj4
= 0 ;
3984 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3990 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3996 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4002 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4019 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4022 wxBitmap
*arg2
= 0 ;
4023 PyObject
* obj0
= 0 ;
4024 PyObject
* obj1
= 0 ;
4026 (char *) "self",(char *) "bitmap", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 Py_INCREF(Py_None
); resultobj
= Py_None
;
4049 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4055 (char *) "self", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4064 result
= (wxBitmap
*) &_result_ref
;
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4077 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4080 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4082 return Py_BuildValue((char *)"");
4084 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxBitmap
*arg1
= 0 ;
4089 wxWindow
*arg4
= (wxWindow
*) 0 ;
4091 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4092 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4093 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4094 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4095 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4096 wxSplashScreen
*result
;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj3
= 0 ;
4101 PyObject
* obj5
= 0 ;
4102 PyObject
* obj6
= 0 ;
4104 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4112 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4116 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4122 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4139 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4145 (char *) "self", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= PyInt_FromLong((long)result
);
4164 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4167 wxSplashScreenWindow
*result
;
4168 PyObject
* obj0
= 0 ;
4170 (char *) "self", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4189 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4193 PyObject
* obj0
= 0 ;
4195 (char *) "self", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= PyInt_FromLong((long)result
);
4214 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4217 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4219 return Py_BuildValue((char *)"");
4221 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxWindow
*arg1
= (wxWindow
*) 0 ;
4224 int arg2
= (int) -1 ;
4225 long arg3
= (long) wxST_SIZEGRIP
;
4226 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4228 wxStatusBar
*result
;
4229 bool temp4
= False
;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj3
= 0 ;
4233 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4240 arg4
= wxString_in_helper(obj3
);
4241 if (arg4
== NULL
) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= wxPyMake_wxObject(result
);
4269 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxStatusBar
*result
;
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (wxStatusBar
*)new wxStatusBar();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4285 resultobj
= wxPyMake_wxObject(result
);
4293 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
;
4295 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4296 wxWindow
*arg2
= (wxWindow
*) 0 ;
4298 long arg4
= (long) wxST_SIZEGRIP
;
4299 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4300 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4302 bool temp5
= False
;
4303 PyObject
* obj0
= 0 ;
4304 PyObject
* obj1
= 0 ;
4305 PyObject
* obj4
= 0 ;
4307 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4315 arg5
= wxString_in_helper(obj4
);
4316 if (arg5
== NULL
) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= PyInt_FromLong((long)result
);
4342 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4345 int arg2
= (int) 1 ;
4346 PyObject
* obj0
= 0 ;
4348 (char *) "self",(char *) "number", NULL
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 (arg1
)->SetFieldsCount(arg2
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 Py_INCREF(Py_None
); resultobj
= Py_None
;
4367 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4373 (char *) "self", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= PyInt_FromLong((long)result
);
4392 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4395 wxString
*arg2
= 0 ;
4396 int arg3
= (int) 0 ;
4397 bool temp2
= False
;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4401 (char *) "self",(char *) "text",(char *) "number", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4407 arg2
= wxString_in_helper(obj1
);
4408 if (arg2
== NULL
) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4433 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4436 int arg2
= (int) 0 ;
4438 PyObject
* obj0
= 0 ;
4440 (char *) "self",(char *) "number", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4465 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4468 wxString
*arg2
= 0 ;
4469 int arg3
= (int) 0 ;
4470 bool temp2
= False
;
4471 PyObject
* obj0
= 0 ;
4472 PyObject
* obj1
= 0 ;
4474 (char *) "self",(char *) "text",(char *) "number", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4480 arg2
= wxString_in_helper(obj1
);
4481 if (arg2
== NULL
) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 Py_INCREF(Py_None
); resultobj
= Py_None
;
4506 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4509 int arg2
= (int) 0 ;
4510 PyObject
* obj0
= 0 ;
4512 (char *) "self",(char *) "number", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->PopStatusText(arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4535 int *arg3
= (int *) 0 ;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4539 (char *) "self",(char *) "widths", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4545 arg2
= PyList_Size(obj1
);
4546 arg3
= int_LIST_helper(obj1
);
4547 if (arg3
== NULL
) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 Py_INCREF(Py_None
); resultobj
= Py_None
;
4558 if (arg3
) delete [] arg3
;
4563 if (arg3
) delete [] arg3
;
4569 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4576 (char *) "self",(char *) "i", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4590 resultptr
= new wxRect((wxRect
&) result
);
4591 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4599 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4603 PyObject
* obj0
= 0 ;
4605 (char *) "self",(char *) "height", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 (arg1
)->SetMinHeight(arg2
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 Py_INCREF(Py_None
); resultobj
= Py_None
;
4624 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4630 (char *) "self", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= PyInt_FromLong((long)result
);
4649 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4655 (char *) "self", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= PyInt_FromLong((long)result
);
4674 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4677 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4679 return Py_BuildValue((char *)"");
4681 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
4682 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
4687 static PyObject
*_wrap_SplitterNameStr_get() {
4692 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
4694 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
4701 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxWindow
*arg1
= (wxWindow
*) 0 ;
4705 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4706 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4707 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4708 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4709 long arg5
= (long) wxSP_3D
;
4710 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4711 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4712 wxSplitterWindow
*result
;
4715 bool temp6
= False
;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj2
= 0 ;
4718 PyObject
* obj3
= 0 ;
4719 PyObject
* obj5
= 0 ;
4721 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4729 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4735 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4740 arg6
= wxString_in_helper(obj5
);
4741 if (arg6
== NULL
) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4767 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxSplitterWindow
*result
;
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (wxSplitterWindow
*)new wxSplitterWindow();
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4789 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4792 wxWindow
*arg2
= (wxWindow
*) 0 ;
4794 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4795 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4796 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4797 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4798 long arg6
= (long) wxSP_3D
;
4799 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
4800 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4804 bool temp7
= False
;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4807 PyObject
* obj3
= 0 ;
4808 PyObject
* obj4
= 0 ;
4809 PyObject
* obj6
= 0 ;
4811 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4831 arg7
= wxString_in_helper(obj6
);
4832 if (arg7
== NULL
) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= PyInt_FromLong((long)result
);
4858 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4864 (char *) "self", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= wxPyMake_wxObject(result
);
4885 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "self", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
4895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= wxPyMake_wxObject(result
);
4912 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "self",(char *) "mode", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 (arg1
)->SetSplitMode(arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 Py_INCREF(Py_None
); resultobj
= Py_None
;
4937 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4943 (char *) "self", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
4947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= PyInt_FromLong((long)result
);
4962 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4965 wxWindow
*arg2
= (wxWindow
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4967 PyObject
* obj1
= 0 ;
4969 (char *) "self",(char *) "window", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 (arg1
)->Initialize(arg2
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 Py_INCREF(Py_None
); resultobj
= Py_None
;
4989 static PyObject
*_wrap_SplitterWindow_SplitVertically(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_SplitVertically",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
)->SplitVertically(arg2
,arg3
,arg4
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= PyInt_FromLong((long)result
);
5021 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5024 wxWindow
*arg2
= (wxWindow
*) 0 ;
5025 wxWindow
*arg3
= (wxWindow
*) 0 ;
5026 int arg4
= (int) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5030 PyObject
* obj2
= 0 ;
5032 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= PyInt_FromLong((long)result
);
5053 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5056 wxWindow
*arg2
= (wxWindow
*) NULL
;
5058 PyObject
* obj0
= 0 ;
5059 PyObject
* obj1
= 0 ;
5061 (char *) "self",(char *) "toRemove", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= (bool)(arg1
)->Unsplit(arg2
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= PyInt_FromLong((long)result
);
5083 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5086 wxWindow
*arg2
= (wxWindow
*) 0 ;
5087 wxWindow
*arg3
= (wxWindow
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5090 PyObject
* obj1
= 0 ;
5091 PyObject
* obj2
= 0 ;
5093 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5099 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= PyInt_FromLong((long)result
);
5114 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5120 (char *) "self", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= PyInt_FromLong((long)result
);
5139 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5145 (char *) "self",(char *) "width", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 (arg1
)->SetSashSize(arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 Py_INCREF(Py_None
); resultobj
= Py_None
;
5164 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5168 PyObject
* obj0
= 0 ;
5170 (char *) "self",(char *) "width", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 (arg1
)->SetBorderSize(arg2
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "self", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= PyInt_FromLong((long)result
);
5214 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5220 (char *) "self", NULL
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= PyInt_FromLong((long)result
);
5239 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5243 bool arg3
= (bool) True
;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj2
= 0 ;
5247 (char *) "self",(char *) "position",(char *) "redraw", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5253 arg3
= PyInt_AsLong(obj2
) ? true : false;
5254 if (PyErr_Occurred()) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 (arg1
)->SetSashPosition(arg2
,arg3
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 Py_INCREF(Py_None
); resultobj
= Py_None
;
5270 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "self", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= PyInt_FromLong((long)result
);
5295 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5301 (char *) "self",(char *) "min", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 (arg1
)->SetMinimumPaneSize(arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 Py_INCREF(Py_None
); resultobj
= Py_None
;
5320 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= PyInt_FromLong((long)result
);
5345 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
;
5347 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5350 int arg4
= (int) 5 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 resultobj
= PyInt_FromLong((long)result
);
5373 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5376 PyObject
* obj0
= 0 ;
5378 (char *) "self", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 (arg1
)->SizeWindows();
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5404 (char *) "self",(char *) "needUpdating", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5409 arg2
= PyInt_AsLong(obj1
) ? true : false;
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 (arg1
)->SetNeedUpdating(arg2
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 Py_INCREF(Py_None
); resultobj
= Py_None
;
5425 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5431 (char *) "self", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= PyInt_FromLong((long)result
);
5450 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5453 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5455 return Py_BuildValue((char *)"");
5457 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5460 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5461 wxSplitterEvent
*result
;
5462 PyObject
* obj1
= 0 ;
5464 (char *) "type",(char *) "splitter", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5485 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5491 (char *) "self",(char *) "pos", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 (arg1
)->SetSashPosition(arg2
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5516 (char *) "self", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= PyInt_FromLong((long)result
);
5535 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5539 PyObject
* obj0
= 0 ;
5541 (char *) "self", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= wxPyMake_wxObject(result
);
5562 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5568 (char *) "self", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= PyInt_FromLong((long)result
);
5587 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5593 (char *) "self", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= PyInt_FromLong((long)result
);
5612 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5615 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5617 return Py_BuildValue((char *)"");
5619 static int _wrap_SashNameStr_set(PyObject
*_val
) {
5620 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
5625 static PyObject
*_wrap_SashNameStr_get() {
5630 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
5632 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
5639 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
5640 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
5645 static PyObject
*_wrap_SashLayoutNameStr_get() {
5650 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
5652 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
5659 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxWindow
*arg1
= (wxWindow
*) 0 ;
5663 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5665 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5666 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5667 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5668 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5669 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5670 wxSashWindow
*result
;
5673 bool temp6
= False
;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj2
= 0 ;
5676 PyObject
* obj3
= 0 ;
5677 PyObject
* obj5
= 0 ;
5679 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5698 arg6
= wxString_in_helper(obj5
);
5699 if (arg6
== NULL
) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5725 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxSashWindow
*result
;
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (wxSashWindow
*)new wxSashWindow();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5747 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5750 wxWindow
*arg2
= (wxWindow
*) 0 ;
5752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5756 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5757 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5762 bool temp7
= False
;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5765 PyObject
* obj3
= 0 ;
5766 PyObject
* obj4
= 0 ;
5767 PyObject
* obj6
= 0 ;
5769 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5778 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5784 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5789 arg7
= wxString_in_helper(obj6
);
5790 if (arg7
== NULL
) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= PyInt_FromLong((long)result
);
5816 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj2
= 0 ;
5824 (char *) "self",(char *) "edge",(char *) "sash", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5829 arg3
= PyInt_AsLong(obj2
) ? true : false;
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5838 Py_INCREF(Py_None
); resultobj
= Py_None
;
5845 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5850 PyObject
* obj0
= 0 ;
5852 (char *) "self",(char *) "edge", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= PyInt_FromLong((long)result
);
5871 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5877 PyObject
* obj2
= 0 ;
5879 (char *) "self",(char *) "edge",(char *) "border", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5884 arg3
= PyInt_AsLong(obj2
) ? true : false;
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5900 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "self",(char *) "edge", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= PyInt_FromLong((long)result
);
5926 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5933 (char *) "self",(char *) "edge", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= PyInt_FromLong((long)result
);
5952 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5956 PyObject
* obj0
= 0 ;
5958 (char *) "self",(char *) "width", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 (arg1
)->SetDefaultBorderSize(arg2
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 Py_INCREF(Py_None
); resultobj
= Py_None
;
5977 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= PyInt_FromLong((long)result
);
6002 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
*resultobj
;
6004 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6008 (char *) "self",(char *) "width", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 (arg1
)->SetExtraBorderSize(arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 Py_INCREF(Py_None
); resultobj
= Py_None
;
6027 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6031 PyObject
* obj0
= 0 ;
6033 (char *) "self", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= PyInt_FromLong((long)result
);
6052 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6056 PyObject
* obj0
= 0 ;
6058 (char *) "self",(char *) "min", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 (arg1
)->SetMinimumSizeX(arg2
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 Py_INCREF(Py_None
); resultobj
= Py_None
;
6077 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
;
6079 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6083 (char *) "self",(char *) "min", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 (arg1
)->SetMinimumSizeY(arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 Py_INCREF(Py_None
); resultobj
= Py_None
;
6102 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "self", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= PyInt_FromLong((long)result
);
6127 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6131 PyObject
* obj0
= 0 ;
6133 (char *) "self", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 resultobj
= PyInt_FromLong((long)result
);
6152 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "self",(char *) "max", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 (arg1
)->SetMaximumSizeX(arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 Py_INCREF(Py_None
); resultobj
= Py_None
;
6177 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6181 PyObject
* obj0
= 0 ;
6183 (char *) "self",(char *) "max", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 (arg1
)->SetMaximumSizeY(arg2
);
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 Py_INCREF(Py_None
); resultobj
= Py_None
;
6202 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6208 (char *) "self", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= PyInt_FromLong((long)result
);
6227 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6233 (char *) "self", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= PyInt_FromLong((long)result
);
6252 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6257 int arg4
= (int) 2 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= PyInt_FromLong((long)result
);
6280 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 (arg1
)->SizeWindows();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 Py_INCREF(Py_None
); resultobj
= Py_None
;
6304 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6307 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6309 return Py_BuildValue((char *)"");
6311 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 int arg1
= (int) 0 ;
6314 int arg2
= (int) wxSASH_NONE
;
6315 wxSashEvent
*result
;
6317 (char *) "id",(char *) "edge", NULL
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6335 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6341 (char *) "self",(char *) "edge", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 Py_INCREF(Py_None
); resultobj
= Py_None
;
6360 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6364 PyObject
* obj0
= 0 ;
6366 (char *) "self", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= PyInt_FromLong((long)result
);
6385 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6393 (char *) "self",(char *) "rect", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6400 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 Py_INCREF(Py_None
); resultobj
= Py_None
;
6416 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6436 resultptr
= new wxRect((wxRect
&) result
);
6437 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6445 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6451 (char *) "self",(char *) "status", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 Py_INCREF(Py_None
); resultobj
= Py_None
;
6470 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= PyInt_FromLong((long)result
);
6495 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6498 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6500 return Py_BuildValue((char *)"");
6502 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 int arg1
= (int) 0 ;
6505 wxQueryLayoutInfoEvent
*result
;
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6525 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self",(char *) "length", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 (arg1
)->SetRequestedLength(arg2
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 Py_INCREF(Py_None
); resultobj
= Py_None
;
6550 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6556 (char *) "self", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 resultobj
= PyInt_FromLong((long)result
);
6575 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6581 (char *) "self",(char *) "flags", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->SetFlags(arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6606 (char *) "self", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= PyInt_FromLong((long)result
);
6625 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6633 (char *) "self",(char *) "size", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 (arg1
)->SetSize((wxSize
const &)*arg2
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 Py_INCREF(Py_None
); resultobj
= Py_None
;
6656 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6676 resultptr
= new wxSize((wxSize
&) result
);
6677 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6685 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6691 (char *) "self",(char *) "orient", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 Py_INCREF(Py_None
); resultobj
= Py_None
;
6710 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6716 (char *) "self", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= PyInt_FromLong((long)result
);
6735 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6739 PyObject
* obj0
= 0 ;
6741 (char *) "self",(char *) "align", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6766 (char *) "self", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= PyInt_FromLong((long)result
);
6785 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6788 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
6790 return Py_BuildValue((char *)"");
6792 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 int arg1
= (int) 0 ;
6795 wxCalculateLayoutEvent
*result
;
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
6815 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6819 PyObject
* obj0
= 0 ;
6821 (char *) "self",(char *) "flags", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 (arg1
)->SetFlags(arg2
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 Py_INCREF(Py_None
); resultobj
= Py_None
;
6840 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6844 PyObject
* obj0
= 0 ;
6846 (char *) "self", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= PyInt_FromLong((long)result
);
6865 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6870 PyObject
* obj0
= 0 ;
6871 PyObject
* obj1
= 0 ;
6873 (char *) "self",(char *) "rect", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 (arg1
)->SetRect((wxRect
const &)*arg2
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 Py_INCREF(Py_None
); resultobj
= Py_None
;
6896 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6900 PyObject
* obj0
= 0 ;
6902 (char *) "self", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
6906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6916 resultptr
= new wxRect((wxRect
&) result
);
6917 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6925 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6928 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
6930 return Py_BuildValue((char *)"");
6932 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxWindow
*arg1
= (wxWindow
*) 0 ;
6936 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6937 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6938 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6939 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6940 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6941 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
6942 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6943 wxSashLayoutWindow
*result
;
6946 bool temp6
= False
;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj2
= 0 ;
6949 PyObject
* obj3
= 0 ;
6950 PyObject
* obj5
= 0 ;
6952 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6966 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6971 arg6
= wxString_in_helper(obj5
);
6972 if (arg6
== NULL
) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6998 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxSashLayoutWindow
*result
;
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7020 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7023 wxWindow
*arg2
= (wxWindow
*) 0 ;
7025 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7026 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7027 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7028 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7029 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7030 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7031 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7035 bool temp7
= False
;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7038 PyObject
* obj3
= 0 ;
7039 PyObject
* obj4
= 0 ;
7040 PyObject
* obj6
= 0 ;
7042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7047 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7051 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7057 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7062 arg7
= wxString_in_helper(obj6
);
7063 if (arg7
== NULL
) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= PyInt_FromLong((long)result
);
7089 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7095 (char *) "self", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (int)(arg1
)->GetAlignment();
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= PyInt_FromLong((long)result
);
7114 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7120 (char *) "self", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (int)(arg1
)->GetOrientation();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= PyInt_FromLong((long)result
);
7139 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7143 PyObject
* obj0
= 0 ;
7145 (char *) "self",(char *) "alignment", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 Py_INCREF(Py_None
); resultobj
= Py_None
;
7164 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7170 PyObject
* obj1
= 0 ;
7172 (char *) "self",(char *) "size", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7179 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7195 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7199 PyObject
* obj0
= 0 ;
7201 (char *) "self",(char *) "orientation", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7223 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7225 return Py_BuildValue((char *)"");
7227 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxLayoutAlgorithm
*result
;
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7249 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7254 (char *) "self", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 Py_INCREF(Py_None
); resultobj
= Py_None
;
7273 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7276 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7277 wxRect
*arg3
= (wxRect
*) NULL
;
7279 PyObject
* obj0
= 0 ;
7280 PyObject
* obj1
= 0 ;
7281 PyObject
* obj2
= 0 ;
7283 (char *) "self",(char *) "frame",(char *) "rect", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7288 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7290 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= PyInt_FromLong((long)result
);
7306 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7309 wxFrame
*arg2
= (wxFrame
*) 0 ;
7310 wxWindow
*arg3
= (wxWindow
*) NULL
;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7314 PyObject
* obj2
= 0 ;
7316 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7323 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= PyInt_FromLong((long)result
);
7339 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7342 wxWindow
*arg2
= (wxWindow
*) 0 ;
7343 wxWindow
*arg3
= (wxWindow
*) NULL
;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7347 PyObject
* obj2
= 0 ;
7349 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7356 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= PyInt_FromLong((long)result
);
7372 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7375 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7377 return Py_BuildValue((char *)"");
7379 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxWindow
*arg1
= (wxWindow
*) 0 ;
7382 int arg2
= (int) wxBORDER_NONE
;
7383 wxPopupWindow
*result
;
7384 PyObject
* obj0
= 0 ;
7386 (char *) "parent",(char *) "flags", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7405 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxPopupWindow
*result
;
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (wxPopupWindow
*)new wxPopupWindow();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7427 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7430 wxWindow
*arg2
= (wxWindow
*) 0 ;
7431 int arg3
= (int) wxBORDER_NONE
;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7436 (char *) "self",(char *) "parent",(char *) "flags", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= PyInt_FromLong((long)result
);
7456 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7463 PyObject
* obj0
= 0 ;
7464 PyObject
* obj1
= 0 ;
7465 PyObject
* obj2
= 0 ;
7467 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7478 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7497 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7499 return Py_BuildValue((char *)"");
7501 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxWindow
*arg1
= (wxWindow
*) 0 ;
7504 int arg2
= (int) wxBORDER_NONE
;
7505 wxPyPopupTransientWindow
*result
;
7506 PyObject
* obj0
= 0 ;
7508 (char *) "parent",(char *) "style", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7527 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxPyPopupTransientWindow
*result
;
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7549 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7552 PyObject
*arg2
= (PyObject
*) 0 ;
7553 PyObject
*arg3
= (PyObject
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7556 PyObject
* obj2
= 0 ;
7558 (char *) "self",(char *) "self",(char *) "_class", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 Py_INCREF(Py_None
); resultobj
= Py_None
;
7579 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7582 wxWindow
*arg2
= (wxWindow
*) NULL
;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7586 (char *) "self",(char *) "focus", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 (arg1
)->Popup(arg2
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 Py_INCREF(Py_None
); resultobj
= Py_None
;
7608 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7611 PyObject
* obj0
= 0 ;
7613 (char *) "self", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7635 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7637 return Py_BuildValue((char *)"");
7639 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxWindow
*arg1
= (wxWindow
*) 0 ;
7642 wxString
*arg2
= 0 ;
7643 int arg3
= (int) 100 ;
7644 wxRect
*arg4
= (wxRect
*) NULL
;
7645 wxTipWindow
*result
;
7646 bool temp2
= False
;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7649 PyObject
* obj3
= 0 ;
7651 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7657 arg2
= wxString_in_helper(obj1
);
7658 if (arg2
== NULL
) SWIG_fail
;
7662 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7686 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7694 (char *) "self",(char *) "rectBound", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7701 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 Py_INCREF(Py_None
); resultobj
= Py_None
;
7717 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 Py_INCREF(Py_None
); resultobj
= Py_None
;
7741 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7744 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7746 return Py_BuildValue((char *)"");
7748 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxWindow
*arg1
= (wxWindow
*) 0 ;
7751 int arg2
= (int) wxID_ANY
;
7752 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7753 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7754 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7755 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7756 long arg5
= (long) 0 ;
7757 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7758 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7759 wxPyVScrolledWindow
*result
;
7762 bool temp6
= False
;
7763 PyObject
* obj0
= 0 ;
7764 PyObject
* obj2
= 0 ;
7765 PyObject
* obj3
= 0 ;
7766 PyObject
* obj5
= 0 ;
7768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7782 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7787 arg6
= wxString_in_helper(obj5
);
7788 if (arg6
== NULL
) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7814 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxPyVScrolledWindow
*result
;
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7836 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7839 PyObject
*arg2
= (PyObject
*) 0 ;
7840 PyObject
*arg3
= (PyObject
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7843 PyObject
* obj2
= 0 ;
7845 (char *) "self",(char *) "self",(char *) "_class", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 Py_INCREF(Py_None
); resultobj
= Py_None
;
7866 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7869 wxWindow
*arg2
= (wxWindow
*) 0 ;
7870 int arg3
= (int) wxID_ANY
;
7871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7875 long arg6
= (long) 0 ;
7876 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7881 bool temp7
= False
;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7884 PyObject
* obj3
= 0 ;
7885 PyObject
* obj4
= 0 ;
7886 PyObject
* obj6
= 0 ;
7888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7908 arg7
= wxString_in_helper(obj6
);
7909 if (arg7
== NULL
) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= PyInt_FromLong((long)result
);
7935 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
;
7937 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7942 (char *) "self",(char *) "count", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7947 arg2
= (size_t) PyInt_AsLong(obj1
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 (arg1
)->SetLineCount(arg2
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 Py_INCREF(Py_None
); resultobj
= Py_None
;
7963 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7969 PyObject
* obj1
= 0 ;
7971 (char *) "self",(char *) "line", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7976 arg2
= (size_t) PyInt_AsLong(obj1
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (bool)(arg1
)->ScrollToLine(arg2
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= PyInt_FromLong((long)result
);
7992 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7999 (char *) "self",(char *) "lines", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (bool)(arg1
)->ScrollLines(arg2
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= PyInt_FromLong((long)result
);
8018 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
;
8020 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "self",(char *) "pages", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= (bool)(arg1
)->ScrollPages(arg2
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= PyInt_FromLong((long)result
);
8044 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8051 (char *) "self",(char *) "line", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8056 arg2
= (size_t) PyInt_AsLong(obj1
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->RefreshLine(arg2
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 PyObject
* obj2
= 0 ;
8081 (char *) "self",(char *) "from",(char *) "to", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8086 arg2
= (size_t) PyInt_AsLong(obj1
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8088 arg3
= (size_t) PyInt_AsLong(obj2
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 (arg1
)->RefreshLines(arg2
,arg3
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 Py_INCREF(Py_None
); resultobj
= Py_None
;
8104 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self",(char *) "x",(char *) "y", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyInt_FromLong((long)result
);
8131 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8140 (char *) "self",(char *) "pt", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= PyInt_FromLong((long)result
);
8163 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8168 (char *) "self", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->RefreshAll();
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8187 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
;
8189 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8191 PyObject
* obj0
= 0 ;
8193 (char *) "self", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= PyInt_FromLong((long)result
);
8212 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
;
8214 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8216 PyObject
* obj0
= 0 ;
8218 (char *) "self", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= PyInt_FromLong((long)result
);
8237 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8243 (char *) "self", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= PyInt_FromLong((long)result
);
8262 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8270 (char *) "self",(char *) "line", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8275 arg2
= (size_t) PyInt_AsLong(obj1
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= PyInt_FromLong((long)result
);
8291 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8294 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8296 return Py_BuildValue((char *)"");
8298 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
8299 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
8304 static PyObject
*_wrap_VListBoxNameStr_get() {
8309 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
8311 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
8318 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxWindow
*arg1
= (wxWindow
*) 0 ;
8321 int arg2
= (int) wxID_ANY
;
8322 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8323 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8324 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8325 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8326 long arg5
= (long) 0 ;
8327 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8328 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8329 wxPyVListBox
*result
;
8332 bool temp6
= False
;
8333 PyObject
* obj0
= 0 ;
8334 PyObject
* obj2
= 0 ;
8335 PyObject
* obj3
= 0 ;
8336 PyObject
* obj5
= 0 ;
8338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8352 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8357 arg6
= wxString_in_helper(obj5
);
8358 if (arg6
== NULL
) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8384 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
;
8386 wxPyVListBox
*result
;
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 result
= (wxPyVListBox
*)new wxPyVListBox();
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8406 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8409 PyObject
*arg2
= (PyObject
*) 0 ;
8410 PyObject
*arg3
= (PyObject
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 PyObject
* obj2
= 0 ;
8415 (char *) "self",(char *) "self",(char *) "_class", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8439 wxWindow
*arg2
= (wxWindow
*) 0 ;
8440 int arg3
= (int) wxID_ANY
;
8441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8445 long arg6
= (long) 0 ;
8446 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8451 bool temp7
= False
;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8454 PyObject
* obj3
= 0 ;
8455 PyObject
* obj4
= 0 ;
8456 PyObject
* obj6
= 0 ;
8458 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8463 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8478 arg7
= wxString_in_helper(obj6
);
8479 if (arg7
== NULL
) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= PyInt_FromLong((long)result
);
8505 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8511 (char *) "self", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= PyInt_FromLong((long)result
);
8530 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8534 PyObject
* obj0
= 0 ;
8536 (char *) "self", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= PyInt_FromLong((long)result
);
8555 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8561 (char *) "self", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= PyInt_FromLong((long)result
);
8580 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8588 (char *) "self",(char *) "item", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8593 arg2
= (size_t) PyInt_AsLong(obj1
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= PyInt_FromLong((long)result
);
8609 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8617 (char *) "self",(char *) "item", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8622 arg2
= (size_t) PyInt_AsLong(obj1
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= PyInt_FromLong((long)result
);
8638 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8642 PyObject
* obj0
= 0 ;
8644 (char *) "self", NULL
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= PyInt_FromLong((long)result
);
8663 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8666 unsigned long *arg2
= 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8671 (char *) "self",(char *) "cookie", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8678 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= PyInt_FromLong((long)result
);
8694 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8697 unsigned long *arg2
= 0 ;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8702 (char *) "self",(char *) "cookie", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8709 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= PyInt_FromLong((long)result
);
8725 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 wxPoint
* resultptr
;
8745 resultptr
= new wxPoint((wxPoint
&) result
);
8746 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8754 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8760 (char *) "self", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8769 result
= (wxColour
*) &_result_ref
;
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8782 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8787 PyObject
* obj1
= 0 ;
8789 (char *) "self",(char *) "count", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8794 arg2
= (size_t) PyInt_AsLong(obj1
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 (arg1
)->SetItemCount(arg2
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 Py_INCREF(Py_None
); resultobj
= Py_None
;
8810 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8813 PyObject
* obj0
= 0 ;
8815 (char *) "self", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
8819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8834 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8838 PyObject
* obj0
= 0 ;
8840 (char *) "self",(char *) "selection", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->SetSelection(arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8863 bool arg3
= (bool) True
;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 PyObject
* obj2
= 0 ;
8869 (char *) "self",(char *) "item",(char *) "select", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8874 arg2
= (size_t) PyInt_AsLong(obj1
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 arg3
= PyInt_AsLong(obj2
) ? true : false;
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= PyInt_FromLong((long)result
);
8894 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8902 PyObject
* obj2
= 0 ;
8904 (char *) "self",(char *) "from",(char *) "to", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8909 arg2
= (size_t) PyInt_AsLong(obj1
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8911 arg3
= (size_t) PyInt_AsLong(obj2
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= PyInt_FromLong((long)result
);
8927 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8934 (char *) "self",(char *) "item", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8939 arg2
= (size_t) PyInt_AsLong(obj1
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 (arg1
)->Toggle(arg2
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "self", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (bool)(arg1
)->SelectAll();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= PyInt_FromLong((long)result
);
8980 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "self", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (bool)(arg1
)->DeselectAll();
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= PyInt_FromLong((long)result
);
9005 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9013 (char *) "self",(char *) "pt", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9020 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "self",(char *) "x",(char *) "y", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 (arg1
)->SetMargins(arg2
,arg3
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 Py_INCREF(Py_None
); resultobj
= Py_None
;
9062 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9065 wxColour
*arg2
= 0 ;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj1
= 0 ;
9070 (char *) "self",(char *) "col", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 Py_INCREF(Py_None
); resultobj
= Py_None
;
9093 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9096 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9098 return Py_BuildValue((char *)"");
9100 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxWindow
*arg1
= (wxWindow
*) 0 ;
9103 int arg2
= (int) wxID_ANY
;
9104 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9105 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9106 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9107 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9108 long arg5
= (long) 0 ;
9109 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9110 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9111 wxPyHtmlListBox
*result
;
9114 bool temp6
= False
;
9115 PyObject
* obj0
= 0 ;
9116 PyObject
* obj2
= 0 ;
9117 PyObject
* obj3
= 0 ;
9118 PyObject
* obj5
= 0 ;
9120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9134 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9139 arg6
= wxString_in_helper(obj5
);
9140 if (arg6
== NULL
) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9166 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxPyHtmlListBox
*result
;
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9188 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9191 PyObject
*arg2
= (PyObject
*) 0 ;
9192 PyObject
*arg3
= (PyObject
*) 0 ;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9195 PyObject
* obj2
= 0 ;
9197 (char *) "self",(char *) "self",(char *) "_class", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 Py_INCREF(Py_None
); resultobj
= Py_None
;
9218 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9221 wxWindow
*arg2
= (wxWindow
*) 0 ;
9222 int arg3
= (int) wxID_ANY
;
9223 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9224 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9225 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9226 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9227 long arg6
= (long) 0 ;
9228 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9229 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9233 bool temp7
= False
;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9236 PyObject
* obj3
= 0 ;
9237 PyObject
* obj4
= 0 ;
9238 PyObject
* obj6
= 0 ;
9240 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9249 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9255 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9260 arg7
= wxString_in_helper(obj6
);
9261 if (arg7
== NULL
) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= PyInt_FromLong((long)result
);
9287 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 (arg1
)->RefreshAll();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 Py_INCREF(Py_None
); resultobj
= Py_None
;
9311 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9318 (char *) "self",(char *) "count", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9323 arg2
= (size_t) PyInt_AsLong(obj1
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->SetItemCount(arg2
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9342 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9344 return Py_BuildValue((char *)"");
9346 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxTaskBarIcon
*result
;
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9368 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9371 PyObject
* obj0
= 0 ;
9373 (char *) "self", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 Py_INCREF(Py_None
); resultobj
= Py_None
;
9392 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9398 (char *) "self", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= PyInt_FromLong((long)result
);
9417 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= PyInt_FromLong((long)result
);
9442 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9449 bool temp3
= False
;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9452 PyObject
* obj2
= 0 ;
9454 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9461 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9465 arg3
= wxString_in_helper(obj2
);
9466 if (arg3
== NULL
) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= PyInt_FromLong((long)result
);
9492 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (bool)(arg1
)->RemoveIcon();
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= PyInt_FromLong((long)result
);
9517 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9520 wxMenu
*arg2
= (wxMenu
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9525 (char *) "self",(char *) "menu", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (bool)(arg1
)->PopupMenu(arg2
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= PyInt_FromLong((long)result
);
9545 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9548 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9550 return Py_BuildValue((char *)"");
9552 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9555 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9556 wxTaskBarIconEvent
*result
;
9557 PyObject
* obj1
= 0 ;
9559 (char *) "evtType",(char *) "tbIcon", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9578 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9581 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9583 return Py_BuildValue((char *)"");
9585 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
9586 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
9591 static PyObject
*_wrap_FileSelectorPromptStr_get() {
9596 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
9598 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
9605 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
9606 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
9611 static PyObject
*_wrap_DirSelectorPromptStr_get() {
9616 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
9618 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
9625 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
9626 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
9631 static PyObject
*_wrap_DirDialogNameStr_get() {
9636 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
9638 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
9645 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
9646 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
9651 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
9656 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
9658 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
9665 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
9666 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
9671 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
9676 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
9678 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
9685 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
9686 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
9691 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
9696 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
9698 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
9705 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxColourData
*result
;
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 result
= (wxColourData
*)new wxColourData();
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9727 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxColourData
*arg1
= (wxColourData
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9732 (char *) "self", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxColourData
*arg1
= (wxColourData
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "self", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (bool)(arg1
)->GetChooseFull();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= PyInt_FromLong((long)result
);
9776 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxColourData
*arg1
= (wxColourData
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (arg1
)->GetColour();
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9795 wxColour
* resultptr
;
9796 resultptr
= new wxColour((wxColour
&) result
);
9797 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9805 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxColourData
*arg1
= (wxColourData
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9812 (char *) "self",(char *) "i", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (arg1
)->GetCustomColour(arg2
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9825 wxColour
* resultptr
;
9826 resultptr
= new wxColour((wxColour
&) result
);
9827 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9835 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxColourData
*arg1
= (wxColourData
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9841 (char *) "self",(char *) "flag", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 (arg1
)->SetChooseFull(arg2
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 Py_INCREF(Py_None
); resultobj
= Py_None
;
9860 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxColourData
*arg1
= (wxColourData
*) 0 ;
9863 wxColour
*arg2
= 0 ;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9868 (char *) "self",(char *) "colour", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 (arg1
)->SetColour((wxColour
const &)*arg2
);
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 Py_INCREF(Py_None
); resultobj
= Py_None
;
9891 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxColourData
*arg1
= (wxColourData
*) 0 ;
9895 wxColour
*arg3
= 0 ;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj2
= 0 ;
9900 (char *) "self",(char *) "i",(char *) "colour", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9907 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9923 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9928 return Py_BuildValue((char *)"");
9930 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxWindow
*arg1
= (wxWindow
*) 0 ;
9933 wxColourData
*arg2
= (wxColourData
*) NULL
;
9934 wxColourDialog
*result
;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9938 (char *) "parent",(char *) "data", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9960 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9963 wxColourData
*result
;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "self", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 wxColourData
&_result_ref
= (arg1
)->GetColourData();
9975 result
= (wxColourData
*) &_result_ref
;
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
9988 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9992 PyObject
* obj0
= 0 ;
9994 (char *) "self", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (int)(arg1
)->ShowModal();
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= PyInt_FromLong((long)result
);
10013 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10016 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10018 return Py_BuildValue((char *)"");
10020 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxWindow
*arg1
= (wxWindow
*) 0 ;
10023 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10024 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10025 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10027 long arg4
= (long) 0 ;
10028 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10029 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10030 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10031 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10032 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10033 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10034 wxDirDialog
*result
;
10035 bool temp2
= False
;
10036 bool temp3
= False
;
10039 bool temp7
= False
;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 PyObject
* obj2
= 0 ;
10043 PyObject
* obj4
= 0 ;
10044 PyObject
* obj5
= 0 ;
10045 PyObject
* obj6
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
10051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10054 arg2
= wxString_in_helper(obj1
);
10055 if (arg2
== NULL
) SWIG_fail
;
10061 arg3
= wxString_in_helper(obj2
);
10062 if (arg3
== NULL
) SWIG_fail
;
10069 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10075 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10080 arg7
= wxString_in_helper(obj6
);
10081 if (arg7
== NULL
) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
10123 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10127 PyObject
* obj0
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (arg1
)->GetPath();
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10154 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (arg1
)->GetMessage();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10185 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 char *kwnames
[] = {
10191 (char *) "self", NULL
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (long)(arg1
)->GetStyle();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= PyInt_FromLong((long)result
);
10210 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10213 wxString
*arg2
= 0 ;
10214 bool temp2
= False
;
10215 PyObject
* obj0
= 0 ;
10216 PyObject
* obj1
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self",(char *) "message", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10224 arg2
= wxString_in_helper(obj1
);
10225 if (arg2
== NULL
) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 (arg1
)->SetMessage((wxString
const &)*arg2
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 Py_INCREF(Py_None
); resultobj
= Py_None
;
10250 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10253 wxString
*arg2
= 0 ;
10254 bool temp2
= False
;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self",(char *) "path", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10264 arg2
= wxString_in_helper(obj1
);
10265 if (arg2
== NULL
) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 (arg1
)->SetPath((wxString
const &)*arg2
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 Py_INCREF(Py_None
); resultobj
= Py_None
;
10290 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (int)(arg1
)->ShowModal();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= PyInt_FromLong((long)result
);
10315 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10318 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10320 return Py_BuildValue((char *)"");
10322 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxWindow
*arg1
= (wxWindow
*) 0 ;
10325 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10326 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10327 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10328 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10329 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10330 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10331 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10332 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10333 long arg6
= (long) 0 ;
10334 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10335 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10336 wxFileDialog
*result
;
10337 bool temp2
= False
;
10338 bool temp3
= False
;
10339 bool temp4
= False
;
10340 bool temp5
= False
;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 PyObject
* obj2
= 0 ;
10345 PyObject
* obj3
= 0 ;
10346 PyObject
* obj4
= 0 ;
10347 PyObject
* obj6
= 0 ;
10348 char *kwnames
[] = {
10349 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10356 arg2
= wxString_in_helper(obj1
);
10357 if (arg2
== NULL
) SWIG_fail
;
10363 arg3
= wxString_in_helper(obj2
);
10364 if (arg3
== NULL
) SWIG_fail
;
10370 arg4
= wxString_in_helper(obj3
);
10371 if (arg4
== NULL
) SWIG_fail
;
10377 arg5
= wxString_in_helper(obj4
);
10378 if (arg5
== NULL
) SWIG_fail
;
10385 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10434 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10437 wxString
*arg2
= 0 ;
10438 bool temp2
= False
;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self",(char *) "message", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10448 arg2
= wxString_in_helper(obj1
);
10449 if (arg2
== NULL
) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->SetMessage((wxString
const &)*arg2
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10474 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10477 wxString
*arg2
= 0 ;
10478 bool temp2
= False
;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self",(char *) "path", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10488 arg2
= wxString_in_helper(obj1
);
10489 if (arg2
== NULL
) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 (arg1
)->SetPath((wxString
const &)*arg2
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 Py_INCREF(Py_None
); resultobj
= Py_None
;
10514 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10517 wxString
*arg2
= 0 ;
10518 bool temp2
= False
;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "dir", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10528 arg2
= wxString_in_helper(obj1
);
10529 if (arg2
== NULL
) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 Py_INCREF(Py_None
); resultobj
= Py_None
;
10554 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10557 wxString
*arg2
= 0 ;
10558 bool temp2
= False
;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self",(char *) "name", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10568 arg2
= wxString_in_helper(obj1
);
10569 if (arg2
== NULL
) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 (arg1
)->SetFilename((wxString
const &)*arg2
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 Py_INCREF(Py_None
); resultobj
= Py_None
;
10594 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10597 wxString
*arg2
= 0 ;
10598 bool temp2
= False
;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self",(char *) "wildCard", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10608 arg2
= wxString_in_helper(obj1
);
10609 if (arg2
== NULL
) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 Py_INCREF(Py_None
); resultobj
= Py_None
;
10634 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self",(char *) "style", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 (arg1
)->SetStyle(arg2
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 Py_INCREF(Py_None
); resultobj
= Py_None
;
10659 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "filterIndex", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->SetFilterIndex(arg2
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10715 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10746 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10777 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10808 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10839 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= PyInt_FromLong((long)result
);
10864 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= PyInt_FromLong((long)result
);
10889 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= result
;
10914 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= result
;
10939 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10942 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10944 return Py_BuildValue((char *)"");
10946 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxWindow
*arg1
= (wxWindow
*) 0 ;
10949 wxString
*arg2
= 0 ;
10950 wxString
*arg3
= 0 ;
10952 wxString
*arg5
= (wxString
*) 0 ;
10953 long arg6
= (long) wxCHOICEDLG_STYLE
;
10954 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10955 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10956 wxMultiChoiceDialog
*result
;
10957 bool temp2
= False
;
10958 bool temp3
= False
;
10959 bool temp5
= False
;
10961 PyObject
* obj0
= 0 ;
10962 PyObject
* obj1
= 0 ;
10963 PyObject
* obj2
= 0 ;
10964 PyObject
* obj4
= 0 ;
10965 PyObject
* obj6
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10973 arg2
= wxString_in_helper(obj1
);
10974 if (arg2
== NULL
) SWIG_fail
;
10978 arg3
= wxString_in_helper(obj2
);
10979 if (arg3
== NULL
) SWIG_fail
;
10983 arg5
= wxString_in_helper(obj4
);
10984 if (arg5
== NULL
) SWIG_fail
;
10990 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11031 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11034 wxArrayInt
*arg2
= 0 ;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "selections", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11044 if (! PySequence_Check(obj1
)) {
11045 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11048 arg2
= new wxArrayInt
;
11049 int i
, len
=PySequence_Length(obj1
);
11050 for (i
=0; i
<len
; i
++) {
11051 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11052 PyObject
* number
= PyNumber_Int(item
);
11053 arg2
->Add(PyInt_AS_LONG(number
));
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11065 Py_INCREF(Py_None
); resultobj
= Py_None
;
11067 if (arg2
) delete arg2
;
11072 if (arg2
) delete arg2
;
11078 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= result
;
11103 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11106 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11108 return Py_BuildValue((char *)"");
11110 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxWindow
*arg1
= (wxWindow
*) 0 ;
11113 wxString
*arg2
= 0 ;
11114 wxString
*arg3
= 0 ;
11116 wxString
*arg5
= (wxString
*) 0 ;
11117 long arg6
= (long) wxCHOICEDLG_STYLE
;
11118 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11119 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11120 wxSingleChoiceDialog
*result
;
11121 bool temp2
= False
;
11122 bool temp3
= False
;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 PyObject
* obj2
= 0 ;
11127 PyObject
* obj3
= 0 ;
11128 PyObject
* obj5
= 0 ;
11129 char *kwnames
[] = {
11130 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
11134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11136 arg2
= wxString_in_helper(obj1
);
11137 if (arg2
== NULL
) SWIG_fail
;
11141 arg3
= wxString_in_helper(obj2
);
11142 if (arg3
== NULL
) SWIG_fail
;
11146 arg4
= PyList_Size(obj3
);
11147 arg5
= wxString_LIST_helper(obj3
);
11148 if (arg5
== NULL
) SWIG_fail
;
11153 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11173 if (arg5
) delete [] arg5
;
11186 if (arg5
) delete [] arg5
;
11192 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (int)(arg1
)->GetSelection();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= PyInt_FromLong((long)result
);
11217 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
;
11219 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (arg1
)->GetStringSelection();
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11248 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11252 PyObject
* obj0
= 0 ;
11253 char *kwnames
[] = {
11254 (char *) "self",(char *) "sel", NULL
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 (arg1
)->SetSelection(arg2
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (int)(arg1
)->ShowModal();
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= PyInt_FromLong((long)result
);
11298 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11301 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11303 return Py_BuildValue((char *)"");
11305 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxWindow
*arg1
= (wxWindow
*) 0 ;
11308 wxString
*arg2
= 0 ;
11309 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11310 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11311 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11312 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11313 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11314 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11315 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11316 wxTextEntryDialog
*result
;
11317 bool temp2
= False
;
11318 bool temp3
= False
;
11319 bool temp4
= False
;
11321 PyObject
* obj0
= 0 ;
11322 PyObject
* obj1
= 0 ;
11323 PyObject
* obj2
= 0 ;
11324 PyObject
* obj3
= 0 ;
11325 PyObject
* obj5
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11333 arg2
= wxString_in_helper(obj1
);
11334 if (arg2
== NULL
) SWIG_fail
;
11339 arg3
= wxString_in_helper(obj2
);
11340 if (arg3
== NULL
) SWIG_fail
;
11346 arg4
= wxString_in_helper(obj3
);
11347 if (arg4
== NULL
) SWIG_fail
;
11354 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11395 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (arg1
)->GetValue();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11426 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11429 wxString
*arg2
= 0 ;
11430 bool temp2
= False
;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self",(char *) "value", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11440 arg2
= wxString_in_helper(obj1
);
11441 if (arg2
== NULL
) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 (arg1
)->SetValue((wxString
const &)*arg2
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 Py_INCREF(Py_None
); resultobj
= Py_None
;
11466 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "self", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)(arg1
)->ShowModal();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= PyInt_FromLong((long)result
);
11491 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11494 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11496 return Py_BuildValue((char *)"");
11498 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxFontData
*result
;
11501 char *kwnames
[] = {
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= (wxFontData
*)new wxFontData();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11520 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxFontData
*arg1
= (wxFontData
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "self", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxFontData
*arg1
= (wxFontData
*) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "self",(char *) "enable", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11556 arg2
= PyInt_AsLong(obj1
) ? true : false;
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 (arg1
)->EnableEffects(arg2
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11572 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxFontData
*arg1
= (wxFontData
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "self", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (bool)(arg1
)->GetAllowSymbols();
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= PyInt_FromLong((long)result
);
11597 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxFontData
*arg1
= (wxFontData
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (arg1
)->GetColour();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11616 wxColour
* resultptr
;
11617 resultptr
= new wxColour((wxColour
&) result
);
11618 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11626 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxFontData
*arg1
= (wxFontData
*) 0 ;
11630 PyObject
* obj0
= 0 ;
11631 char *kwnames
[] = {
11632 (char *) "self", NULL
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (arg1
)->GetChosenFont();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11645 wxFont
* resultptr
;
11646 resultptr
= new wxFont((wxFont
&) result
);
11647 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11655 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxFontData
*arg1
= (wxFontData
*) 0 ;
11659 PyObject
* obj0
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "self", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (bool)(arg1
)->GetEnableEffects();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= PyInt_FromLong((long)result
);
11680 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxFontData
*arg1
= (wxFontData
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (arg1
)->GetInitialFont();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 wxFont
* resultptr
;
11700 resultptr
= new wxFont((wxFont
&) result
);
11701 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11709 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxFontData
*arg1
= (wxFontData
*) 0 ;
11713 PyObject
* obj0
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (bool)(arg1
)->GetShowHelp();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= PyInt_FromLong((long)result
);
11734 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxFontData
*arg1
= (wxFontData
*) 0 ;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "allowSymbols", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11746 arg2
= PyInt_AsLong(obj1
) ? true : false;
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 (arg1
)->SetAllowSymbols(arg2
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 Py_INCREF(Py_None
); resultobj
= Py_None
;
11762 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxFontData
*arg1
= (wxFontData
*) 0 ;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "font", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11775 if (arg2
== NULL
) {
11776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 Py_INCREF(Py_None
); resultobj
= Py_None
;
11792 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxFontData
*arg1
= (wxFontData
*) 0 ;
11795 wxColour
*arg2
= 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "colour", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 (arg1
)->SetColour((wxColour
const &)*arg2
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 Py_INCREF(Py_None
); resultobj
= Py_None
;
11823 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxFontData
*arg1
= (wxFontData
*) 0 ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self",(char *) "font", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11836 if (arg2
== NULL
) {
11837 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 Py_INCREF(Py_None
); resultobj
= Py_None
;
11853 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxFontData
*arg1
= (wxFontData
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 char *kwnames
[] = {
11860 (char *) "self",(char *) "min",(char *) "max", NULL
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->SetRange(arg2
,arg3
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxFontData
*arg1
= (wxFontData
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 char *kwnames
[] = {
11886 (char *) "self",(char *) "showHelp", NULL
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11891 arg2
= PyInt_AsLong(obj1
) ? true : false;
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetShowHelp(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11910 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11912 return Py_BuildValue((char *)"");
11914 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxWindow
*arg1
= (wxWindow
*) 0 ;
11917 wxFontData
*arg2
= 0 ;
11918 wxFontDialog
*result
;
11919 PyObject
* obj0
= 0 ;
11920 PyObject
* obj1
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "parent",(char *) "data", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11928 if (arg2
== NULL
) {
11929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11945 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
;
11947 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11948 wxFontData
*result
;
11949 PyObject
* obj0
= 0 ;
11950 char *kwnames
[] = {
11951 (char *) "self", NULL
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11960 result
= (wxFontData
*) &_result_ref
;
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
11973 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (int)(arg1
)->ShowModal();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= PyInt_FromLong((long)result
);
11998 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12001 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12003 return Py_BuildValue((char *)"");
12005 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxWindow
*arg1
= (wxWindow
*) 0 ;
12008 wxString
*arg2
= 0 ;
12009 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12011 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12012 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12013 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12014 wxMessageDialog
*result
;
12015 bool temp2
= False
;
12016 bool temp3
= False
;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 PyObject
* obj2
= 0 ;
12021 PyObject
* obj4
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12029 arg2
= wxString_in_helper(obj1
);
12030 if (arg2
== NULL
) SWIG_fail
;
12035 arg3
= wxString_in_helper(obj2
);
12036 if (arg3
== NULL
) SWIG_fail
;
12043 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
12076 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (int)(arg1
)->ShowModal();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= PyInt_FromLong((long)result
);
12101 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12104 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12106 return Py_BuildValue((char *)"");
12108 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxString
*arg1
= 0 ;
12111 wxString
*arg2
= 0 ;
12112 int arg3
= (int) 100 ;
12113 wxWindow
*arg4
= (wxWindow
*) NULL
;
12114 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12115 wxProgressDialog
*result
;
12116 bool temp1
= False
;
12117 bool temp2
= False
;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 PyObject
* obj3
= 0 ;
12121 char *kwnames
[] = {
12122 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
12127 arg1
= wxString_in_helper(obj0
);
12128 if (arg1
== NULL
) SWIG_fail
;
12132 arg2
= wxString_in_helper(obj1
);
12133 if (arg2
== NULL
) SWIG_fail
;
12137 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
12169 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12173 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12174 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12176 bool temp3
= False
;
12177 PyObject
* obj0
= 0 ;
12178 PyObject
* obj2
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12187 arg3
= wxString_in_helper(obj2
);
12188 if (arg3
== NULL
) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= PyInt_FromLong((long)result
);
12214 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12217 PyObject
* obj0
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 Py_INCREF(Py_None
); resultobj
= Py_None
;
12238 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12241 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12243 return Py_BuildValue((char *)"");
12245 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12248 int arg2
= (int) 0 ;
12249 wxFindDialogEvent
*result
;
12250 char *kwnames
[] = {
12251 (char *) "commandType",(char *) "id", NULL
12254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12269 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (int)(arg1
)->GetFlags();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= PyInt_FromLong((long)result
);
12294 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 wxString
const &_result_ref
= (arg1
)->GetFindString();
12309 result
= (wxString
*) &_result_ref
;
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12319 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12328 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12343 result
= (wxString
*) &_result_ref
;
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12353 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12362 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12365 wxFindReplaceDialog
*result
;
12366 PyObject
* obj0
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12387 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self",(char *) "flags", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 (arg1
)->SetFlags(arg2
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 Py_INCREF(Py_None
); resultobj
= Py_None
;
12412 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12415 wxString
*arg2
= 0 ;
12416 bool temp2
= False
;
12417 PyObject
* obj0
= 0 ;
12418 PyObject
* obj1
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self",(char *) "str", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12426 arg2
= wxString_in_helper(obj1
);
12427 if (arg2
== NULL
) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 (arg1
)->SetFindString((wxString
const &)*arg2
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 Py_INCREF(Py_None
); resultobj
= Py_None
;
12452 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12455 wxString
*arg2
= 0 ;
12456 bool temp2
= False
;
12457 PyObject
* obj0
= 0 ;
12458 PyObject
* obj1
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self",(char *) "str", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12466 arg2
= wxString_in_helper(obj1
);
12467 if (arg2
== NULL
) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 Py_INCREF(Py_None
); resultobj
= Py_None
;
12492 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12495 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12497 return Py_BuildValue((char *)"");
12499 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 int arg1
= (int) 0 ;
12502 wxFindReplaceData
*result
;
12503 char *kwnames
[] = {
12504 (char *) "flags", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12522 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 Py_INCREF(Py_None
); resultobj
= Py_None
;
12546 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 wxString
const &_result_ref
= (arg1
)->GetFindString();
12561 result
= (wxString
*) &_result_ref
;
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12571 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12580 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12595 result
= (wxString
*) &_result_ref
;
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12605 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12614 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (int)(arg1
)->GetFlags();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= PyInt_FromLong((long)result
);
12639 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "flags", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 (arg1
)->SetFlags(arg2
);
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 Py_INCREF(Py_None
); resultobj
= Py_None
;
12664 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12667 wxString
*arg2
= 0 ;
12668 bool temp2
= False
;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "str", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12678 arg2
= wxString_in_helper(obj1
);
12679 if (arg2
== NULL
) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->SetFindString((wxString
const &)*arg2
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 Py_INCREF(Py_None
); resultobj
= Py_None
;
12704 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12707 wxString
*arg2
= 0 ;
12708 bool temp2
= False
;
12709 PyObject
* obj0
= 0 ;
12710 PyObject
* obj1
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self",(char *) "str", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12718 arg2
= wxString_in_helper(obj1
);
12719 if (arg2
== NULL
) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 Py_INCREF(Py_None
); resultobj
= Py_None
;
12744 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12747 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12749 return Py_BuildValue((char *)"");
12751 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxWindow
*arg1
= (wxWindow
*) 0 ;
12754 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12755 wxString
*arg3
= 0 ;
12756 int arg4
= (int) 0 ;
12757 wxFindReplaceDialog
*result
;
12758 bool temp3
= False
;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 PyObject
* obj2
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12770 arg3
= wxString_in_helper(obj2
);
12771 if (arg3
== NULL
) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12796 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxFindReplaceDialog
*result
;
12799 char *kwnames
[] = {
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12818 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12821 wxWindow
*arg2
= (wxWindow
*) 0 ;
12822 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12823 wxString
*arg4
= 0 ;
12824 int arg5
= (int) 0 ;
12826 bool temp4
= False
;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 PyObject
* obj2
= 0 ;
12830 PyObject
* obj3
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12838 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12840 arg4
= wxString_in_helper(obj3
);
12841 if (arg4
== NULL
) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= PyInt_FromLong((long)result
);
12866 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12869 wxFindReplaceData
*result
;
12870 PyObject
* obj0
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12891 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12894 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self",(char *) "data", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 (arg1
)->SetData(arg2
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 Py_INCREF(Py_None
); resultobj
= Py_None
;
12918 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12921 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12923 return Py_BuildValue((char *)"");
12925 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxWindow
*arg1
= (wxWindow
*) 0 ;
12929 wxString
*arg3
= 0 ;
12930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12934 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12935 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12937 wxMDIParentFrame
*result
;
12938 bool temp3
= False
;
12941 bool temp7
= False
;
12942 PyObject
* obj0
= 0 ;
12943 PyObject
* obj2
= 0 ;
12944 PyObject
* obj3
= 0 ;
12945 PyObject
* obj4
= 0 ;
12946 PyObject
* obj6
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12954 arg3
= wxString_in_helper(obj2
);
12955 if (arg3
== NULL
) SWIG_fail
;
12961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12972 arg7
= wxString_in_helper(obj6
);
12973 if (arg7
== NULL
) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13007 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxMDIParentFrame
*result
;
13010 char *kwnames
[] = {
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13029 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13032 wxWindow
*arg2
= (wxWindow
*) 0 ;
13034 wxString
*arg4
= 0 ;
13035 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13036 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13037 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13038 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13039 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13040 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13041 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13043 bool temp4
= False
;
13046 bool temp8
= False
;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 PyObject
* obj3
= 0 ;
13050 PyObject
* obj4
= 0 ;
13051 PyObject
* obj5
= 0 ;
13052 PyObject
* obj7
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13061 arg4
= wxString_in_helper(obj3
);
13062 if (arg4
== NULL
) SWIG_fail
;
13068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13074 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13079 arg8
= wxString_in_helper(obj7
);
13080 if (arg8
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= PyInt_FromLong((long)result
);
13114 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 (arg1
)->ActivateNext();
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 Py_INCREF(Py_None
); resultobj
= Py_None
;
13138 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 (arg1
)->ActivatePrevious();
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 Py_INCREF(Py_None
); resultobj
= Py_None
;
13162 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
;
13164 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 (arg1
)->ArrangeIcons();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 Py_INCREF(Py_None
); resultobj
= Py_None
;
13186 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 Py_INCREF(Py_None
); resultobj
= Py_None
;
13210 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13213 wxMDIChildFrame
*result
;
13214 PyObject
* obj0
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "self", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
13220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= wxPyMake_wxObject(result
);
13237 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13240 wxMDIClientWindow
*result
;
13241 PyObject
* obj0
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= wxPyMake_wxObject(result
);
13264 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
;
13266 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13268 PyObject
* obj0
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (wxWindow
*)(arg1
)->GetToolBar();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= wxPyMake_wxObject(result
);
13291 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
13301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= wxPyMake_wxObject(result
);
13318 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13321 wxMenu
*arg2
= (wxMenu
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "menu", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 (arg1
)->SetWindowMenu(arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 Py_INCREF(Py_None
); resultobj
= Py_None
;
13345 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13348 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "toolbar", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 (arg1
)->SetToolBar(arg2
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 Py_INCREF(Py_None
); resultobj
= Py_None
;
13372 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13375 PyObject
* obj0
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 Py_INCREF(Py_None
); resultobj
= Py_None
;
13396 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13399 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13401 return Py_BuildValue((char *)"");
13403 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13407 wxString
*arg3
= 0 ;
13408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13412 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13413 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13415 wxMDIChildFrame
*result
;
13416 bool temp3
= False
;
13419 bool temp7
= False
;
13420 PyObject
* obj0
= 0 ;
13421 PyObject
* obj2
= 0 ;
13422 PyObject
* obj3
= 0 ;
13423 PyObject
* obj4
= 0 ;
13424 PyObject
* obj6
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 arg3
= wxString_in_helper(obj2
);
13433 if (arg3
== NULL
) SWIG_fail
;
13439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13450 arg7
= wxString_in_helper(obj6
);
13451 if (arg7
== NULL
) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= wxPyMake_wxObject(result
);
13487 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxMDIChildFrame
*result
;
13490 char *kwnames
[] = {
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= wxPyMake_wxObject(result
);
13511 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13514 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13516 wxString
*arg4
= 0 ;
13517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13521 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13522 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13523 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13525 bool temp4
= False
;
13528 bool temp8
= False
;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 PyObject
* obj3
= 0 ;
13532 PyObject
* obj4
= 0 ;
13533 PyObject
* obj5
= 0 ;
13534 PyObject
* obj7
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13543 arg4
= wxString_in_helper(obj3
);
13544 if (arg4
== NULL
) SWIG_fail
;
13550 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13556 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13561 arg8
= wxString_in_helper(obj7
);
13562 if (arg8
== NULL
) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= PyInt_FromLong((long)result
);
13596 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 (arg1
)->Activate();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 Py_INCREF(Py_None
); resultobj
= Py_None
;
13620 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13624 PyObject
* obj0
= 0 ;
13625 PyObject
* obj1
= 0 ;
13626 char *kwnames
[] = {
13627 (char *) "self",(char *) "maximize", NULL
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13632 arg2
= PyInt_AsLong(obj1
) ? true : false;
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->Maximize(arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 Py_INCREF(Py_None
); resultobj
= Py_None
;
13648 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13651 PyObject
* obj0
= 0 ;
13652 char *kwnames
[] = {
13653 (char *) "self", NULL
13656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 Py_INCREF(Py_None
); resultobj
= Py_None
;
13672 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13675 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13677 return Py_BuildValue((char *)"");
13679 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13682 long arg2
= (long) 0 ;
13683 wxMDIClientWindow
*result
;
13684 PyObject
* obj0
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "parent",(char *) "style", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= wxPyMake_wxObject(result
);
13707 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxMDIClientWindow
*result
;
13710 char *kwnames
[] = {
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= wxPyMake_wxObject(result
);
13731 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13734 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13735 long arg3
= (long) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 PyObject
* obj1
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self",(char *) "parent",(char *) "style", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= PyInt_FromLong((long)result
);
13760 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13763 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13765 return Py_BuildValue((char *)"");
13767 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxWindow
*arg1
= (wxWindow
*) 0 ;
13771 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13772 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13773 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13774 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13775 long arg5
= (long) 0 ;
13776 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13777 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13778 wxPyWindow
*result
;
13781 bool temp6
= False
;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj2
= 0 ;
13784 PyObject
* obj3
= 0 ;
13785 PyObject
* obj5
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13806 arg6
= wxString_in_helper(obj5
);
13807 if (arg6
== NULL
) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13833 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13836 PyObject
*arg2
= (PyObject
*) 0 ;
13837 PyObject
*arg3
= (PyObject
*) 0 ;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 PyObject
* obj2
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self",(char *) "self",(char *) "_class", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13856 Py_INCREF(Py_None
); resultobj
= Py_None
;
13863 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
;
13865 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13898 int arg6
= (int) wxSIZE_AUTO
;
13899 PyObject
* obj0
= 0 ;
13900 char *kwnames
[] = {
13901 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 Py_INCREF(Py_None
); resultobj
= Py_None
;
13920 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13925 PyObject
* obj0
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self",(char *) "width",(char *) "height", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 Py_INCREF(Py_None
); resultobj
= Py_None
;
13946 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self",(char *) "x",(char *) "y", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 Py_INCREF(Py_None
); resultobj
= Py_None
;
13972 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13975 int *arg2
= (int *) 0 ;
13976 int *arg3
= (int *) 0 ;
13979 PyObject
* obj0
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 Py_INCREF(Py_None
); resultobj
= Py_None
;
13997 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13998 resultobj
= t_output_helper(resultobj
,o
);
14001 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14002 resultobj
= t_output_helper(resultobj
,o
);
14010 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14013 int *arg2
= (int *) 0 ;
14014 int *arg3
= (int *) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14036 resultobj
= t_output_helper(resultobj
,o
);
14039 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14040 resultobj
= t_output_helper(resultobj
,o
);
14048 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14051 int *arg2
= (int *) 0 ;
14052 int *arg3
= (int *) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 Py_INCREF(Py_None
); resultobj
= Py_None
;
14073 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14074 resultobj
= t_output_helper(resultobj
,o
);
14077 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14078 resultobj
= t_output_helper(resultobj
,o
);
14086 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14105 wxSize
* resultptr
;
14106 resultptr
= new wxSize((wxSize
&) result
);
14107 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14115 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14134 wxSize
* resultptr
;
14135 resultptr
= new wxSize((wxSize
&) result
);
14136 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14144 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14147 PyObject
* obj0
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 (arg1
)->base_InitDialog();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 Py_INCREF(Py_None
); resultobj
= Py_None
;
14168 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= (bool)(arg1
)->base_TransferDataToWindow();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= PyInt_FromLong((long)result
);
14193 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= PyInt_FromLong((long)result
);
14218 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (bool)(arg1
)->base_Validate();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= PyInt_FromLong((long)result
);
14243 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= PyInt_FromLong((long)result
);
14268 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= PyInt_FromLong((long)result
);
14293 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 wxSize
* resultptr
;
14313 resultptr
= new wxSize((wxSize
&) result
);
14314 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14322 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14325 wxWindow
*arg2
= (wxWindow
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self",(char *) "child", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 (arg1
)->base_AddChild(arg2
);
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14342 Py_INCREF(Py_None
); resultobj
= Py_None
;
14349 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14352 wxWindow
*arg2
= (wxWindow
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 PyObject
* obj1
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self",(char *) "child", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 (arg1
)->base_RemoveChild(arg2
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 Py_INCREF(Py_None
); resultobj
= Py_None
;
14376 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14379 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14381 return Py_BuildValue((char *)"");
14383 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxWindow
*arg1
= (wxWindow
*) 0 ;
14387 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14388 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14389 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14390 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14391 long arg5
= (long) 0 ;
14392 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14393 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14397 bool temp6
= False
;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj2
= 0 ;
14400 PyObject
* obj3
= 0 ;
14401 PyObject
* obj5
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14422 arg6
= wxString_in_helper(obj5
);
14423 if (arg6
== NULL
) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14449 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14452 PyObject
*arg2
= (PyObject
*) 0 ;
14453 PyObject
*arg3
= (PyObject
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 PyObject
* obj1
= 0 ;
14456 PyObject
* obj2
= 0 ;
14457 char *kwnames
[] = {
14458 (char *) "self",(char *) "self",(char *) "_class", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 Py_INCREF(Py_None
); resultobj
= Py_None
;
14507 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14514 int arg6
= (int) wxSIZE_AUTO
;
14515 PyObject
* obj0
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 Py_INCREF(Py_None
); resultobj
= Py_None
;
14536 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self",(char *) "width",(char *) "height", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 Py_INCREF(Py_None
); resultobj
= Py_None
;
14562 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self",(char *) "x",(char *) "y", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 Py_INCREF(Py_None
); resultobj
= Py_None
;
14588 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14591 int *arg2
= (int *) 0 ;
14592 int *arg3
= (int *) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14614 resultobj
= t_output_helper(resultobj
,o
);
14617 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14618 resultobj
= t_output_helper(resultobj
,o
);
14626 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14629 int *arg2
= (int *) 0 ;
14630 int *arg3
= (int *) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 Py_INCREF(Py_None
); resultobj
= Py_None
;
14651 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14652 resultobj
= t_output_helper(resultobj
,o
);
14655 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14656 resultobj
= t_output_helper(resultobj
,o
);
14664 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14667 int *arg2
= (int *) 0 ;
14668 int *arg3
= (int *) 0 ;
14671 PyObject
* obj0
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 Py_INCREF(Py_None
); resultobj
= Py_None
;
14689 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14690 resultobj
= t_output_helper(resultobj
,o
);
14693 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14694 resultobj
= t_output_helper(resultobj
,o
);
14702 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14721 wxSize
* resultptr
;
14722 resultptr
= new wxSize((wxSize
&) result
);
14723 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14731 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14750 wxSize
* resultptr
;
14751 resultptr
= new wxSize((wxSize
&) result
);
14752 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14760 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 (arg1
)->base_InitDialog();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "self", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (bool)(arg1
)->base_TransferDataToWindow();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= PyInt_FromLong((long)result
);
14809 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= PyInt_FromLong((long)result
);
14834 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (bool)(arg1
)->base_Validate();
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= PyInt_FromLong((long)result
);
14859 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= PyInt_FromLong((long)result
);
14884 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= PyInt_FromLong((long)result
);
14909 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14928 wxSize
* resultptr
;
14929 resultptr
= new wxSize((wxSize
&) result
);
14930 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14938 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14941 wxWindow
*arg2
= (wxWindow
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self",(char *) "child", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->base_AddChild(arg2
);
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 Py_INCREF(Py_None
); resultobj
= Py_None
;
14965 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14968 wxWindow
*arg2
= (wxWindow
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self",(char *) "child", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 (arg1
)->base_RemoveChild(arg2
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 Py_INCREF(Py_None
); resultobj
= Py_None
;
14992 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14995 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14997 return Py_BuildValue((char *)"");
14999 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
15000 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
15005 static PyObject
*_wrap_PrintoutTitleStr_get() {
15010 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
15012 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
15019 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
15020 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
15025 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
15030 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
15032 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
15039 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
;
15041 wxPrintData
*result
;
15042 char *kwnames
[] = {
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (wxPrintData
*)new wxPrintData();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
15061 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 Py_INCREF(Py_None
); resultobj
= Py_None
;
15085 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (int)(arg1
)->GetNoCopies();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= PyInt_FromLong((long)result
);
15110 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
15120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (bool)(arg1
)->GetCollate();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= PyInt_FromLong((long)result
);
15135 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15139 PyObject
* obj0
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "self", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
15145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (int)(arg1
)->GetOrientation();
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= PyInt_FromLong((long)result
);
15160 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
;
15162 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15164 PyObject
* obj0
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (bool)(arg1
)->Ok();
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= PyInt_FromLong((long)result
);
15185 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15189 PyObject
* obj0
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "self", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
15195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
15200 result
= (wxString
*) &_result_ref
;
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15219 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (bool)(arg1
)->GetColour();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= PyInt_FromLong((long)result
);
15244 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (int)(arg1
)->GetDuplex();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= PyInt_FromLong((long)result
);
15269 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (int)(arg1
)->GetPaperId();
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= PyInt_FromLong((long)result
);
15294 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
15309 result
= (wxSize
*) &_result_ref
;
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15322 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (int)(arg1
)->GetQuality();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= PyInt_FromLong((long)result
);
15347 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self",(char *) "v", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 (arg1
)->SetNoCopies(arg2
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 Py_INCREF(Py_None
); resultobj
= Py_None
;
15372 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "flag", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15384 arg2
= PyInt_AsLong(obj1
) ? true : false;
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 (arg1
)->SetCollate(arg2
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 Py_INCREF(Py_None
); resultobj
= Py_None
;
15400 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self",(char *) "orient", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 (arg1
)->SetOrientation(arg2
);
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 Py_INCREF(Py_None
); resultobj
= Py_None
;
15425 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15428 wxString
*arg2
= 0 ;
15429 bool temp2
= False
;
15430 PyObject
* obj0
= 0 ;
15431 PyObject
* obj1
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self",(char *) "name", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15439 arg2
= wxString_in_helper(obj1
);
15440 if (arg2
== NULL
) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 Py_INCREF(Py_None
); resultobj
= Py_None
;
15465 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self",(char *) "colour", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15477 arg2
= PyInt_AsLong(obj1
) ? true : false;
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 (arg1
)->SetColour(arg2
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 Py_INCREF(Py_None
); resultobj
= Py_None
;
15493 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self",(char *) "duplex", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 Py_INCREF(Py_None
); resultobj
= Py_None
;
15518 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self",(char *) "sizeId", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 Py_INCREF(Py_None
); resultobj
= Py_None
;
15543 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self",(char *) "sz", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15558 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 Py_INCREF(Py_None
); resultobj
= Py_None
;
15574 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "quality", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetQuality",kwnames
,&obj0
,&arg2
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 (arg1
)->SetQuality(arg2
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 Py_INCREF(Py_None
); resultobj
= Py_None
;
15599 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15614 result
= (wxString
*) &_result_ref
;
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15624 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15633 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15648 result
= (wxString
*) &_result_ref
;
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15658 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15667 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15682 result
= (wxString
*) &_result_ref
;
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15692 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15701 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 wxString
const &_result_ref
= (arg1
)->GetFilename();
15716 result
= (wxString
*) &_result_ref
;
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15735 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15750 result
= (wxString
*) &_result_ref
;
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15760 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15769 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (double)(arg1
)->GetPrinterScaleX();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= PyFloat_FromDouble(result
);
15794 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "self", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (double)(arg1
)->GetPrinterScaleY();
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= PyFloat_FromDouble(result
);
15819 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15821 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15823 PyObject
* obj0
= 0 ;
15824 char *kwnames
[] = {
15825 (char *) "self", NULL
15828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (long)(arg1
)->GetPrinterTranslateX();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= PyInt_FromLong((long)result
);
15844 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= (long)(arg1
)->GetPrinterTranslateY();
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= PyInt_FromLong((long)result
);
15869 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (int)(arg1
)->GetPrintMode();
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= PyInt_FromLong((long)result
);
15894 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15897 wxString
*arg2
= 0 ;
15898 bool temp2
= False
;
15899 PyObject
* obj0
= 0 ;
15900 PyObject
* obj1
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self",(char *) "command", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15908 arg2
= wxString_in_helper(obj1
);
15909 if (arg2
== NULL
) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15934 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15937 wxString
*arg2
= 0 ;
15938 bool temp2
= False
;
15939 PyObject
* obj0
= 0 ;
15940 PyObject
* obj1
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self",(char *) "options", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15948 arg2
= wxString_in_helper(obj1
);
15949 if (arg2
== NULL
) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 Py_INCREF(Py_None
); resultobj
= Py_None
;
15974 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15977 wxString
*arg2
= 0 ;
15978 bool temp2
= False
;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self",(char *) "command", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15988 arg2
= wxString_in_helper(obj1
);
15989 if (arg2
== NULL
) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 Py_INCREF(Py_None
); resultobj
= Py_None
;
16014 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16017 wxString
*arg2
= 0 ;
16018 bool temp2
= False
;
16019 PyObject
* obj0
= 0 ;
16020 PyObject
* obj1
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self",(char *) "filename", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16028 arg2
= wxString_in_helper(obj1
);
16029 if (arg2
== NULL
) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 (arg1
)->SetFilename((wxString
const &)*arg2
);
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 Py_INCREF(Py_None
); resultobj
= Py_None
;
16054 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16057 wxString
*arg2
= 0 ;
16058 bool temp2
= False
;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self",(char *) "path", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16068 arg2
= wxString_in_helper(obj1
);
16069 if (arg2
== NULL
) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 Py_INCREF(Py_None
); resultobj
= Py_None
;
16094 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "x", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 (arg1
)->SetPrinterScaleX(arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 Py_INCREF(Py_None
); resultobj
= Py_None
;
16119 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self",(char *) "y", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 (arg1
)->SetPrinterScaleY(arg2
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 Py_INCREF(Py_None
); resultobj
= Py_None
;
16144 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self",(char *) "x",(char *) "y", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 (arg1
)->SetPrinterScaling(arg2
,arg3
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16170 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self",(char *) "x", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->SetPrinterTranslateX(arg2
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self",(char *) "y", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 (arg1
)->SetPrinterTranslateY(arg2
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 Py_INCREF(Py_None
); resultobj
= Py_None
;
16220 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self",(char *) "x",(char *) "y", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 Py_INCREF(Py_None
); resultobj
= Py_None
;
16246 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16250 PyObject
* obj0
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "printMode", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 Py_INCREF(Py_None
); resultobj
= Py_None
;
16271 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
16273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16274 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
16276 return Py_BuildValue((char *)"");
16278 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxPageSetupDialogData
*result
;
16281 char *kwnames
[] = {
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
16300 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16303 PyObject
* obj0
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 PyObject
* obj1
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self",(char *) "flag", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16336 arg2
= PyInt_AsLong(obj1
) ? true : false;
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 (arg1
)->EnableHelp(arg2
);
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 Py_INCREF(Py_None
); resultobj
= Py_None
;
16352 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "flag", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16364 arg2
= PyInt_AsLong(obj1
) ? true : false;
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 (arg1
)->EnableMargins(arg2
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 Py_INCREF(Py_None
); resultobj
= Py_None
;
16380 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self",(char *) "flag", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16392 arg2
= PyInt_AsLong(obj1
) ? true : false;
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 (arg1
)->EnableOrientation(arg2
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "flag", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16420 arg2
= PyInt_AsLong(obj1
) ? true : false;
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 (arg1
)->EnablePaper(arg2
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 Py_INCREF(Py_None
); resultobj
= Py_None
;
16436 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "flag", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16448 arg2
= PyInt_AsLong(obj1
) ? true : false;
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 (arg1
)->EnablePrinter(arg2
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)(arg1
)->GetDefaultMinMargins();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= PyInt_FromLong((long)result
);
16489 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= (bool)(arg1
)->GetEnableMargins();
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= PyInt_FromLong((long)result
);
16514 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (bool)(arg1
)->GetEnableOrientation();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= PyInt_FromLong((long)result
);
16539 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (bool)(arg1
)->GetEnablePaper();
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= PyInt_FromLong((long)result
);
16564 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16568 PyObject
* obj0
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (bool)(arg1
)->GetEnablePrinter();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= PyInt_FromLong((long)result
);
16589 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (bool)(arg1
)->GetEnableHelp();
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= PyInt_FromLong((long)result
);
16614 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= (bool)(arg1
)->GetDefaultInfo();
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= PyInt_FromLong((long)result
);
16639 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16643 PyObject
* obj0
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= (arg1
)->GetMarginTopLeft();
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16658 wxPoint
* resultptr
;
16659 resultptr
= new wxPoint((wxPoint
&) result
);
16660 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16668 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (arg1
)->GetMarginBottomRight();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16687 wxPoint
* resultptr
;
16688 resultptr
= new wxPoint((wxPoint
&) result
);
16689 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16697 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
;
16699 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16701 PyObject
* obj0
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "self", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (arg1
)->GetMinMarginTopLeft();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16716 wxPoint
* resultptr
;
16717 resultptr
= new wxPoint((wxPoint
&) result
);
16718 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16726 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "self", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (arg1
)->GetMinMarginBottomRight();
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16745 wxPoint
* resultptr
;
16746 resultptr
= new wxPoint((wxPoint
&) result
);
16747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16755 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (int)(arg1
)->GetPaperId();
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= PyInt_FromLong((long)result
);
16780 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (arg1
)->GetPaperSize();
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16799 wxSize
* resultptr
;
16800 resultptr
= new wxSize((wxSize
&) result
);
16801 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16809 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16812 wxPrintData
*result
;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16824 result
= (wxPrintData
*) &_result_ref
;
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16837 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)(arg1
)->Ok();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= PyInt_FromLong((long)result
);
16862 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "self",(char *) "flag", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16874 arg2
= PyInt_AsLong(obj1
) ? true : false;
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 (arg1
)->SetDefaultInfo(arg2
);
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 Py_INCREF(Py_None
); resultobj
= Py_None
;
16890 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "flag", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16902 arg2
= PyInt_AsLong(obj1
) ? true : false;
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 (arg1
)->SetDefaultMinMargins(arg2
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16918 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16921 wxPoint
*arg2
= 0 ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self",(char *) "pt", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 Py_INCREF(Py_None
); resultobj
= Py_None
;
16949 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16951 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16952 wxPoint
*arg2
= 0 ;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self",(char *) "pt", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 Py_INCREF(Py_None
); resultobj
= Py_None
;
16980 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16983 wxPoint
*arg2
= 0 ;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self",(char *) "pt", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 Py_INCREF(Py_None
); resultobj
= Py_None
;
17011 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17014 wxPoint
*arg2
= 0 ;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self",(char *) "pt", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 Py_INCREF(Py_None
); resultobj
= Py_None
;
17042 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self",(char *) "id", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
17052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 Py_INCREF(Py_None
); resultobj
= Py_None
;
17067 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self",(char *) "size", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 Py_INCREF(Py_None
); resultobj
= Py_None
;
17098 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17101 wxPrintData
*arg2
= 0 ;
17102 PyObject
* obj0
= 0 ;
17103 PyObject
* obj1
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self",(char *) "printData", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17111 if (arg2
== NULL
) {
17112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 Py_INCREF(Py_None
); resultobj
= Py_None
;
17128 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17131 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
17133 return Py_BuildValue((char *)"");
17135 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxWindow
*arg1
= (wxWindow
*) 0 ;
17138 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
17139 wxPageSetupDialog
*result
;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "parent",(char *) "data", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
17165 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17168 wxPageSetupDialogData
*result
;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
17175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
17180 result
= (wxPageSetupDialogData
*) &_result_ref
;
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
17193 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (int)(arg1
)->ShowModal();
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= PyInt_FromLong((long)result
);
17218 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17221 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
17223 return Py_BuildValue((char *)"");
17225 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxPrintDialogData
*result
;
17228 char *kwnames
[] = {
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (wxPrintDialogData
*)new wxPrintDialogData();
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
17247 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17250 PyObject
* obj0
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
17256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 Py_INCREF(Py_None
); resultobj
= Py_None
;
17271 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17275 PyObject
* obj0
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= PyInt_FromLong((long)result
);
17296 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= PyInt_FromLong((long)result
);
17321 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
17331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= PyInt_FromLong((long)result
);
17346 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
17356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= PyInt_FromLong((long)result
);
17371 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17375 PyObject
* obj0
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= PyInt_FromLong((long)result
);
17396 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17398 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17400 PyObject
* obj0
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 resultobj
= PyInt_FromLong((long)result
);
17421 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17425 PyObject
* obj0
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= PyInt_FromLong((long)result
);
17446 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= PyInt_FromLong((long)result
);
17471 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= PyInt_FromLong((long)result
);
17496 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= PyInt_FromLong((long)result
);
17521 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "v", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 (arg1
)->SetFromPage(arg2
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 Py_INCREF(Py_None
); resultobj
= Py_None
;
17546 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17550 PyObject
* obj0
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "v", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 (arg1
)->SetToPage(arg2
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 Py_INCREF(Py_None
); resultobj
= Py_None
;
17571 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "v", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 (arg1
)->SetMinPage(arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 Py_INCREF(Py_None
); resultobj
= Py_None
;
17596 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self",(char *) "v", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->SetMaxPage(arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 Py_INCREF(Py_None
); resultobj
= Py_None
;
17621 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self",(char *) "v", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 (arg1
)->SetNoCopies(arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 Py_INCREF(Py_None
); resultobj
= Py_None
;
17646 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "flag", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17658 arg2
= PyInt_AsLong(obj1
) ? true : false;
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 (arg1
)->SetAllPages(arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 Py_INCREF(Py_None
); resultobj
= Py_None
;
17674 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self",(char *) "flag", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17686 arg2
= PyInt_AsLong(obj1
) ? true : false;
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 (arg1
)->SetSelection(arg2
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 Py_INCREF(Py_None
); resultobj
= Py_None
;
17702 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "flag", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17714 arg2
= PyInt_AsLong(obj1
) ? true : false;
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 (arg1
)->SetCollate(arg2
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 Py_INCREF(Py_None
); resultobj
= Py_None
;
17730 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self",(char *) "flag", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17742 arg2
= PyInt_AsLong(obj1
) ? true : false;
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 (arg1
)->SetPrintToFile(arg2
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17758 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "flag", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17770 arg2
= PyInt_AsLong(obj1
) ? true : false;
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 (arg1
)->SetSetupDialog(arg2
);
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 Py_INCREF(Py_None
); resultobj
= Py_None
;
17786 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "flag", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17798 arg2
= PyInt_AsLong(obj1
) ? true : false;
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 (arg1
)->EnablePrintToFile(arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 Py_INCREF(Py_None
); resultobj
= Py_None
;
17814 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "flag", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17826 arg2
= PyInt_AsLong(obj1
) ? true : false;
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 (arg1
)->EnableSelection(arg2
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 Py_INCREF(Py_None
); resultobj
= Py_None
;
17842 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self",(char *) "flag", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 arg2
= PyInt_AsLong(obj1
) ? true : false;
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 (arg1
)->EnablePageNumbers(arg2
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 Py_INCREF(Py_None
); resultobj
= Py_None
;
17870 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self",(char *) "flag", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17882 arg2
= PyInt_AsLong(obj1
) ? true : false;
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 (arg1
)->EnableHelp(arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= PyInt_FromLong((long)result
);
17923 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= PyInt_FromLong((long)result
);
17948 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= PyInt_FromLong((long)result
);
17973 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= PyInt_FromLong((long)result
);
17998 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= PyInt_FromLong((long)result
);
18023 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18026 wxPrintData
*result
;
18027 PyObject
* obj0
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18038 result
= (wxPrintData
*) &_result_ref
;
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18051 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18054 wxPrintData
*arg2
= 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "printData", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18064 if (arg2
== NULL
) {
18065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 Py_INCREF(Py_None
); resultobj
= Py_None
;
18081 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18084 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
18086 return Py_BuildValue((char *)"");
18088 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxWindow
*arg1
= (wxWindow
*) 0 ;
18091 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
18092 wxPrintDialog
*result
;
18093 PyObject
* obj0
= 0 ;
18094 PyObject
* obj1
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "parent",(char *) "data", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
18118 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18121 wxPrintDialogData
*result
;
18122 PyObject
* obj0
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18133 result
= (wxPrintDialogData
*) &_result_ref
;
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18146 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (wxDC
*)(arg1
)->GetPrintDC();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= wxPyMake_wxObject(result
);
18173 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18177 PyObject
* obj0
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (int)(arg1
)->ShowModal();
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= PyInt_FromLong((long)result
);
18198 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18201 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
18203 return Py_BuildValue((char *)"");
18205 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
18209 PyObject
* obj0
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "data", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (wxPrinter
*)new wxPrinter(arg1
);
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
18232 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 Py_INCREF(Py_None
); resultobj
= Py_None
;
18256 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18259 wxWindow
*arg2
= (wxWindow
*) 0 ;
18260 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 PyObject
* obj2
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self",(char *) "parent",(char *) "printout", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18271 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 (arg1
)->CreateAbortWindow(arg2
,arg3
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 Py_INCREF(Py_None
); resultobj
= Py_None
;
18286 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18289 wxPrintDialogData
*result
;
18290 PyObject
* obj0
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18301 result
= (wxPrintDialogData
*) &_result_ref
;
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18314 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18317 wxWindow
*arg2
= (wxWindow
*) 0 ;
18318 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18319 int arg4
= (int) True
;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 PyObject
* obj2
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18331 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= PyInt_FromLong((long)result
);
18346 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18349 wxWindow
*arg2
= (wxWindow
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "parent", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= wxPyMake_wxObject(result
);
18376 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18379 wxWindow
*arg2
= (wxWindow
*) 0 ;
18380 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18381 wxString
*arg4
= 0 ;
18382 bool temp4
= False
;
18383 PyObject
* obj0
= 0 ;
18384 PyObject
* obj1
= 0 ;
18385 PyObject
* obj2
= 0 ;
18386 PyObject
* obj3
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18394 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18396 arg4
= wxString_in_helper(obj3
);
18397 if (arg4
== NULL
) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18425 wxWindow
*arg2
= (wxWindow
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "parent", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (bool)(arg1
)->Setup(arg2
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= PyInt_FromLong((long)result
);
18450 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (bool)(arg1
)->GetAbort();
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= PyInt_FromLong((long)result
);
18475 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18478 char *kwnames
[] = {
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (int)wxPrinter::GetLastError();
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= PyInt_FromLong((long)result
);
18497 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18500 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18502 return Py_BuildValue((char *)"");
18504 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18507 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18508 wxPyPrintout
*result
;
18509 bool temp1
= False
;
18510 PyObject
* obj0
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "title", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18518 arg1
= wxString_in_helper(obj0
);
18519 if (arg1
== NULL
) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= wxPyMake_wxObject(result
);
18547 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18550 PyObject
*arg2
= (PyObject
*) 0 ;
18551 PyObject
*arg3
= (PyObject
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 PyObject
* obj2
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self",(char *) "self",(char *) "_class", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18608 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (wxDC
*)(arg1
)->GetDC();
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= wxPyMake_wxObject(result
);
18635 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18638 wxDC
*arg2
= (wxDC
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "dc", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 (arg1
)->SetDC(arg2
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 Py_INCREF(Py_None
); resultobj
= Py_None
;
18662 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self",(char *) "w",(char *) "h", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18691 int *arg2
= (int *) 0 ;
18692 int *arg3
= (int *) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 Py_INCREF(Py_None
); resultobj
= Py_None
;
18713 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18714 resultobj
= t_output_helper(resultobj
,o
);
18717 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18718 resultobj
= t_output_helper(resultobj
,o
);
18726 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self",(char *) "w",(char *) "h", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 Py_INCREF(Py_None
); resultobj
= Py_None
;
18752 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18755 int *arg2
= (int *) 0 ;
18756 int *arg3
= (int *) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 Py_INCREF(Py_None
); resultobj
= Py_None
;
18777 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18778 resultobj
= t_output_helper(resultobj
,o
);
18781 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18782 resultobj
= t_output_helper(resultobj
,o
);
18790 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self",(char *) "x",(char *) "y", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 (arg1
)->SetPPIScreen(arg2
,arg3
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 Py_INCREF(Py_None
); resultobj
= Py_None
;
18816 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18819 int *arg2
= (int *) 0 ;
18820 int *arg3
= (int *) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 (arg1
)->GetPPIScreen(arg2
,arg3
);
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 Py_INCREF(Py_None
); resultobj
= Py_None
;
18841 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18842 resultobj
= t_output_helper(resultobj
,o
);
18845 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18846 resultobj
= t_output_helper(resultobj
,o
);
18854 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self",(char *) "x",(char *) "y", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 Py_INCREF(Py_None
); resultobj
= Py_None
;
18880 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
;
18882 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18883 int *arg2
= (int *) 0 ;
18884 int *arg3
= (int *) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 Py_INCREF(Py_None
); resultobj
= Py_None
;
18905 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18906 resultobj
= t_output_helper(resultobj
,o
);
18909 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18910 resultobj
= t_output_helper(resultobj
,o
);
18918 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (bool)(arg1
)->IsPreview();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= PyInt_FromLong((long)result
);
18943 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self",(char *) "p", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18955 arg2
= PyInt_AsLong(obj1
) ? true : false;
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 (arg1
)->SetIsPreview(arg2
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 Py_INCREF(Py_None
); resultobj
= Py_None
;
18971 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18991 resultobj
= PyInt_FromLong((long)result
);
18998 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
;
19000 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19001 PyObject
* obj0
= 0 ;
19002 char *kwnames
[] = {
19003 (char *) "self", NULL
19006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
19007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 (arg1
)->base_OnEndDocument();
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 Py_INCREF(Py_None
); resultobj
= Py_None
;
19022 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
19031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->base_OnBeginPrinting();
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19046 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->base_OnEndPrinting();
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->base_OnPreparePrinting();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 Py_INCREF(Py_None
); resultobj
= Py_None
;
19094 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self",(char *) "page", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (bool)(arg1
)->base_HasPage(arg2
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= PyInt_FromLong((long)result
);
19120 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19123 int *arg2
= (int *) 0 ;
19124 int *arg3
= (int *) 0 ;
19125 int *arg4
= (int *) 0 ;
19126 int *arg5
= (int *) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 char *kwnames
[] = {
19133 (char *) "self", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19152 resultobj
= t_output_helper(resultobj
,o
);
19155 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19156 resultobj
= t_output_helper(resultobj
,o
);
19159 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
19160 resultobj
= t_output_helper(resultobj
,o
);
19163 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
19164 resultobj
= t_output_helper(resultobj
,o
);
19172 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
19174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19175 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
19177 return Py_BuildValue((char *)"");
19179 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19182 wxWindow
*arg2
= (wxWindow
*) 0 ;
19183 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19184 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19185 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19186 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19187 long arg5
= (long) 0 ;
19188 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
19189 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19190 wxPreviewCanvas
*result
;
19193 bool temp6
= False
;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 PyObject
* obj2
= 0 ;
19197 PyObject
* obj3
= 0 ;
19198 PyObject
* obj5
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19220 arg6
= wxString_in_helper(obj5
);
19221 if (arg6
== NULL
) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
19247 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
19249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19250 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
19252 return Py_BuildValue((char *)"");
19254 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19257 wxFrame
*arg2
= (wxFrame
*) 0 ;
19258 wxString
*arg3
= 0 ;
19259 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19260 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19261 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19262 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19263 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
19264 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19265 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19266 wxPreviewFrame
*result
;
19267 bool temp3
= False
;
19270 bool temp7
= False
;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 PyObject
* obj2
= 0 ;
19274 PyObject
* obj3
= 0 ;
19275 PyObject
* obj4
= 0 ;
19276 PyObject
* obj6
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19285 arg3
= wxString_in_helper(obj2
);
19286 if (arg3
== NULL
) SWIG_fail
;
19292 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19298 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19303 arg7
= wxString_in_helper(obj6
);
19304 if (arg7
== NULL
) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
19338 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19339 PyObject
*resultobj
;
19340 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->Initialize();
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19355 Py_INCREF(Py_None
); resultobj
= Py_None
;
19362 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19365 PyObject
* obj0
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->CreateControlBar();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19386 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 (arg1
)->CreateCanvas();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 Py_INCREF(Py_None
); resultobj
= Py_None
;
19410 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19413 wxPreviewControlBar
*result
;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19435 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19438 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19440 return Py_BuildValue((char *)"");
19442 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19446 wxWindow
*arg3
= (wxWindow
*) 0 ;
19447 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19448 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19449 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19450 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19451 long arg6
= (long) wxTAB_TRAVERSAL
;
19452 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19453 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19454 wxPreviewControlBar
*result
;
19457 bool temp7
= False
;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj2
= 0 ;
19460 PyObject
* obj3
= 0 ;
19461 PyObject
* obj4
= 0 ;
19462 PyObject
* obj6
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19469 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19484 arg7
= wxString_in_helper(obj6
);
19485 if (arg7
== NULL
) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19511 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19515 PyObject
* obj0
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= (int)(arg1
)->GetZoomControl();
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= PyInt_FromLong((long)result
);
19536 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self",(char *) "zoom", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 (arg1
)->SetZoomControl(arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 Py_INCREF(Py_None
); resultobj
= Py_None
;
19561 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19564 wxPrintPreview
*result
;
19565 PyObject
* obj0
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19586 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 Py_INCREF(Py_None
); resultobj
= Py_None
;
19610 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
;
19612 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 (arg1
)->OnPrevious();
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 Py_INCREF(Py_None
); resultobj
= Py_None
;
19634 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 Py_INCREF(Py_None
); resultobj
= Py_None
;
19682 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19685 PyObject
* obj0
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 Py_INCREF(Py_None
); resultobj
= Py_None
;
19706 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19709 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19711 return Py_BuildValue((char *)"");
19713 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19716 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19717 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19718 wxPrintPreview
*result
;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 PyObject
* obj2
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19728 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19730 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19746 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19751 PyObject
* obj0
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self",(char *) "pageNum", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= PyInt_FromLong((long)result
);
19772 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (int)(arg1
)->GetCurrentPage();
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= PyInt_FromLong((long)result
);
19797 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19800 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "printout", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 (arg1
)->SetPrintout(arg2
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 Py_INCREF(Py_None
); resultobj
= Py_None
;
19824 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19827 wxPyPrintout
*result
;
19828 PyObject
* obj0
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= wxPyMake_wxObject(result
);
19851 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19854 wxPyPrintout
*result
;
19855 PyObject
* obj0
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= wxPyMake_wxObject(result
);
19878 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19881 wxFrame
*arg2
= (wxFrame
*) 0 ;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self",(char *) "frame", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 (arg1
)->SetFrame(arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 Py_INCREF(Py_None
); resultobj
= Py_None
;
19905 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19908 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self",(char *) "canvas", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19917 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 (arg1
)->SetCanvas(arg2
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 Py_INCREF(Py_None
); resultobj
= Py_None
;
19932 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (wxFrame
*)(arg1
)->GetFrame();
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= wxPyMake_wxObject(result
);
19959 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19962 wxPreviewCanvas
*result
;
19963 PyObject
* obj0
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19984 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19987 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 PyObject
* obj2
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20000 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20001 if (arg3
== NULL
) {
20002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= PyInt_FromLong((long)result
);
20018 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20021 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 PyObject
* obj2
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20034 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20035 if (arg3
== NULL
) {
20036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= PyInt_FromLong((long)result
);
20052 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20057 PyObject
* obj0
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "pageNum", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (bool)(arg1
)->RenderPage(arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= PyInt_FromLong((long)result
);
20078 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20081 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "canvas", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 (arg1
)->AdjustScrollbars(arg2
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 Py_INCREF(Py_None
); resultobj
= Py_None
;
20105 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20107 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20108 wxPrintDialogData
*result
;
20109 PyObject
* obj0
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20120 result
= (wxPrintDialogData
*) &_result_ref
;
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
20133 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self",(char *) "percent", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 (arg1
)->SetZoom(arg2
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 Py_INCREF(Py_None
); resultobj
= Py_None
;
20158 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
20168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (int)(arg1
)->GetZoom();
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 resultobj
= PyInt_FromLong((long)result
);
20183 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20184 PyObject
*resultobj
;
20185 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20187 PyObject
* obj0
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "self", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= (int)(arg1
)->GetMaxPage();
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= PyInt_FromLong((long)result
);
20208 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (int)(arg1
)->GetMinPage();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= PyInt_FromLong((long)result
);
20233 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 result
= (bool)(arg1
)->Ok();
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= PyInt_FromLong((long)result
);
20258 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
;
20260 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self",(char *) "ok", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20270 arg2
= PyInt_AsLong(obj1
) ? true : false;
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->SetOk(arg2
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 Py_INCREF(Py_None
); resultobj
= Py_None
;
20286 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self",(char *) "interactive", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20299 arg2
= PyInt_AsLong(obj1
) ? true : false;
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (bool)(arg1
)->Print(arg2
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= PyInt_FromLong((long)result
);
20315 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20318 PyObject
* obj0
= 0 ;
20319 char *kwnames
[] = {
20320 (char *) "self", NULL
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 (arg1
)->DetermineScaling();
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 Py_INCREF(Py_None
); resultobj
= Py_None
;
20339 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20342 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
20344 return Py_BuildValue((char *)"");
20346 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20349 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20350 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20351 wxPyPrintPreview
*result
;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 PyObject
* obj2
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20363 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20379 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20382 PyObject
*arg2
= (PyObject
*) 0 ;
20383 PyObject
*arg3
= (PyObject
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 PyObject
* obj2
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "self",(char *) "_class", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 Py_INCREF(Py_None
); resultobj
= Py_None
;
20409 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self",(char *) "pageNum", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= PyInt_FromLong((long)result
);
20435 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20438 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20443 PyObject
* obj2
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20451 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20452 if (arg3
== NULL
) {
20453 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= PyInt_FromLong((long)result
);
20469 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20472 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 PyObject
* obj2
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20485 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20486 if (arg3
== NULL
) {
20487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= PyInt_FromLong((long)result
);
20503 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20505 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20508 PyObject
* obj0
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self",(char *) "pageNum", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= PyInt_FromLong((long)result
);
20529 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 char *kwnames
[] = {
20535 (char *) "self",(char *) "percent", NULL
20538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 (arg1
)->base_SetZoom(arg2
);
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 Py_INCREF(Py_None
); resultobj
= Py_None
;
20554 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "interactive", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20567 arg2
= PyInt_AsLong(obj1
) ? true : false;
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (bool)(arg1
)->base_Print(arg2
);
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= PyInt_FromLong((long)result
);
20583 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20586 PyObject
* obj0
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 (arg1
)->base_DetermineScaling();
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20600 Py_INCREF(Py_None
); resultobj
= Py_None
;
20607 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20610 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20612 return Py_BuildValue((char *)"");
20614 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20617 wxFrame
*arg2
= (wxFrame
*) 0 ;
20618 wxString
*arg3
= 0 ;
20619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20623 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20624 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20626 wxPyPreviewFrame
*result
;
20627 bool temp3
= False
;
20630 bool temp7
= False
;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20633 PyObject
* obj2
= 0 ;
20634 PyObject
* obj3
= 0 ;
20635 PyObject
* obj4
= 0 ;
20636 PyObject
* obj6
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20645 arg3
= wxString_in_helper(obj2
);
20646 if (arg3
== NULL
) SWIG_fail
;
20652 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20658 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20663 arg7
= wxString_in_helper(obj6
);
20664 if (arg7
== NULL
) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20698 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20701 PyObject
*arg2
= (PyObject
*) 0 ;
20702 PyObject
*arg3
= (PyObject
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 PyObject
* obj2
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self",(char *) "self",(char *) "_class", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 Py_INCREF(Py_None
); resultobj
= Py_None
;
20728 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20731 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "canvas", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 (arg1
)->SetPreviewCanvas(arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20758 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "bar", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 (arg1
)->SetControlBar(arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 Py_INCREF(Py_None
); resultobj
= Py_None
;
20782 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20785 PyObject
* obj0
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 (arg1
)->base_Initialize();
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 Py_INCREF(Py_None
); resultobj
= Py_None
;
20806 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->base_CreateCanvas();
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 Py_INCREF(Py_None
); resultobj
= Py_None
;
20830 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 (arg1
)->base_CreateControlBar();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 Py_INCREF(Py_None
); resultobj
= Py_None
;
20854 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20857 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20859 return Py_BuildValue((char *)"");
20861 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20865 wxWindow
*arg3
= (wxWindow
*) 0 ;
20866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20870 long arg6
= (long) 0 ;
20871 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20873 wxPyPreviewControlBar
*result
;
20876 bool temp7
= False
;
20877 PyObject
* obj0
= 0 ;
20878 PyObject
* obj2
= 0 ;
20879 PyObject
* obj3
= 0 ;
20880 PyObject
* obj4
= 0 ;
20881 PyObject
* obj6
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20888 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20903 arg7
= wxString_in_helper(obj6
);
20904 if (arg7
== NULL
) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20930 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20933 PyObject
*arg2
= (PyObject
*) 0 ;
20934 PyObject
*arg3
= (PyObject
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 PyObject
* obj2
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self",(char *) "self",(char *) "_class", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 Py_INCREF(Py_None
); resultobj
= Py_None
;
20960 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20963 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self",(char *) "preview", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 (arg1
)->SetPrintPreview(arg2
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 Py_INCREF(Py_None
); resultobj
= Py_None
;
20987 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 (arg1
)->base_CreateButtons();
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 Py_INCREF(Py_None
); resultobj
= Py_None
;
21011 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self",(char *) "zoom", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
21021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 (arg1
)->base_SetZoomControl(arg2
);
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 Py_INCREF(Py_None
); resultobj
= Py_None
;
21036 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21039 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
21041 return Py_BuildValue((char *)"");
21043 static PyMethodDef SwigMethods
[] = {
21044 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
21045 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
21046 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
21047 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21048 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
21049 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21050 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21051 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21052 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21053 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
21054 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
21055 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
21056 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
21057 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
21058 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
21059 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
21060 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
21061 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21062 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21063 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
21064 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
21065 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21066 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
21067 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
21068 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
21069 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
21070 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
21071 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
21072 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
21075 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
21086 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21093 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21098 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
21109 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21113 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
21121 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
21125 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
21129 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
21134 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
21149 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21151 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
21175 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21178 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
21182 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21185 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
21205 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
21213 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
21225 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
21231 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
21240 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
21246 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
21251 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
21257 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
21261 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21266 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
21272 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21276 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
21279 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
21287 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21292 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21293 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21294 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
21295 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21296 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
21297 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
21298 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
21299 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
21300 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21302 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
21303 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21304 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
21305 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21308 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
21312 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21313 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
21319 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
21320 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
21321 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
21322 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21323 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21326 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21327 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21328 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21329 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
21331 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21334 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
21335 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
21336 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21339 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21340 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21341 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
21343 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
21344 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21346 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21347 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21349 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21350 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21351 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21352 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21353 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21354 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21355 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21356 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21357 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21358 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21359 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21360 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21361 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21362 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21363 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21364 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21365 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21366 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21367 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21368 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21369 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21370 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21371 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21372 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21373 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21374 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21375 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21376 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21377 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21378 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21379 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21380 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21381 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21382 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21383 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21384 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21385 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21386 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21387 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21388 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21389 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21390 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21391 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21392 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21393 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21394 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21395 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21396 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21397 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21398 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21399 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21400 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21401 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21402 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21403 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21404 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21405 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21406 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21407 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21408 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21409 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21410 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21411 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21412 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21413 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21414 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21415 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21416 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21417 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21418 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21419 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21420 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21421 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21422 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21423 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21424 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21425 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21426 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21427 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21428 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21429 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21430 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21431 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21432 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21433 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21434 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21435 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21436 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21437 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21438 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21439 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21440 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21441 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21442 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21443 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21444 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21445 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21446 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21447 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21448 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21449 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21450 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21451 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21452 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21453 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21454 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21455 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21456 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21457 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21458 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21459 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21460 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21461 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21462 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21463 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21464 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21465 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21466 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21467 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21468 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21469 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21470 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21471 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21472 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21473 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21474 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21475 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21476 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21477 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21478 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21479 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21480 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21481 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21482 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21483 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21484 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21485 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21486 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21487 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21488 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21489 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21490 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21491 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21492 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21493 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21494 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21495 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21496 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21497 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21498 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21499 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21500 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21501 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21502 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21503 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21504 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21505 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21506 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21507 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21508 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21509 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21510 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21511 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21512 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21513 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21514 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21515 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21516 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21517 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21518 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21519 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21520 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21521 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21522 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21523 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21524 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21525 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21526 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21527 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21528 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21529 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21530 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21531 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21532 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21533 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21534 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21535 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21536 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21537 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21538 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21539 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21540 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21541 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21542 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21543 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21544 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21545 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21546 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21547 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21548 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21549 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21550 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21551 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21552 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21553 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21554 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21555 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21556 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21557 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21558 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21559 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21560 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21561 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21562 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21563 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21564 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21565 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21566 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21567 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21568 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21569 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21570 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21571 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21572 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21573 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21574 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21575 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21576 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21577 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21578 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21579 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21580 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21581 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21582 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21583 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21584 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21585 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21586 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21587 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21588 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21589 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21590 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21591 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21592 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21593 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21594 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21595 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21596 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21597 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21598 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21599 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21600 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21601 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21602 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21603 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21604 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21605 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21606 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21607 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21608 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21609 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21610 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21611 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21612 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21613 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21614 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21615 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21616 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21617 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21618 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21619 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21620 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21621 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21622 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21623 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21624 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21625 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21626 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21627 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21628 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21629 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21630 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21631 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21632 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21633 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21634 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21635 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21636 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21637 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21638 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21639 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21640 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21641 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21642 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21643 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21644 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21645 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21646 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21647 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21648 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21649 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21650 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21651 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21652 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21653 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21654 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21655 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21656 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21657 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21658 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21659 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21660 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21661 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21662 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21663 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21664 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21665 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21666 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21667 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21668 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21669 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21670 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21671 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21672 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21673 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21674 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21675 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21676 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21677 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21678 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21679 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21680 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21681 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21682 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21683 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21684 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21685 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21686 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21687 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21688 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21689 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21690 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21691 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21692 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21693 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21694 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21695 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21696 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21697 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21698 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21699 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21700 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21701 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21702 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21703 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21704 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21705 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21706 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21707 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21708 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21709 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21710 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21711 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21712 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21713 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21718 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21720 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21721 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21723 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21724 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21726 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21727 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21729 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21730 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21732 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21733 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21735 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21736 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21738 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21739 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21741 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21742 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21744 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21745 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21747 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21748 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21750 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21753 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21754 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21756 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21757 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21759 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21760 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21762 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21763 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21765 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21766 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21768 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21769 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21771 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21772 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21774 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21775 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21777 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21778 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21780 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21781 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21783 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21784 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21786 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21787 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21789 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21790 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21792 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21793 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21795 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21796 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21798 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21799 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21801 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21802 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21804 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21805 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21807 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21808 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21810 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21811 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21813 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21814 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21816 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21819 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21820 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21822 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21823 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21825 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21826 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21828 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21829 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21831 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21832 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21834 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21835 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21837 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21838 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21840 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21841 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21843 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21844 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21846 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21847 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21849 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21850 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21852 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21855 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21858 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21859 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21861 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21862 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21864 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21865 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21867 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21868 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21870 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21873 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21876 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21879 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21882 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21885 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21888 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21891 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21892 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21894 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21895 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21897 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21900 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21903 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21906 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21907 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21909 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21912 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21913 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21915 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21916 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21918 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21919 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21921 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21922 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21924 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21927 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21930 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21931 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21933 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21934 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21936 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21939 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21942 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21945 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21946 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21948 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21951 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21954 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21957 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21960 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21963 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21966 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21969 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21970 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21972 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21975 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21978 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21981 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21984 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21987 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21990 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21993 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21996 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21997 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21999 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
22000 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
22002 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
22003 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
22005 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
22006 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
22008 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
22009 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22011 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
22012 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
22014 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
22015 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
22017 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
22018 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
22020 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22021 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22023 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
22024 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
22026 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
22027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22029 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
22030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22032 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22033 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22035 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22036 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22038 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22041 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22042 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22044 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22045 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22047 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22048 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22050 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22051 return (void *)((wxObject
*) ((wxSizer
*) x
));
22053 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22054 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22056 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22057 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22059 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
22060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
22062 static void *_p_wxEventTo_p_wxObject(void *x
) {
22063 return (void *)((wxObject
*) ((wxEvent
*) x
));
22065 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
22066 return (void *)((wxObject
*) ((wxFontData
*) x
));
22068 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
22069 return (void *)((wxObject
*) ((wxPrintData
*) x
));
22071 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22072 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22074 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22075 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22077 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22078 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22080 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
22081 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
22083 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
22084 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
22086 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
22087 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22089 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22090 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22092 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22093 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22095 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22096 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22098 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22099 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22101 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22102 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22104 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22105 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22107 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
22108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22110 static void *_p_wxControlTo_p_wxObject(void *x
) {
22111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22113 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22114 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22116 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
22117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22119 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22120 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22122 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
22123 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
22125 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22126 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22128 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
22129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22131 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
22132 return (void *)((wxObject
*) ((wxColourData
*) x
));
22134 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22135 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22137 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22140 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
22141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
22143 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
22144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22146 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
22147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22149 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
22150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22152 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
22153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22155 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
22156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22158 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
22159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22161 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
22162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22164 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
22165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22167 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22168 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22170 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
22171 return (void *)((wxObject
*) ((wxPrinter
*) x
));
22173 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22174 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22176 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22177 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22179 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22182 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22183 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22185 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22186 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22188 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22189 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22191 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22192 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22194 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22195 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22197 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22198 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22200 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22201 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22203 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22204 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22206 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22209 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22210 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22212 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22213 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22215 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22216 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22218 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22219 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22221 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22222 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22224 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22225 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22227 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22228 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22230 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22231 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22233 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22234 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22236 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22237 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22239 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
22240 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
22242 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
22243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22245 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
22246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22248 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22249 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22251 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
22252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22254 static void *_p_wxImageTo_p_wxObject(void *x
) {
22255 return (void *)((wxObject
*) ((wxImage
*) x
));
22257 static void *_p_wxFrameTo_p_wxObject(void *x
) {
22258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22260 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
22261 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
22263 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22264 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22266 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
22267 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
22269 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
22270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
22272 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
22273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22275 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22278 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22279 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22281 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22282 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22284 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22285 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22287 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22288 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22290 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22293 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
22294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22296 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
22297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
22299 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
22300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
22302 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
22303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
22305 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
22306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
22308 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
22309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22311 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
22312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
22314 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
22315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22317 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
22318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22320 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
22321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22323 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
22324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
22326 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
22327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
22329 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
22330 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
22332 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
22333 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22335 static void *_p_wxPanelTo_p_wxObject(void *x
) {
22336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
22338 static void *_p_wxDialogTo_p_wxObject(void *x
) {
22339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22341 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
22342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22344 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
22345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22347 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
22348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22350 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
22351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22353 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
22354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22356 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22357 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22359 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22362 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22363 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22365 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22366 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22368 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22369 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22371 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22372 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22374 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22375 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22377 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22380 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22381 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22383 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22386 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22389 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22390 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22392 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22393 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22395 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22398 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22401 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22402 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22404 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22405 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22407 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22410 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22411 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22413 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22414 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22416 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22417 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22419 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
22420 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22422 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22423 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22425 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22426 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22428 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22429 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22431 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22432 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22434 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22435 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22437 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22438 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22440 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22441 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22443 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22444 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22446 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22447 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22449 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22450 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22452 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22453 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22455 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22456 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22458 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22459 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22461 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22462 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22464 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22465 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22467 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22468 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22470 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22471 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22473 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22474 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22476 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22477 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22479 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22480 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22482 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22483 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22485 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22486 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22488 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22489 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22491 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22492 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22494 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22495 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22497 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22498 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22500 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22501 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22503 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22504 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22506 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22507 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22509 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22510 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22512 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22513 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22515 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22516 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22518 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22519 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22521 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22522 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22524 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22525 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22527 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22528 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22530 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22531 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22533 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22534 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22536 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22537 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22539 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22540 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22542 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22543 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22545 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22546 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22548 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22549 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22551 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22552 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22554 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22555 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22557 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22558 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22560 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22561 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22563 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22564 return (void *)((wxWindow
*) ((wxControl
*) x
));
22566 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22567 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22569 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22570 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22572 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22573 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22575 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22576 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22578 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22579 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22581 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22582 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22584 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22585 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22587 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22588 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22590 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22591 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22593 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22594 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22596 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22597 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22599 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22600 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22602 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22603 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22605 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22606 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22608 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22609 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22611 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22612 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22614 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22615 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22617 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22618 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22620 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22621 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22623 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22624 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22626 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22627 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22629 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22630 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22632 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22633 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22635 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22636 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22638 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22639 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22641 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22642 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22644 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22645 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22647 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22648 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22650 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22651 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22653 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22654 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22656 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22657 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22659 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22660 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22662 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22663 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22665 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22666 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22668 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22669 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22671 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22672 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22674 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22675 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22677 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22678 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22680 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22681 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22683 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22684 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22686 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22687 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22689 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22690 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22692 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22693 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22695 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22696 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22698 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22699 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22701 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22702 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22704 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22705 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22707 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22708 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22710 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22711 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22713 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22714 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22716 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22717 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22719 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22720 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22721 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22722 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22723 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22724 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22725 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22726 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}};
22727 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22728 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22729 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22730 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22731 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22732 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22733 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22734 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22735 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22736 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22737 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22738 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22739 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22740 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22741 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22742 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22743 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22744 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22745 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22746 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22747 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22748 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22749 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22750 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22751 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22752 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22753 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22754 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}};
22755 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22756 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22757 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22758 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22759 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22760 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}};
22761 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22762 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22763 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22764 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22765 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22766 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22767 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}};
22768 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22769 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22770 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22771 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22772 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22773 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}};
22774 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22775 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}};
22776 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22777 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}};
22778 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}};
22779 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22780 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22781 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22782 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22783 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22784 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22785 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22786 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22787 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22788 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22789 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22790 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}};
22791 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}};
22792 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22793 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22794 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}};
22795 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22796 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22797 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22798 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22799 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22800 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22802 static swig_type_info
*swig_types_initial
[] = {
22803 _swigt__p_wxQueryLayoutInfoEvent
,
22804 _swigt__p_wxPreviewFrame
,
22805 _swigt__p_wxPyPreviewFrame
,
22806 _swigt__p_wxPyPanel
,
22808 _swigt__p_wxPrintData
,
22809 _swigt__p_wxFontData
,
22811 _swigt__p_wxTaskBarIcon
,
22812 _swigt__p_wxIconBundle
,
22813 _swigt__p_wxLayoutAlgorithm
,
22814 _swigt__p_wxFindDialogEvent
,
22815 _swigt__p_wxPreviewCanvas
,
22817 _swigt__p_wxSplitterEvent
,
22818 _swigt__p_wxRegion
,
22819 _swigt__p_wxFindReplaceData
,
22824 _swigt__p_wxMDIChildFrame
,
22825 _swigt__p_wxColourData
,
22826 _swigt__p_wxNotifyEvent
,
22827 _swigt__p_wxPyWindow
,
22828 _swigt__p_wxSplashScreen
,
22829 _swigt__p_wxFindReplaceDialog
,
22830 _swigt__p_wxProgressDialog
,
22831 _swigt__p_wxMessageDialog
,
22832 _swigt__p_wxTextEntryDialog
,
22833 _swigt__p_wxSingleChoiceDialog
,
22834 _swigt__p_wxMultiChoiceDialog
,
22835 _swigt__p_wxFileDialog
,
22836 _swigt__p_wxPrinter
,
22837 _swigt__p_wxArrayInt
,
22838 _swigt__p_wxEvtHandler
,
22839 _swigt__p_wxCalculateLayoutEvent
,
22840 _swigt__p_wxPyHtmlListBox
,
22841 _swigt__p_wxPyVListBox
,
22843 _swigt__p_wxMiniFrame
,
22845 _swigt__p_wxPyPrintout
,
22846 _swigt__p_wxTaskBarIconEvent
,
22847 _swigt__p_wxScrollWinEvent
,
22848 _swigt__p_wxStatusBar
,
22849 _swigt__p_wxMDIParentFrame
,
22851 _swigt__p_wxObject
,
22852 _swigt__p_unsigned_long
,
22853 _swigt__p_wxMDIClientWindow
,
22854 _swigt__p_wxTipWindow
,
22855 _swigt__p_wxSashLayoutWindow
,
22856 _swigt__p_wxSplitterWindow
,
22857 _swigt__p_wxPyVScrolledWindow
,
22858 _swigt__p_wxPyPopupTransientWindow
,
22859 _swigt__p_wxPopupWindow
,
22860 _swigt__p_wxSashWindow
,
22861 _swigt__p_wxTopLevelWindow
,
22862 _swigt__p_wxWindow
,
22863 _swigt__p_wxScrolledWindow
,
22864 _swigt__p_wxSplashScreenWindow
,
22865 _swigt__p_wxMenuBar
,
22866 _swigt__p_wxPrintPreview
,
22867 _swigt__p_wxSashEvent
,
22868 _swigt__p_wxString
,
22869 _swigt__p_wxPyPrintPreview
,
22870 _swigt__p_wxPageSetupDialog
,
22871 _swigt__p_wxFontDialog
,
22872 _swigt__p_wxDirDialog
,
22873 _swigt__p_wxColourDialog
,
22874 _swigt__p_wxDialog
,
22876 _swigt__p_wxPrintDialog
,
22877 _swigt__p_wxBitmap
,
22878 _swigt__p_wxCommandEvent
,
22879 _swigt__p_wxPreviewControlBar
,
22880 _swigt__p_wxPyPreviewControlBar
,
22881 _swigt__p_wxColour
,
22882 _swigt__p_wxToolBar
,
22883 _swigt__p_wxPrintDialogData
,
22884 _swigt__p_wxPageSetupDialogData
,
22889 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22891 static swig_const_info swig_const_table
[] = {
22892 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22893 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22894 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22895 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22896 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22897 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22898 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22899 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22900 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22901 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22902 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22903 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22904 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22905 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22906 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22907 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22908 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22909 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22910 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22911 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22912 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22913 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22914 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22915 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22916 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22917 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22918 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22919 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22920 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22921 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22922 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22923 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22924 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22925 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22926 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22927 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22928 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22929 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22930 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22931 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22932 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22933 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22934 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22935 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22936 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22937 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22938 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22939 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22940 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22941 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22942 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22943 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22944 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22945 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22946 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22947 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22948 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22949 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22950 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22951 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22952 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22953 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22954 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22955 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22956 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22957 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22958 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22959 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22960 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22961 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22962 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22963 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22964 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22965 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22966 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22967 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22968 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22969 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22970 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22971 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22972 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22973 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22974 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22975 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22976 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22977 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22978 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22979 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22980 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22981 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22982 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22983 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22984 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22985 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22986 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22987 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22988 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22989 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22990 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22991 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22992 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22993 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22994 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22995 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22996 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22997 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22998 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22999 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
23000 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
23010 SWIGEXPORT(void) SWIG_init(void) {
23011 static PyObject
*SWIG_globals
= 0;
23012 static int typeinit
= 0;
23015 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23016 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23017 d
= PyModule_GetDict(m
);
23020 for (i
= 0; swig_types_initial
[i
]; i
++) {
23021 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
23025 SWIG_InstallConstants(d
,swig_const_table
);
23027 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23028 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
23029 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
23030 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
23031 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
23032 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
23033 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
23034 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
23035 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
23036 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
23037 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
23038 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
23039 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
23040 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
23041 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
23042 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
23044 // Map renamed classes back to their common name for OOR
23045 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23046 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23047 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23049 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
23050 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
23051 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
23052 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
23053 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
23054 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
23055 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
23056 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
23057 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
23058 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
23059 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
23060 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
23061 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
23062 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
23063 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
23064 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
23065 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
23066 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
23067 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
23068 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
23070 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");