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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
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
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
234 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
235 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
236 #define SWIGTYPE_p_wxPyPanel swig_types[3]
237 #define SWIGTYPE_p_wxMenu swig_types[4]
238 #define SWIGTYPE_p_wxPrintData swig_types[5]
239 #define SWIGTYPE_p_wxFontData swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
242 #define SWIGTYPE_p_wxIconBundle swig_types[9]
243 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
244 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
245 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
248 #define SWIGTYPE_p_wxRegion swig_types[15]
249 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
250 #define SWIGTYPE_p_int swig_types[17]
251 #define SWIGTYPE_p_wxSize swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxIcon swig_types[20]
254 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
255 #define SWIGTYPE_p_wxColourData swig_types[22]
256 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
257 #define SWIGTYPE_p_wxPyWindow swig_types[24]
258 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
259 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
260 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
261 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
262 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
263 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
264 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
265 #define SWIGTYPE_p_wxFileDialog swig_types[32]
266 #define SWIGTYPE_p_wxPrinter swig_types[33]
267 #define SWIGTYPE_p_wxArrayInt swig_types[34]
268 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
269 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
271 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
272 #define SWIGTYPE_p_wxRect swig_types[39]
273 #define SWIGTYPE_p_char swig_types[40]
274 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
275 #define SWIGTYPE_p_wxFrame swig_types[42]
276 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
277 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
278 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
279 #define SWIGTYPE_p_wxStatusBar swig_types[46]
280 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
281 #define SWIGTYPE_p_wxPoint swig_types[48]
282 #define SWIGTYPE_p_wxObject swig_types[49]
283 #define SWIGTYPE_p_wxOutputStream swig_types[50]
284 #define SWIGTYPE_p_unsigned_long swig_types[51]
285 #define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
286 #define SWIGTYPE_p_wxTipWindow swig_types[53]
287 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54]
288 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
289 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
290 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57]
291 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
292 #define SWIGTYPE_p_wxSashWindow swig_types[59]
293 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
294 #define SWIGTYPE_p_wxWindow swig_types[61]
295 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
296 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
297 #define SWIGTYPE_p_wxMenuBar swig_types[64]
298 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
299 #define SWIGTYPE_p_wxSashEvent swig_types[66]
300 #define SWIGTYPE_p_wxString swig_types[67]
301 #define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
302 #define SWIGTYPE_p_wxFontDialog swig_types[69]
303 #define SWIGTYPE_p_wxDirDialog swig_types[70]
304 #define SWIGTYPE_p_wxColourDialog swig_types[71]
305 #define SWIGTYPE_p_wxDialog swig_types[72]
306 #define SWIGTYPE_p_wxPanel swig_types[73]
307 #define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
308 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
309 #define SWIGTYPE_p_wxBitmap swig_types[76]
310 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
311 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
312 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
316 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _windows.so
324 ------------------------------------------------*/
325 #define SWIG_init init_windows
327 #define SWIG_name "_windows"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
377 SWIG_PyObj_AsInt(PyObject
*obj
)
379 return numeric_cast(int,
380 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
385 SWIG_PyObj_AsLong(PyObject
* obj
)
387 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 SWIG_PyObj_AsBool(PyObject
*obj
)
394 return PyObject_IsTrue(obj
) ? true : false;
398 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
404 } else if (target
== Py_None
) {
408 if (!PyTuple_Check(target
)) {
410 target
= PyTuple_New(1);
411 PyTuple_SetItem(target
, 0, o2
);
414 PyTuple_SetItem(o3
, 0, o
);
417 target
= PySequence_Concat(o2
, o3
);
426 SWIG_PyObj_AsDouble(PyObject
*obj
)
428 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
430 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
432 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
434 if (PyErr_Occurred()) {
436 PyErr_SetString(PyExc_TypeError
, "a double is expected");
440 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
441 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
442 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
443 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
444 bool wxDialog_IsModalShowing(wxDialog
*self
){
446 return self
->m_modalShowing
;
453 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
455 self
->GetFieldRect(i
, r
);
458 static const wxString
wxPySplitterNameStr(wxT("splitter"));
459 static const wxString
wxPySashNameStr(wxT("sashWindow"));
460 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
462 #include <wx/popupwin.h>
465 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
468 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
469 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
470 : wxPopupTransientWindow(parent
, style
) {}
472 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
473 DEC_PYCALLBACK__(OnDismiss
);
474 DEC_PYCALLBACK_BOOL_(CanDismiss
);
479 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
480 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
481 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
484 #include <wx/tipwin.h>
486 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
487 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
490 #include <wx/tipwin.h>
493 #include <wx/vscroll.h>
496 class wxPyVScrolledWindow
: public wxVScrolledWindow
498 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
500 wxPyVScrolledWindow() : wxVScrolledWindow() {}
502 wxPyVScrolledWindow(wxWindow
*parent
,
503 wxWindowID id
= wxID_ANY
,
504 const wxPoint
& pos
= wxDefaultPosition
,
505 const wxSize
& size
= wxDefaultSize
,
507 const wxString
& name
= wxPyPanelNameStr
)
508 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
511 // Overridable virtuals
513 // this function must be overridden in the derived class and it should
514 // return the height of the given line in pixels
515 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
518 // this function doesn't have to be overridden but it may be useful to do
519 // it if calculating the lines heights is a relatively expensive operation
520 // as it gives the user code a possibility to calculate several of them at
523 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
524 // shouldn't rely on the latter being called for all lines in the interval
525 // specified here. It is also possible that OnGetLineHeight() will be
526 // called for the lines outside of this interval, so this is really just a
527 // hint, not a promise.
529 // finally note that lineMin is inclusive, while lineMax is exclusive, as
531 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
534 // when the number of lines changes, we try to estimate the total height
535 // of all lines which is a rather expensive operation in terms of lines
536 // access, so if the user code may estimate the average height
537 // better/faster than we do, it should override this function to implement
540 // this function should return the best guess for the total height it may
542 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
545 // Also expose some other interesting protected methods
548 // find the index of the line we need to show at the top of the window such
549 // that the last (fully or partially) visible line is the given one
550 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
551 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
553 // get the total height of the lines between lineMin (inclusive) and
554 // lineMax (exclusive)
555 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
556 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
562 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
564 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
565 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
566 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
569 SWIGSTATIC(PyObject
* )
570 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
572 return (value
> (unsigned long)(LONG_MAX
)) ?
573 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
577 #include <wx/vlbox.h>
579 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
581 class wxPyVListBox
: public wxVListBox
583 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
585 wxPyVListBox() : wxVListBox() {}
587 wxPyVListBox(wxWindow
*parent
,
588 wxWindowID id
= wxID_ANY
,
589 const wxPoint
& pos
= wxDefaultPosition
,
590 const wxSize
& size
= wxDefaultSize
,
592 const wxString
& name
= wxPyVListBoxNameStr
)
593 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
596 // Overridable virtuals
598 // the derived class must implement this function to actually draw the item
599 // with the given index on the provided DC
600 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
601 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
604 // the derived class must implement this method to return the height of the
606 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
607 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
610 // this method may be used to draw separators between the lines; note that
611 // the rectangle may be modified, typically to deflate it a bit before
612 // passing to OnDrawItem()
614 // the base class version doesn't do anything
615 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
616 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
619 // this method is used to draw the items background and, maybe, a border
622 // the base class version implements a reasonable default behaviour which
623 // consists in drawing the selected item with the standard background
624 // colour and drawing a border around the item if it is either selected or
626 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
627 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
633 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
635 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
636 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
637 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
638 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
642 #include <wx/htmllbox.h>
645 class wxPyHtmlListBox
: public wxHtmlListBox
647 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
649 wxPyHtmlListBox() : wxHtmlListBox() {}
651 wxPyHtmlListBox(wxWindow
*parent
,
652 wxWindowID id
= wxID_ANY
,
653 const wxPoint
& pos
= wxDefaultPosition
,
654 const wxSize
& size
= wxDefaultSize
,
656 const wxString
& name
= wxPyVListBoxNameStr
)
657 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
660 // Overridable virtuals
662 // this method must be implemented in the derived class and should return
663 // the body (i.e. without <html>) of the HTML for the given item
664 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
666 // this function may be overridden to decorate HTML returned by OnGetItem()
667 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
670 // // this method allows to customize the selection appearance: it may be used
671 // // to specify the colour of the text which normally has the given colour
672 // // colFg when it is inside the selection
674 // // by default, the original colour is not used at all and all text has the
675 // // same (default for this system) colour inside selection
676 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
678 // // this is the same as GetSelectedTextColour() but allows to customize the
679 // // background colour -- this is even more rarely used as you can change it
680 // // globally using SetSelectionBackground()
681 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
688 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
690 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
691 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
698 // implement dummy classes and such for wxMac
700 class wxTaskBarIcon
: public wxEvtHandler
703 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
707 class wxTaskBarIconEvent
: public wxEvent
710 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
711 { wxPyRaiseNotImplemented(); }
712 virtual wxEvent
* Clone() const { return NULL
; }
716 wxEVT_TASKBAR_MOVE
= 0,
717 wxEVT_TASKBAR_LEFT_DOWN
= 0,
718 wxEVT_TASKBAR_LEFT_UP
= 0,
719 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
720 wxEVT_TASKBAR_RIGHT_UP
= 0,
721 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
722 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
726 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
727 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
728 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
729 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
730 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
731 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
732 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
734 self
->GetFilenames(arr
);
735 return wxArrayString2PyList_helper(arr
);
737 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
740 return wxArrayString2PyList_helper(arr
);
742 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
743 return wxArrayInt2PyList_helper(self
->GetSelections());
745 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
746 return new wxSingleChoiceDialog(parent
, message
, caption
,
747 choices
, choices_array
, NULL
, style
, pos
);
752 // C++ version of Python aware wxWindow
753 class wxPyWindow
: public wxWindow
755 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
757 wxPyWindow() : wxWindow() {}
758 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
759 const wxPoint
& pos
= wxDefaultPosition
,
760 const wxSize
& size
= wxDefaultSize
,
762 const wxString
& name
= wxPyPanelNameStr
)
763 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
766 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
767 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
768 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
769 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
771 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
772 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
773 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
775 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
776 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
778 DEC_PYCALLBACK__(InitDialog
);
779 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
780 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
781 DEC_PYCALLBACK_BOOL_(Validate
);
783 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
784 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
785 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
787 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
788 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
793 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
795 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
796 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
797 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
798 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
800 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
801 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
802 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
804 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
805 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
807 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
808 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
809 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
810 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
812 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
813 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
814 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
816 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
817 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
820 // C++ version of Python aware wxPanel
821 class wxPyPanel
: public wxPanel
823 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
825 wxPyPanel() : wxPanel() {}
826 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
827 const wxPoint
& pos
= wxDefaultPosition
,
828 const wxSize
& size
= wxDefaultSize
,
830 const wxString
& name
= wxPyPanelNameStr
)
831 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
834 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
835 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
836 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
837 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
839 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
840 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
841 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
843 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
844 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
846 DEC_PYCALLBACK__(InitDialog
);
847 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
848 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
849 DEC_PYCALLBACK_BOOL_(Validate
);
851 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
852 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
853 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
855 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
856 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
861 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
863 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
864 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
865 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
866 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
868 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
869 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
870 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
872 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
873 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
875 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
876 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
877 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
878 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
880 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
881 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
882 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
884 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
885 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
889 #include "wx/wxPython/printfw.h"
892 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
893 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
897 // Since this one would be tough and ugly to do with the Macros...
898 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
902 wxPyBeginBlockThreads();
903 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
904 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
905 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
908 val
= PyTuple_GetItem(result
, 0);
909 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
912 val
= PyTuple_GetItem(result
, 1);
913 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
916 val
= PyTuple_GetItem(result
, 2);
917 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
920 val
= PyTuple_GetItem(result
, 3);
921 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
928 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
933 wxPyEndBlockThreads();
935 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
938 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
939 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
943 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
944 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
945 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
946 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
947 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
948 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
949 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
955 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
956 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
957 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
960 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
961 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
964 wxPyBeginBlockThreads(); \
965 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
966 PyObject* win = wxPyMake_wxObject(a); \
967 PyObject* dc = wxPyMake_wxObject(&b); \
968 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
972 wxPyEndBlockThreads(); \
974 rval = PCLASS::CBNAME(a, b); \
977 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
978 return PCLASS::CBNAME(a, b); \
984 class wxPyPrintPreview
: public wxPrintPreview
986 DECLARE_CLASS(wxPyPrintPreview
)
988 wxPyPrintPreview(wxPyPrintout
* printout
,
989 wxPyPrintout
* printoutForPrinting
,
990 wxPrintData
* data
=NULL
)
991 : wxPrintPreview(printout
, printoutForPrinting
, data
)
994 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
995 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
996 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
997 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
998 DEC_PYCALLBACK_VOID_INT(SetZoom
);
999 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1000 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1005 // Stupid renamed classes... Fix this in 2.5...
1006 #if defined(__WXMSW__)
1007 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1008 #elif defined(__WXMAC__)
1009 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1011 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1014 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1015 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1016 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1017 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1018 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1019 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1020 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1023 class wxPyPreviewFrame
: public wxPreviewFrame
1025 DECLARE_CLASS(wxPyPreviewFrame
);
1027 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1028 const wxString
& title
,
1029 const wxPoint
& pos
= wxDefaultPosition
,
1030 const wxSize
& size
= wxDefaultSize
,
1031 long style
= wxDEFAULT_FRAME_STYLE
,
1032 const wxString
& name
= wxPyFrameNameStr
)
1033 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1036 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1037 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1039 DEC_PYCALLBACK_VOID_(Initialize
);
1040 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1041 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1046 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1048 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1049 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1050 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1053 class wxPyPreviewControlBar
: public wxPreviewControlBar
1055 DECLARE_CLASS(wxPyPreviewControlBar
);
1057 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1060 const wxPoint
& pos
= wxDefaultPosition
,
1061 const wxSize
& size
= wxDefaultSize
,
1063 const wxString
& name
= wxPyPanelNameStr
)
1064 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1067 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1069 DEC_PYCALLBACK_VOID_(CreateButtons
);
1070 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1075 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1076 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1077 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1082 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
*resultobj
;
1084 wxWindow
*arg1
= (wxWindow
*) 0 ;
1085 int arg2
= (int) (int)-1 ;
1086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1090 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1091 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1092 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1096 bool temp6
= False
;
1097 PyObject
* obj0
= 0 ;
1098 PyObject
* obj1
= 0 ;
1099 PyObject
* obj2
= 0 ;
1100 PyObject
* obj3
= 0 ;
1101 PyObject
* obj4
= 0 ;
1102 PyObject
* obj5
= 0 ;
1104 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1111 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1112 if (PyErr_Occurred()) SWIG_fail
;
1118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1124 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1129 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1130 if (PyErr_Occurred()) SWIG_fail
;
1135 arg6
= wxString_in_helper(obj5
);
1136 if (arg6
== NULL
) SWIG_fail
;
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1162 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
*resultobj
;
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 result
= (wxPanel
*)new wxPanel();
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) SWIG_fail
;
1177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1184 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
*resultobj
;
1186 wxPanel
*arg1
= (wxPanel
*) 0 ;
1187 wxWindow
*arg2
= (wxWindow
*) 0 ;
1189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1193 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1194 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1195 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1199 bool temp7
= False
;
1200 PyObject
* obj0
= 0 ;
1201 PyObject
* obj1
= 0 ;
1202 PyObject
* obj2
= 0 ;
1203 PyObject
* obj3
= 0 ;
1204 PyObject
* obj4
= 0 ;
1205 PyObject
* obj5
= 0 ;
1206 PyObject
* obj6
= 0 ;
1208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1215 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1232 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1233 if (PyErr_Occurred()) SWIG_fail
;
1238 arg7
= wxString_in_helper(obj6
);
1239 if (arg7
== NULL
) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1265 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 wxPanel
*arg1
= (wxPanel
*) 0 ;
1268 PyObject
* obj0
= 0 ;
1270 (char *) "self", NULL
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 (arg1
)->InitDialog();
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) SWIG_fail
;
1282 Py_INCREF(Py_None
); resultobj
= Py_None
;
1289 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1292 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1294 return Py_BuildValue((char *)"");
1296 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
*resultobj
;
1298 wxWindow
*arg1
= (wxWindow
*) 0 ;
1299 int arg2
= (int) (int)-1 ;
1300 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1301 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1302 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1303 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1304 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1305 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1306 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1307 wxScrolledWindow
*result
;
1310 bool temp6
= False
;
1311 PyObject
* obj0
= 0 ;
1312 PyObject
* obj1
= 0 ;
1313 PyObject
* obj2
= 0 ;
1314 PyObject
* obj3
= 0 ;
1315 PyObject
* obj4
= 0 ;
1316 PyObject
* obj5
= 0 ;
1318 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1325 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1338 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1343 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1344 if (PyErr_Occurred()) SWIG_fail
;
1349 arg6
= wxString_in_helper(obj5
);
1350 if (arg6
== NULL
) SWIG_fail
;
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1376 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
*resultobj
;
1378 wxScrolledWindow
*result
;
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1386 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1388 wxPyEndAllowThreads(__tstate
);
1389 if (PyErr_Occurred()) SWIG_fail
;
1391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1398 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1401 wxWindow
*arg2
= (wxWindow
*) 0 ;
1402 int arg3
= (int) (int)-1 ;
1403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1407 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1408 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1413 bool temp7
= False
;
1414 PyObject
* obj0
= 0 ;
1415 PyObject
* obj1
= 0 ;
1416 PyObject
* obj2
= 0 ;
1417 PyObject
* obj3
= 0 ;
1418 PyObject
* obj4
= 0 ;
1419 PyObject
* obj5
= 0 ;
1420 PyObject
* obj6
= 0 ;
1422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1430 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1448 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1449 if (PyErr_Occurred()) SWIG_fail
;
1454 arg7
= wxString_in_helper(obj6
);
1455 if (arg7
== NULL
) SWIG_fail
;
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) SWIG_fail
;
1466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1481 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
*resultobj
;
1483 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1488 int arg6
= (int) 0 ;
1489 int arg7
= (int) 0 ;
1490 bool arg8
= (bool) False
;
1491 PyObject
* obj0
= 0 ;
1492 PyObject
* obj1
= 0 ;
1493 PyObject
* obj2
= 0 ;
1494 PyObject
* obj3
= 0 ;
1495 PyObject
* obj4
= 0 ;
1496 PyObject
* obj5
= 0 ;
1497 PyObject
* obj6
= 0 ;
1498 PyObject
* obj7
= 0 ;
1500 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1506 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1507 if (PyErr_Occurred()) SWIG_fail
;
1510 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1511 if (PyErr_Occurred()) SWIG_fail
;
1514 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1523 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1529 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1535 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1546 Py_INCREF(Py_None
); resultobj
= Py_None
;
1553 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1555 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1558 PyObject
* obj0
= 0 ;
1559 PyObject
* obj1
= 0 ;
1560 PyObject
* obj2
= 0 ;
1562 (char *) "self",(char *) "x",(char *) "y", NULL
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1568 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1572 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 (arg1
)->Scroll(arg2
,arg3
);
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) SWIG_fail
;
1582 Py_INCREF(Py_None
); resultobj
= Py_None
;
1589 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1595 PyObject
* obj1
= 0 ;
1597 (char *) "self",(char *) "orient", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1603 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) SWIG_fail
;
1613 resultobj
= SWIG_PyObj_FromInt((int)result
);
1620 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1625 PyObject
* obj0
= 0 ;
1626 PyObject
* obj1
= 0 ;
1627 PyObject
* obj2
= 0 ;
1629 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1635 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1639 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1640 if (PyErr_Occurred()) SWIG_fail
;
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 Py_INCREF(Py_None
); resultobj
= Py_None
;
1656 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1661 PyObject
* obj0
= 0 ;
1662 PyObject
* obj1
= 0 ;
1663 PyObject
* obj2
= 0 ;
1665 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 (arg1
)->SetScrollRate(arg2
,arg3
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1685 Py_INCREF(Py_None
); resultobj
= Py_None
;
1692 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
*resultobj
;
1694 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1695 int *arg2
= (int *) 0 ;
1696 int *arg3
= (int *) 0 ;
1699 PyObject
* obj0
= 0 ;
1701 (char *) "self", NULL
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 Py_INCREF(Py_None
); resultobj
= Py_None
;
1717 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1718 resultobj
= t_output_helper(resultobj
,o
);
1721 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1722 resultobj
= t_output_helper(resultobj
,o
);
1730 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
*resultobj
;
1732 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1735 PyObject
* obj0
= 0 ;
1736 PyObject
* obj1
= 0 ;
1737 PyObject
* obj2
= 0 ;
1739 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1745 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1749 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 (arg1
)->EnableScrolling(arg2
,arg3
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1766 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1769 int *arg2
= (int *) 0 ;
1770 int *arg3
= (int *) 0 ;
1773 PyObject
* obj0
= 0 ;
1775 (char *) "self", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 Py_INCREF(Py_None
); resultobj
= Py_None
;
1791 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1792 resultobj
= t_output_helper(resultobj
,o
);
1795 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1796 resultobj
= t_output_helper(resultobj
,o
);
1804 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1811 PyObject
* obj2
= 0 ;
1813 (char *) "self",(char *) "xs",(char *) "ys", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1819 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1823 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 (arg1
)->SetScale(arg2
,arg3
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 Py_INCREF(Py_None
); resultobj
= Py_None
;
1840 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1865 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1871 (char *) "self", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1890 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1891 PyObject
*resultobj
;
1892 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1896 PyObject
* obj0
= 0 ;
1897 PyObject
* obj1
= 0 ;
1899 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1903 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1913 wxPoint
* resultptr
;
1914 resultptr
= new wxPoint((wxPoint
&) result
);
1915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1923 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1924 PyObject
*resultobj
;
1925 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1928 int *arg4
= (int *) 0 ;
1929 int *arg5
= (int *) 0 ;
1932 PyObject
* obj0
= 0 ;
1933 PyObject
* obj1
= 0 ;
1934 PyObject
* obj2
= 0 ;
1938 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
1939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1941 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1945 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 Py_INCREF(Py_None
); resultobj
= Py_None
;
1957 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1958 resultobj
= t_output_helper(resultobj
,o
);
1961 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1962 resultobj
= t_output_helper(resultobj
,o
);
1970 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1975 argc
= PyObject_Length(args
);
1976 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1977 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1983 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1992 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1995 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2003 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2012 SWIG_PyObj_AsInt(argv
[1]);
2013 if (PyErr_Occurred()) {
2022 SWIG_PyObj_AsInt(argv
[2]);
2023 if (PyErr_Occurred()) {
2031 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2037 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2042 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2043 PyObject
*resultobj
;
2044 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2049 PyObject
* obj1
= 0 ;
2051 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2065 wxPoint
* resultptr
;
2066 resultptr
= new wxPoint((wxPoint
&) result
);
2067 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2075 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2076 PyObject
*resultobj
;
2077 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2080 int *arg4
= (int *) 0 ;
2081 int *arg5
= (int *) 0 ;
2084 PyObject
* obj0
= 0 ;
2085 PyObject
* obj1
= 0 ;
2086 PyObject
* obj2
= 0 ;
2090 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2093 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2097 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2102 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2104 wxPyEndAllowThreads(__tstate
);
2105 if (PyErr_Occurred()) SWIG_fail
;
2107 Py_INCREF(Py_None
); resultobj
= Py_None
;
2109 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2110 resultobj
= t_output_helper(resultobj
,o
);
2113 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2114 resultobj
= t_output_helper(resultobj
,o
);
2122 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2127 argc
= PyObject_Length(args
);
2128 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2129 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2135 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2144 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2147 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2155 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2164 SWIG_PyObj_AsInt(argv
[1]);
2165 if (PyErr_Occurred()) {
2174 SWIG_PyObj_AsInt(argv
[2]);
2175 if (PyErr_Occurred()) {
2183 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2189 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2194 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2197 PyObject
* obj0
= 0 ;
2199 (char *) "self", NULL
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 (arg1
)->AdjustScrollbars();
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2211 Py_INCREF(Py_None
); resultobj
= Py_None
;
2218 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2221 wxScrollWinEvent
*arg2
= 0 ;
2223 PyObject
* obj0
= 0 ;
2224 PyObject
* obj1
= 0 ;
2226 (char *) "self",(char *) "event", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2233 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= SWIG_PyObj_FromInt((int)result
);
2249 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2252 wxWindow
*arg2
= (wxWindow
*) 0 ;
2253 PyObject
* obj0
= 0 ;
2254 PyObject
* obj1
= 0 ;
2256 (char *) "self",(char *) "target", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 (arg1
)->SetTargetWindow(arg2
);
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 Py_INCREF(Py_None
); resultobj
= Py_None
;
2276 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2278 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2280 PyObject
* obj0
= 0 ;
2282 (char *) "self", NULL
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2295 resultobj
= wxPyMake_wxObject(result
);
2303 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2306 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2308 return Py_BuildValue((char *)"");
2310 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2311 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2316 static PyObject
*_wrap_FrameNameStr_get() {
2321 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2323 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2330 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2331 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2336 static PyObject
*_wrap_DialogNameStr_get() {
2341 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2343 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2350 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2351 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2356 static PyObject
*_wrap_StatusLineNameStr_get() {
2361 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2363 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2370 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2371 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2376 static PyObject
*_wrap_ToolBarNameStr_get() {
2381 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2383 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2390 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2393 bool arg2
= (bool) True
;
2394 PyObject
* obj0
= 0 ;
2395 PyObject
* obj1
= 0 ;
2397 (char *) "self",(char *) "maximize", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2404 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 (arg1
)->Maximize(arg2
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 Py_INCREF(Py_None
); resultobj
= Py_None
;
2422 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2425 PyObject
* obj0
= 0 ;
2427 (char *) "self", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2449 bool arg2
= (bool) True
;
2450 PyObject
* obj0
= 0 ;
2451 PyObject
* obj1
= 0 ;
2453 (char *) "self",(char *) "iconize", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2460 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 (arg1
)->Iconize(arg2
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 Py_INCREF(Py_None
); resultobj
= Py_None
;
2478 static PyObject
*_wrap_TopLevelWindow_IsMaximized(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_IsMaximized",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
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2503 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2505 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2509 (char *) "self", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2528 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2532 PyObject
* obj0
= 0 ;
2534 (char *) "self", NULL
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2548 resultptr
= new wxIcon((wxIcon
&) result
);
2549 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2557 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2561 PyObject
* obj0
= 0 ;
2562 PyObject
* obj1
= 0 ;
2564 (char *) "self",(char *) "icon", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2580 Py_INCREF(Py_None
); resultobj
= Py_None
;
2587 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2590 wxIconBundle
*arg2
= 0 ;
2591 PyObject
* obj0
= 0 ;
2592 PyObject
* obj1
= 0 ;
2594 (char *) "self",(char *) "icons", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 Py_INCREF(Py_None
); resultobj
= Py_None
;
2617 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2621 long arg3
= (long) wxFULLSCREEN_ALL
;
2623 PyObject
* obj0
= 0 ;
2624 PyObject
* obj1
= 0 ;
2625 PyObject
* obj2
= 0 ;
2627 (char *) "self",(char *) "show",(char *) "style", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2633 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2638 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2639 if (PyErr_Occurred()) SWIG_fail
;
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2656 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
*resultobj
;
2658 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2660 PyObject
* obj0
= 0 ;
2662 (char *) "self", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2681 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2684 wxString
*arg2
= 0 ;
2685 bool temp2
= False
;
2686 PyObject
* obj0
= 0 ;
2687 PyObject
* obj1
= 0 ;
2689 (char *) "self",(char *) "title", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2695 arg2
= wxString_in_helper(obj1
);
2696 if (arg2
== NULL
) SWIG_fail
;
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 (arg1
)->SetTitle((wxString
const &)*arg2
);
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2706 Py_INCREF(Py_None
); resultobj
= Py_None
;
2721 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2723 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2725 PyObject
* obj0
= 0 ;
2727 (char *) "self", NULL
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2752 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2755 wxRegion
*arg2
= 0 ;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "region", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2765 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2767 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2783 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2786 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2788 return Py_BuildValue((char *)"");
2790 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 wxWindow
*arg1
= (wxWindow
*) 0 ;
2794 wxString
*arg3
= 0 ;
2795 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2796 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2797 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2798 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2799 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2800 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2801 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2803 bool temp3
= False
;
2806 bool temp7
= False
;
2807 PyObject
* obj0
= 0 ;
2808 PyObject
* obj1
= 0 ;
2809 PyObject
* obj2
= 0 ;
2810 PyObject
* obj3
= 0 ;
2811 PyObject
* obj4
= 0 ;
2812 PyObject
* obj5
= 0 ;
2813 PyObject
* obj6
= 0 ;
2815 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2821 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2825 arg3
= wxString_in_helper(obj2
);
2826 if (arg3
== NULL
) SWIG_fail
;
2832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2843 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2849 arg7
= wxString_in_helper(obj6
);
2850 if (arg7
== NULL
) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= wxPyMake_wxObject(result
);
2886 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (wxFrame
*)new wxFrame();
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= wxPyMake_wxObject(result
);
2910 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxFrame
*arg1
= (wxFrame
*) 0 ;
2913 wxWindow
*arg2
= (wxWindow
*) 0 ;
2915 wxString
*arg4
= 0 ;
2916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2920 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2921 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2922 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2924 bool temp4
= False
;
2927 bool temp8
= False
;
2928 PyObject
* obj0
= 0 ;
2929 PyObject
* obj1
= 0 ;
2930 PyObject
* obj2
= 0 ;
2931 PyObject
* obj3
= 0 ;
2932 PyObject
* obj4
= 0 ;
2933 PyObject
* obj5
= 0 ;
2934 PyObject
* obj6
= 0 ;
2935 PyObject
* obj7
= 0 ;
2937 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2948 arg4
= wxString_in_helper(obj3
);
2949 if (arg4
== NULL
) SWIG_fail
;
2955 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2961 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2966 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2972 arg8
= wxString_in_helper(obj7
);
2973 if (arg8
== NULL
) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3007 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxFrame
*arg1
= (wxFrame
*) 0 ;
3011 PyObject
* obj0
= 0 ;
3013 (char *) "self", NULL
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 wxPoint
* resultptr
;
3027 resultptr
= new wxPoint((wxPoint
&) result
);
3028 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3036 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxFrame
*arg1
= (wxFrame
*) 0 ;
3039 PyObject
* obj0
= 0 ;
3041 (char *) "self", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 (arg1
)->SendSizeEvent();
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3053 Py_INCREF(Py_None
); resultobj
= Py_None
;
3060 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxFrame
*arg1
= (wxFrame
*) 0 ;
3063 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3064 PyObject
* obj0
= 0 ;
3065 PyObject
* obj1
= 0 ;
3067 (char *) "self",(char *) "menubar", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 (arg1
)->SetMenuBar(arg2
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3080 Py_INCREF(Py_None
); resultobj
= Py_None
;
3087 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxFrame
*arg1
= (wxFrame
*) 0 ;
3091 PyObject
* obj0
= 0 ;
3093 (char *) "self", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3106 resultobj
= wxPyMake_wxObject(result
);
3114 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxFrame
*arg1
= (wxFrame
*) 0 ;
3119 PyObject
* obj0
= 0 ;
3120 PyObject
* obj1
= 0 ;
3122 (char *) "self",(char *) "winid", NULL
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3128 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3145 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxFrame
*arg1
= (wxFrame
*) 0 ;
3148 int arg2
= (int) 1 ;
3149 long arg3
= (long) wxST_SIZEGRIP
;
3150 int arg4
= (int) 0 ;
3151 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3152 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3153 wxStatusBar
*result
;
3154 bool temp5
= False
;
3155 PyObject
* obj0
= 0 ;
3156 PyObject
* obj1
= 0 ;
3157 PyObject
* obj2
= 0 ;
3158 PyObject
* obj3
= 0 ;
3159 PyObject
* obj4
= 0 ;
3161 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3168 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3174 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3180 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3186 arg5
= wxString_in_helper(obj4
);
3187 if (arg5
== NULL
) SWIG_fail
;
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3199 resultobj
= wxPyMake_wxObject(result
);
3215 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxFrame
*arg1
= (wxFrame
*) 0 ;
3218 wxStatusBar
*result
;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3234 resultobj
= wxPyMake_wxObject(result
);
3242 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxFrame
*arg1
= (wxFrame
*) 0 ;
3245 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3249 (char *) "self",(char *) "statBar", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 (arg1
)->SetStatusBar(arg2
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3262 Py_INCREF(Py_None
); resultobj
= Py_None
;
3269 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
;
3271 wxFrame
*arg1
= (wxFrame
*) 0 ;
3272 wxString
*arg2
= 0 ;
3273 int arg3
= (int) 0 ;
3274 bool temp2
= False
;
3275 PyObject
* obj0
= 0 ;
3276 PyObject
* obj1
= 0 ;
3277 PyObject
* obj2
= 0 ;
3279 (char *) "self",(char *) "text",(char *) "number", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3285 arg2
= wxString_in_helper(obj1
);
3286 if (arg2
== NULL
) SWIG_fail
;
3291 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 (arg1
)->SetStatusText((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_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxFrame
*arg1
= (wxFrame
*) 0 ;
3321 int *arg3
= (int *) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3325 (char *) "self",(char *) "widths", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3331 arg2
= PyList_Size(obj1
);
3332 arg3
= int_LIST_helper(obj1
);
3333 if (arg3
== NULL
) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3344 if (arg3
) delete [] arg3
;
3349 if (arg3
) delete [] arg3
;
3355 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
;
3357 wxFrame
*arg1
= (wxFrame
*) 0 ;
3358 wxString
*arg2
= 0 ;
3359 int arg3
= (int) 0 ;
3360 bool temp2
= False
;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3363 PyObject
* obj2
= 0 ;
3365 (char *) "self",(char *) "text",(char *) "number", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3371 arg2
= wxString_in_helper(obj1
);
3372 if (arg2
== NULL
) SWIG_fail
;
3377 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxFrame
*arg1
= (wxFrame
*) 0 ;
3406 int arg2
= (int) 0 ;
3407 PyObject
* obj0
= 0 ;
3408 PyObject
* obj1
= 0 ;
3410 (char *) "self",(char *) "number", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3417 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 (arg1
)->PopStatusText(arg2
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3428 Py_INCREF(Py_None
); resultobj
= Py_None
;
3435 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
;
3437 wxFrame
*arg1
= (wxFrame
*) 0 ;
3439 PyObject
* obj0
= 0 ;
3440 PyObject
* obj1
= 0 ;
3442 (char *) "self",(char *) "n", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3448 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 (arg1
)->SetStatusBarPane(arg2
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3458 Py_INCREF(Py_None
); resultobj
= Py_None
;
3465 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
*resultobj
;
3467 wxFrame
*arg1
= (wxFrame
*) 0 ;
3469 PyObject
* obj0
= 0 ;
3471 (char *) "self", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 resultobj
= SWIG_PyObj_FromInt((int)result
);
3490 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxFrame
*arg1
= (wxFrame
*) 0 ;
3493 long arg2
= (long) -1 ;
3494 int arg3
= (int) -1 ;
3495 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3496 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3498 bool temp4
= False
;
3499 PyObject
* obj0
= 0 ;
3500 PyObject
* obj1
= 0 ;
3501 PyObject
* obj2
= 0 ;
3502 PyObject
* obj3
= 0 ;
3504 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3511 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3517 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3523 arg4
= wxString_in_helper(obj3
);
3524 if (arg4
== NULL
) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= wxPyMake_wxObject(result
);
3552 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxFrame
*arg1
= (wxFrame
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3558 (char *) "self", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3571 resultobj
= wxPyMake_wxObject(result
);
3579 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxFrame
*arg1
= (wxFrame
*) 0 ;
3582 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3586 (char *) "self",(char *) "toolbar", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 (arg1
)->SetToolBar(arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 Py_INCREF(Py_None
); resultobj
= Py_None
;
3606 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
*resultobj
;
3608 wxFrame
*arg1
= (wxFrame
*) 0 ;
3609 wxString
*arg2
= 0 ;
3611 bool temp2
= False
;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3614 PyObject
* obj2
= 0 ;
3616 (char *) "self",(char *) "text",(char *) "show", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3622 arg2
= wxString_in_helper(obj1
);
3623 if (arg2
== NULL
) SWIG_fail
;
3627 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3652 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxFrame
*arg1
= (wxFrame
*) 0 ;
3655 wxMenu
*arg2
= (wxMenu
*) NULL
;
3656 PyObject
* obj0
= 0 ;
3657 PyObject
* obj1
= 0 ;
3659 (char *) "self",(char *) "menu", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 (arg1
)->DoMenuUpdates(arg2
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 Py_INCREF(Py_None
); resultobj
= Py_None
;
3681 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3684 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3686 return Py_BuildValue((char *)"");
3688 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxWindow
*arg1
= (wxWindow
*) 0 ;
3692 wxString
*arg3
= 0 ;
3693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3697 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3698 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3701 bool temp3
= False
;
3704 bool temp7
= False
;
3705 PyObject
* obj0
= 0 ;
3706 PyObject
* obj1
= 0 ;
3707 PyObject
* obj2
= 0 ;
3708 PyObject
* obj3
= 0 ;
3709 PyObject
* obj4
= 0 ;
3710 PyObject
* obj5
= 0 ;
3711 PyObject
* obj6
= 0 ;
3713 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3719 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3723 arg3
= wxString_in_helper(obj2
);
3724 if (arg3
== NULL
) SWIG_fail
;
3730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3741 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3747 arg7
= wxString_in_helper(obj6
);
3748 if (arg7
== NULL
) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3782 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (wxDialog
*)new wxDialog();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3804 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxDialog
*arg1
= (wxDialog
*) 0 ;
3807 wxWindow
*arg2
= (wxWindow
*) 0 ;
3809 wxString
*arg4
= 0 ;
3810 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3811 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3812 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3813 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3814 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3815 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3816 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3818 bool temp4
= False
;
3821 bool temp8
= False
;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3824 PyObject
* obj2
= 0 ;
3825 PyObject
* obj3
= 0 ;
3826 PyObject
* obj4
= 0 ;
3827 PyObject
* obj5
= 0 ;
3828 PyObject
* obj6
= 0 ;
3829 PyObject
* obj7
= 0 ;
3831 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3838 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3842 arg4
= wxString_in_helper(obj3
);
3843 if (arg4
== NULL
) SWIG_fail
;
3849 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3855 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3860 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3866 arg8
= wxString_in_helper(obj7
);
3867 if (arg8
== NULL
) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3901 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxDialog
*arg1
= (wxDialog
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3906 PyObject
* obj1
= 0 ;
3908 (char *) "self",(char *) "returnCode", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3914 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->SetReturnCode(arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxDialog
*arg1
= (wxDialog
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3937 (char *) "self", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= SWIG_PyObj_FromInt((int)result
);
3956 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxDialog
*arg1
= (wxDialog
*) 0 ;
3959 wxString
*arg2
= 0 ;
3961 bool temp2
= False
;
3962 PyObject
* obj0
= 0 ;
3963 PyObject
* obj1
= 0 ;
3965 (char *) "self",(char *) "message", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3971 arg2
= wxString_in_helper(obj1
);
3972 if (arg2
== NULL
) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= wxPyMake_wxSizer(result
);
3999 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxDialog
*arg1
= (wxDialog
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4005 PyObject
* obj1
= 0 ;
4007 (char *) "self",(char *) "flags", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4013 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= wxPyMake_wxSizer(result
);
4032 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxDialog
*arg1
= (wxDialog
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4038 (char *) "self", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4057 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxDialog
*arg1
= (wxDialog
*) 0 ;
4061 PyObject
* obj0
= 0 ;
4063 (char *) "self", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (int)(arg1
)->ShowModal();
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= SWIG_PyObj_FromInt((int)result
);
4082 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxDialog
*arg1
= (wxDialog
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4089 (char *) "self",(char *) "retCode", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4095 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 (arg1
)->EndModal(arg2
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 Py_INCREF(Py_None
); resultobj
= Py_None
;
4112 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxDialog
*arg1
= (wxDialog
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4118 (char *) "self", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (bool)wxDialog_IsModalShowing(arg1
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4137 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4140 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4142 return Py_BuildValue((char *)"");
4144 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4146 wxWindow
*arg1
= (wxWindow
*) 0 ;
4148 wxString
*arg3
= 0 ;
4149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4153 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4154 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4156 wxMiniFrame
*result
;
4157 bool temp3
= False
;
4160 bool temp7
= False
;
4161 PyObject
* obj0
= 0 ;
4162 PyObject
* obj1
= 0 ;
4163 PyObject
* obj2
= 0 ;
4164 PyObject
* obj3
= 0 ;
4165 PyObject
* obj4
= 0 ;
4166 PyObject
* obj5
= 0 ;
4167 PyObject
* obj6
= 0 ;
4169 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4175 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4179 arg3
= wxString_in_helper(obj2
);
4180 if (arg3
== NULL
) SWIG_fail
;
4186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4197 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4203 arg7
= wxString_in_helper(obj6
);
4204 if (arg7
== NULL
) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4238 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxMiniFrame
*result
;
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (wxMiniFrame
*)new wxMiniFrame();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4260 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4263 wxWindow
*arg2
= (wxWindow
*) 0 ;
4265 wxString
*arg4
= 0 ;
4266 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4267 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4268 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4269 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4270 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4271 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4272 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4274 bool temp4
= False
;
4277 bool temp8
= False
;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 PyObject
* obj2
= 0 ;
4281 PyObject
* obj3
= 0 ;
4282 PyObject
* obj4
= 0 ;
4283 PyObject
* obj5
= 0 ;
4284 PyObject
* obj6
= 0 ;
4285 PyObject
* obj7
= 0 ;
4287 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4294 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4298 arg4
= wxString_in_helper(obj3
);
4299 if (arg4
== NULL
) SWIG_fail
;
4305 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4311 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4316 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4322 arg8
= wxString_in_helper(obj7
);
4323 if (arg8
== NULL
) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4357 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4360 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4362 return Py_BuildValue((char *)"");
4364 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4366 wxBitmap
*arg1
= 0 ;
4367 wxWindow
*arg2
= (wxWindow
*) 0 ;
4369 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4370 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4371 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4372 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4373 long arg6
= (long) wxNO_BORDER
;
4374 wxSplashScreenWindow
*result
;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 PyObject
* obj2
= 0 ;
4380 PyObject
* obj3
= 0 ;
4381 PyObject
* obj4
= 0 ;
4382 PyObject
* obj5
= 0 ;
4384 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4390 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4394 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4411 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4429 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4431 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4432 wxBitmap
*arg2
= 0 ;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4436 (char *) "self",(char *) "bitmap", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4452 Py_INCREF(Py_None
); resultobj
= Py_None
;
4459 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4463 PyObject
* obj0
= 0 ;
4465 (char *) "self", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4474 result
= (wxBitmap
*) &_result_ref
;
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4487 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4490 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4492 return Py_BuildValue((char *)"");
4494 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxBitmap
*arg1
= 0 ;
4499 wxWindow
*arg4
= (wxWindow
*) 0 ;
4501 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4502 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4503 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4504 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4505 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4506 wxSplashScreen
*result
;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4511 PyObject
* obj2
= 0 ;
4512 PyObject
* obj3
= 0 ;
4513 PyObject
* obj4
= 0 ;
4514 PyObject
* obj5
= 0 ;
4515 PyObject
* obj6
= 0 ;
4516 PyObject
* obj7
= 0 ;
4518 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4527 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4536 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4542 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4548 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4553 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4571 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4577 (char *) "self", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= SWIG_PyObj_FromLong((long)result
);
4596 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4599 wxSplashScreenWindow
*result
;
4600 PyObject
* obj0
= 0 ;
4602 (char *) "self", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4621 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_PyObj_FromInt((int)result
);
4646 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4649 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4651 return Py_BuildValue((char *)"");
4653 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxWindow
*arg1
= (wxWindow
*) 0 ;
4656 int arg2
= (int) -1 ;
4657 long arg3
= (long) wxST_SIZEGRIP
;
4658 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4659 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4660 wxStatusBar
*result
;
4661 bool temp4
= False
;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4664 PyObject
* obj2
= 0 ;
4665 PyObject
* obj3
= 0 ;
4667 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4674 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4680 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4686 arg4
= wxString_in_helper(obj3
);
4687 if (arg4
== NULL
) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= wxPyMake_wxObject(result
);
4715 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxStatusBar
*result
;
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (wxStatusBar
*)new wxStatusBar();
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= wxPyMake_wxObject(result
);
4739 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4742 wxWindow
*arg2
= (wxWindow
*) 0 ;
4744 long arg4
= (long) wxST_SIZEGRIP
;
4745 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4746 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4748 bool temp5
= False
;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 PyObject
* obj2
= 0 ;
4752 PyObject
* obj3
= 0 ;
4753 PyObject
* obj4
= 0 ;
4755 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4762 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4767 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4773 arg5
= wxString_in_helper(obj4
);
4774 if (arg5
== NULL
) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4803 int arg2
= (int) 1 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "number", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4814 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 (arg1
)->SetFieldsCount(arg2
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 Py_INCREF(Py_None
); resultobj
= Py_None
;
4832 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4838 (char *) "self", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_PyObj_FromInt((int)result
);
4857 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4860 wxString
*arg2
= 0 ;
4861 int arg3
= (int) 0 ;
4862 bool temp2
= False
;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4865 PyObject
* obj2
= 0 ;
4867 (char *) "self",(char *) "text",(char *) "number", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 arg2
= wxString_in_helper(obj1
);
4874 if (arg2
== NULL
) SWIG_fail
;
4879 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 Py_INCREF(Py_None
); resultobj
= Py_None
;
4905 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4908 int arg2
= (int) 0 ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4913 (char *) "self",(char *) "number", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4920 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4944 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4947 wxString
*arg2
= 0 ;
4948 int arg3
= (int) 0 ;
4949 bool temp2
= False
;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4952 PyObject
* obj2
= 0 ;
4954 (char *) "self",(char *) "text",(char *) "number", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4960 arg2
= wxString_in_helper(obj1
);
4961 if (arg2
== NULL
) SWIG_fail
;
4966 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 Py_INCREF(Py_None
); resultobj
= Py_None
;
4992 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4995 int arg2
= (int) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4999 (char *) "self",(char *) "number", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5006 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 (arg1
)->PopStatusText(arg2
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 Py_INCREF(Py_None
); resultobj
= Py_None
;
5024 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5028 int *arg3
= (int *) 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5032 (char *) "self",(char *) "widths", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 arg2
= PyList_Size(obj1
);
5039 arg3
= int_LIST_helper(obj1
);
5040 if (arg3
== NULL
) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 if (arg3
) delete [] arg3
;
5056 if (arg3
) delete [] arg3
;
5062 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "self",(char *) "i", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5076 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5088 resultptr
= new wxRect((wxRect
&) result
);
5089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5097 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5102 PyObject
* obj1
= 0 ;
5104 (char *) "self",(char *) "height", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5110 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 (arg1
)->SetMinHeight(arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 Py_INCREF(Py_None
); resultobj
= Py_None
;
5127 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5133 (char *) "self", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_PyObj_FromInt((int)result
);
5152 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_PyObj_FromInt((int)result
);
5177 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5180 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5182 return Py_BuildValue((char *)"");
5184 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5185 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5190 static PyObject
*_wrap_SplitterNameStr_get() {
5195 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5197 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5204 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxWindow
*arg1
= (wxWindow
*) 0 ;
5208 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5209 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5210 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5211 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5212 long arg5
= (long) wxSP_3D
;
5213 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5214 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5215 wxSplitterWindow
*result
;
5218 bool temp6
= False
;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5221 PyObject
* obj2
= 0 ;
5222 PyObject
* obj3
= 0 ;
5223 PyObject
* obj4
= 0 ;
5224 PyObject
* obj5
= 0 ;
5226 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5232 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5238 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5244 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5249 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5255 arg6
= wxString_in_helper(obj5
);
5256 if (arg6
== NULL
) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5282 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxSplitterWindow
*result
;
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5304 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5307 wxWindow
*arg2
= (wxWindow
*) 0 ;
5309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5313 long arg6
= (long) wxSP_3D
;
5314 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5319 bool temp7
= False
;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5322 PyObject
* obj2
= 0 ;
5323 PyObject
* obj3
= 0 ;
5324 PyObject
* obj4
= 0 ;
5325 PyObject
* obj5
= 0 ;
5326 PyObject
* obj6
= 0 ;
5328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5335 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5341 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5347 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5352 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5358 arg7
= wxString_in_helper(obj6
);
5359 if (arg7
== NULL
) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5385 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 (char *) "self", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= wxPyMake_wxObject(result
);
5412 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5418 (char *) "self", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= wxPyMake_wxObject(result
);
5439 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "mode", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5452 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->SetSplitMode(arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 Py_INCREF(Py_None
); resultobj
= Py_None
;
5469 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5475 (char *) "self", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= SWIG_PyObj_FromInt((int)result
);
5494 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5497 wxWindow
*arg2
= (wxWindow
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5501 (char *) "self",(char *) "window", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 (arg1
)->Initialize(arg2
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 Py_INCREF(Py_None
); resultobj
= Py_None
;
5521 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5524 wxWindow
*arg2
= (wxWindow
*) 0 ;
5525 wxWindow
*arg3
= (wxWindow
*) 0 ;
5526 int arg4
= (int) 0 ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5530 PyObject
* obj2
= 0 ;
5531 PyObject
* obj3
= 0 ;
5533 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5539 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5560 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5563 wxWindow
*arg2
= (wxWindow
*) 0 ;
5564 wxWindow
*arg3
= (wxWindow
*) 0 ;
5565 int arg4
= (int) 0 ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 PyObject
* obj2
= 0 ;
5570 PyObject
* obj3
= 0 ;
5572 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5578 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5581 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5599 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5602 wxWindow
*arg2
= (wxWindow
*) NULL
;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5607 (char *) "self",(char *) "toRemove", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (bool)(arg1
)->Unsplit(arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5629 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5632 wxWindow
*arg2
= (wxWindow
*) 0 ;
5633 wxWindow
*arg3
= (wxWindow
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 PyObject
* obj2
= 0 ;
5639 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5645 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5660 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5666 (char *) "self", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5685 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5692 (char *) "self",(char *) "width", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 (arg1
)->SetSashSize(arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 Py_INCREF(Py_None
); resultobj
= Py_None
;
5715 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5722 (char *) "self",(char *) "width", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5728 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 (arg1
)->SetBorderSize(arg2
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= SWIG_PyObj_FromInt((int)result
);
5770 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "self", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_PyObj_FromInt((int)result
);
5795 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5799 bool arg3
= (bool) True
;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5802 PyObject
* obj2
= 0 ;
5804 (char *) "self",(char *) "position",(char *) "redraw", NULL
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5810 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5815 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetSashPosition(arg2
,arg3
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= SWIG_PyObj_FromInt((int)result
);
5858 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5865 (char *) "self",(char *) "min", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5871 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 (arg1
)->SetMinimumPaneSize(arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5888 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5894 (char *) "self", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_PyObj_FromInt((int)result
);
5913 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5918 int arg4
= (int) 5 ;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5922 PyObject
* obj2
= 0 ;
5923 PyObject
* obj3
= 0 ;
5925 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5931 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5940 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5958 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5963 (char *) "self", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 (arg1
)->SizeWindows();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 Py_INCREF(Py_None
); resultobj
= Py_None
;
5982 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj1
= 0 ;
5989 (char *) "self",(char *) "needUpdating", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5995 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 (arg1
)->SetNeedUpdating(arg2
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 Py_INCREF(Py_None
); resultobj
= Py_None
;
6012 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "self", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6037 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6040 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6042 return Py_BuildValue((char *)"");
6044 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6047 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6048 wxSplitterEvent
*result
;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6052 (char *) "type",(char *) "splitter", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6058 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
6079 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6086 (char *) "self",(char *) "pos", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6092 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 (arg1
)->SetSashPosition(arg2
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 Py_INCREF(Py_None
); resultobj
= Py_None
;
6109 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "self", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= SWIG_PyObj_FromInt((int)result
);
6134 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6140 (char *) "self", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= wxPyMake_wxObject(result
);
6161 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_PyObj_FromInt((int)result
);
6186 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6192 (char *) "self", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= SWIG_PyObj_FromInt((int)result
);
6211 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6214 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6216 return Py_BuildValue((char *)"");
6218 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6219 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6224 static PyObject
*_wrap_SashNameStr_get() {
6229 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6231 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6238 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6239 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6244 static PyObject
*_wrap_SashLayoutNameStr_get() {
6249 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6251 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6258 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxWindow
*arg1
= (wxWindow
*) 0 ;
6262 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6263 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6264 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6265 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6266 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6267 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6268 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6269 wxSashWindow
*result
;
6272 bool temp6
= False
;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 PyObject
* obj2
= 0 ;
6276 PyObject
* obj3
= 0 ;
6277 PyObject
* obj4
= 0 ;
6278 PyObject
* obj5
= 0 ;
6280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6303 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6309 arg6
= wxString_in_helper(obj5
);
6310 if (arg6
== NULL
) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6336 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxSashWindow
*result
;
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (wxSashWindow
*)new wxSashWindow();
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6358 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6361 wxWindow
*arg2
= (wxWindow
*) 0 ;
6363 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6364 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6365 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6366 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6367 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6368 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6373 bool temp7
= False
;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6377 PyObject
* obj3
= 0 ;
6378 PyObject
* obj4
= 0 ;
6379 PyObject
* obj5
= 0 ;
6380 PyObject
* obj6
= 0 ;
6382 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6389 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6406 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6412 arg7
= wxString_in_helper(obj6
);
6413 if (arg7
== NULL
) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6439 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6446 PyObject
* obj2
= 0 ;
6448 (char *) "self",(char *) "edge",(char *) "sash", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6454 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6458 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 Py_INCREF(Py_None
); resultobj
= Py_None
;
6475 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6483 (char *) "self",(char *) "edge", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6489 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6506 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
;
6508 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6511 PyObject
* obj0
= 0 ;
6512 PyObject
* obj1
= 0 ;
6513 PyObject
* obj2
= 0 ;
6515 (char *) "self",(char *) "edge",(char *) "border", NULL
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6521 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6525 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 Py_INCREF(Py_None
); resultobj
= Py_None
;
6542 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6548 PyObject
* obj1
= 0 ;
6550 (char *) "self",(char *) "edge", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6556 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6573 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6581 (char *) "self",(char *) "edge", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6587 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_PyObj_FromInt((int)result
);
6604 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6611 (char *) "self",(char *) "width", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 (arg1
)->SetDefaultBorderSize(arg2
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "self", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_PyObj_FromInt((int)result
);
6659 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6664 PyObject
* obj1
= 0 ;
6666 (char *) "self",(char *) "width", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6672 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 (arg1
)->SetExtraBorderSize(arg2
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 Py_INCREF(Py_None
); resultobj
= Py_None
;
6689 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6695 (char *) "self", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_PyObj_FromInt((int)result
);
6714 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6721 (char *) "self",(char *) "min", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6727 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 (arg1
)->SetMinimumSizeX(arg2
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 Py_INCREF(Py_None
); resultobj
= Py_None
;
6744 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6751 (char *) "self",(char *) "min", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 (arg1
)->SetMinimumSizeY(arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 Py_INCREF(Py_None
); resultobj
= Py_None
;
6774 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6780 (char *) "self", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= SWIG_PyObj_FromInt((int)result
);
6799 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "self", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_PyObj_FromInt((int)result
);
6824 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6831 (char *) "self",(char *) "max", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6837 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 (arg1
)->SetMaximumSizeX(arg2
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 Py_INCREF(Py_None
); resultobj
= Py_None
;
6854 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6861 (char *) "self",(char *) "max", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6867 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 (arg1
)->SetMaximumSizeY(arg2
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 Py_INCREF(Py_None
); resultobj
= Py_None
;
6884 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_PyObj_FromInt((int)result
);
6909 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_PyObj_FromInt((int)result
);
6934 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6939 int arg4
= (int) 2 ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6943 PyObject
* obj2
= 0 ;
6944 PyObject
* obj3
= 0 ;
6946 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6952 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6956 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6961 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_PyObj_FromInt((int)result
);
6979 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
;
6981 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6984 (char *) "self", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 (arg1
)->SizeWindows();
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 Py_INCREF(Py_None
); resultobj
= Py_None
;
7003 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7006 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7008 return Py_BuildValue((char *)"");
7010 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 int arg1
= (int) 0 ;
7013 int arg2
= (int) wxSASH_NONE
;
7014 wxSashEvent
*result
;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7018 (char *) "id",(char *) "edge", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7024 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7030 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
7048 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7055 (char *) "self",(char *) "edge", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 Py_INCREF(Py_None
); resultobj
= Py_None
;
7078 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7082 PyObject
* obj0
= 0 ;
7084 (char *) "self", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_PyObj_FromInt((int)result
);
7103 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "rect", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7118 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 Py_INCREF(Py_None
); resultobj
= Py_None
;
7134 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "self", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7154 resultptr
= new wxRect((wxRect
&) result
);
7155 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7163 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7170 (char *) "self",(char *) "status", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7176 arg2
= (wxSashDragStatus
) SWIG_PyObj_AsInt(obj1
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_PyObj_FromInt((int)result
);
7218 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7221 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7223 return Py_BuildValue((char *)"");
7225 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 int arg1
= (int) 0 ;
7228 wxQueryLayoutInfoEvent
*result
;
7229 PyObject
* obj0
= 0 ;
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7237 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7255 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7259 PyObject
* obj0
= 0 ;
7260 PyObject
* obj1
= 0 ;
7262 (char *) "self",(char *) "length", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7268 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 (arg1
)->SetRequestedLength(arg2
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 Py_INCREF(Py_None
); resultobj
= Py_None
;
7285 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7291 (char *) "self", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_PyObj_FromInt((int)result
);
7310 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7317 (char *) "self",(char *) "flags", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7323 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 (arg1
)->SetFlags(arg2
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 Py_INCREF(Py_None
); resultobj
= Py_None
;
7340 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7344 PyObject
* obj0
= 0 ;
7346 (char *) "self", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_PyObj_FromInt((int)result
);
7365 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7370 PyObject
* obj0
= 0 ;
7371 PyObject
* obj1
= 0 ;
7373 (char *) "self",(char *) "size", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7380 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 (arg1
)->SetSize((wxSize
const &)*arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 Py_INCREF(Py_None
); resultobj
= Py_None
;
7396 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "self", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7416 resultptr
= new wxSize((wxSize
&) result
);
7417 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
7425 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7432 (char *) "self",(char *) "orient", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7438 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 Py_INCREF(Py_None
); resultobj
= Py_None
;
7455 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "self", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= SWIG_PyObj_FromInt((int)result
);
7480 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7485 PyObject
* obj1
= 0 ;
7487 (char *) "self",(char *) "align", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7493 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 Py_INCREF(Py_None
); resultobj
= Py_None
;
7510 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7514 PyObject
* obj0
= 0 ;
7516 (char *) "self", NULL
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_PyObj_FromInt((int)result
);
7535 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7538 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7540 return Py_BuildValue((char *)"");
7542 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 int arg1
= (int) 0 ;
7545 wxCalculateLayoutEvent
*result
;
7546 PyObject
* obj0
= 0 ;
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7554 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7572 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7579 (char *) "self",(char *) "flags", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7585 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 (arg1
)->SetFlags(arg2
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 Py_INCREF(Py_None
); resultobj
= Py_None
;
7602 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7606 PyObject
* obj0
= 0 ;
7608 (char *) "self", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 resultobj
= SWIG_PyObj_FromInt((int)result
);
7627 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7635 (char *) "self",(char *) "rect", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7642 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 (arg1
)->SetRect((wxRect
const &)*arg2
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 Py_INCREF(Py_None
); resultobj
= Py_None
;
7658 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "self", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7678 resultptr
= new wxRect((wxRect
&) result
);
7679 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7687 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7690 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7692 return Py_BuildValue((char *)"");
7694 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxWindow
*arg1
= (wxWindow
*) 0 ;
7698 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7699 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7700 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7701 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7702 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7703 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7704 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7705 wxSashLayoutWindow
*result
;
7708 bool temp6
= False
;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 PyObject
* obj2
= 0 ;
7712 PyObject
* obj3
= 0 ;
7713 PyObject
* obj4
= 0 ;
7714 PyObject
* obj5
= 0 ;
7716 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7722 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7734 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7739 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7745 arg6
= wxString_in_helper(obj5
);
7746 if (arg6
== NULL
) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7772 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxSashLayoutWindow
*result
;
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7794 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7797 wxWindow
*arg2
= (wxWindow
*) 0 ;
7799 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7800 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7801 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7802 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7803 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7804 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7809 bool temp7
= False
;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 PyObject
* obj2
= 0 ;
7813 PyObject
* obj3
= 0 ;
7814 PyObject
* obj4
= 0 ;
7815 PyObject
* obj5
= 0 ;
7816 PyObject
* obj6
= 0 ;
7818 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7825 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7842 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7848 arg7
= wxString_in_helper(obj6
);
7849 if (arg7
== NULL
) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7875 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 result
= (int)(arg1
)->GetAlignment();
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= SWIG_PyObj_FromInt((int)result
);
7900 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7906 (char *) "self", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (int)(arg1
)->GetOrientation();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_PyObj_FromInt((int)result
);
7925 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7930 PyObject
* obj1
= 0 ;
7932 (char *) "self",(char *) "alignment", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7938 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7963 (char *) "self",(char *) "size", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7970 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 Py_INCREF(Py_None
); resultobj
= Py_None
;
7986 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7991 PyObject
* obj1
= 0 ;
7993 (char *) "self",(char *) "orientation", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7999 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 Py_INCREF(Py_None
); resultobj
= Py_None
;
8016 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8019 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8021 return Py_BuildValue((char *)"");
8023 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxLayoutAlgorithm
*result
;
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8045 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8072 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8073 wxRect
*arg3
= (wxRect
*) NULL
;
8075 PyObject
* obj0
= 0 ;
8076 PyObject
* obj1
= 0 ;
8077 PyObject
* obj2
= 0 ;
8079 (char *) "self",(char *) "frame",(char *) "rect", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8084 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8086 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8102 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8105 wxFrame
*arg2
= (wxFrame
*) 0 ;
8106 wxWindow
*arg3
= (wxWindow
*) NULL
;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 PyObject
* obj2
= 0 ;
8112 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8119 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8135 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8138 wxWindow
*arg2
= (wxWindow
*) 0 ;
8139 wxWindow
*arg3
= (wxWindow
*) NULL
;
8141 PyObject
* obj0
= 0 ;
8142 PyObject
* obj1
= 0 ;
8143 PyObject
* obj2
= 0 ;
8145 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8150 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8152 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8168 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8171 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8173 return Py_BuildValue((char *)"");
8175 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
;
8177 wxWindow
*arg1
= (wxWindow
*) 0 ;
8178 int arg2
= (int) wxBORDER_NONE
;
8179 wxPopupWindow
*result
;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8183 (char *) "parent",(char *) "flags", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8208 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxPopupWindow
*result
;
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (wxPopupWindow
*)new wxPopupWindow();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8230 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8233 wxWindow
*arg2
= (wxWindow
*) 0 ;
8234 int arg3
= (int) wxBORDER_NONE
;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8238 PyObject
* obj2
= 0 ;
8240 (char *) "self",(char *) "parent",(char *) "flags", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8248 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8266 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8275 PyObject
* obj2
= 0 ;
8277 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8288 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 Py_INCREF(Py_None
); resultobj
= Py_None
;
8304 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8307 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8309 return Py_BuildValue((char *)"");
8311 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxWindow
*arg1
= (wxWindow
*) 0 ;
8314 int arg2
= (int) wxBORDER_NONE
;
8315 wxPyPopupTransientWindow
*result
;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "parent",(char *) "style", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8326 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8344 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxPyPopupTransientWindow
*result
;
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8366 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8369 PyObject
*arg2
= (PyObject
*) 0 ;
8370 PyObject
*arg3
= (PyObject
*) 0 ;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8373 PyObject
* obj2
= 0 ;
8375 (char *) "self",(char *) "self",(char *) "_class", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 Py_INCREF(Py_None
); resultobj
= Py_None
;
8396 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
;
8398 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8399 wxWindow
*arg2
= (wxWindow
*) NULL
;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8403 (char *) "self",(char *) "focus", NULL
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 (arg1
)->Popup(arg2
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 Py_INCREF(Py_None
); resultobj
= Py_None
;
8425 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8430 (char *) "self", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8449 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8452 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8454 return Py_BuildValue((char *)"");
8456 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxWindow
*arg1
= (wxWindow
*) 0 ;
8459 wxString
*arg2
= 0 ;
8460 int arg3
= (int) 100 ;
8461 wxRect
*arg4
= (wxRect
*) NULL
;
8462 wxTipWindow
*result
;
8463 bool temp2
= False
;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8466 PyObject
* obj2
= 0 ;
8467 PyObject
* obj3
= 0 ;
8469 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8475 arg2
= wxString_in_helper(obj1
);
8476 if (arg2
== NULL
) SWIG_fail
;
8481 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8486 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
8510 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8516 PyObject
* obj1
= 0 ;
8518 (char *) "self",(char *) "rectBound", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8525 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 Py_INCREF(Py_None
); resultobj
= Py_None
;
8541 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8544 PyObject
* obj0
= 0 ;
8546 (char *) "self", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 Py_INCREF(Py_None
); resultobj
= Py_None
;
8565 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8568 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8570 return Py_BuildValue((char *)"");
8572 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxWindow
*arg1
= (wxWindow
*) 0 ;
8575 int arg2
= (int) wxID_ANY
;
8576 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8577 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8578 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8579 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8580 long arg5
= (long) 0 ;
8581 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8582 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8583 wxPyVScrolledWindow
*result
;
8586 bool temp6
= False
;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8589 PyObject
* obj2
= 0 ;
8590 PyObject
* obj3
= 0 ;
8591 PyObject
* obj4
= 0 ;
8592 PyObject
* obj5
= 0 ;
8594 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8601 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8619 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8625 arg6
= wxString_in_helper(obj5
);
8626 if (arg6
== NULL
) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8652 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxPyVScrolledWindow
*result
;
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8674 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8677 PyObject
*arg2
= (PyObject
*) 0 ;
8678 PyObject
*arg3
= (PyObject
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 PyObject
* obj2
= 0 ;
8683 (char *) "self",(char *) "self",(char *) "_class", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8707 wxWindow
*arg2
= (wxWindow
*) 0 ;
8708 int arg3
= (int) wxID_ANY
;
8709 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8710 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8711 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8712 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8713 long arg6
= (long) 0 ;
8714 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8715 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8719 bool temp7
= False
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 PyObject
* obj2
= 0 ;
8723 PyObject
* obj3
= 0 ;
8724 PyObject
* obj4
= 0 ;
8725 PyObject
* obj5
= 0 ;
8726 PyObject
* obj6
= 0 ;
8728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8736 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8754 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8760 arg7
= wxString_in_helper(obj6
);
8761 if (arg7
== NULL
) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8787 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8794 (char *) "self",(char *) "count", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8800 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 (arg1
)->SetLineCount(arg2
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 Py_INCREF(Py_None
); resultobj
= Py_None
;
8817 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8825 (char *) "self",(char *) "line", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8831 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8848 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8856 (char *) "self",(char *) "lines", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8862 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (bool)(arg1
)->ScrollLines(arg2
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8879 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8887 (char *) "self",(char *) "pages", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8893 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (bool)(arg1
)->ScrollPages(arg2
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8910 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8917 (char *) "self",(char *) "line", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8923 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 (arg1
)->RefreshLine(arg2
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 Py_INCREF(Py_None
); resultobj
= Py_None
;
8940 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 PyObject
* obj2
= 0 ;
8949 (char *) "self",(char *) "from",(char *) "to", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8959 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 (arg1
)->RefreshLines(arg2
,arg3
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8984 PyObject
* obj2
= 0 ;
8986 (char *) "self",(char *) "x",(char *) "y", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8992 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8996 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_PyObj_FromInt((int)result
);
9013 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9022 (char *) "self",(char *) "pt", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9029 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= SWIG_PyObj_FromInt((int)result
);
9045 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9050 (char *) "self", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 (arg1
)->RefreshAll();
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9094 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9119 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9125 (char *) "self", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9144 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9152 (char *) "self",(char *) "line", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9158 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9175 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9178 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9180 return Py_BuildValue((char *)"");
9182 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9183 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9188 static PyObject
*_wrap_VListBoxNameStr_get() {
9193 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9195 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9202 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxWindow
*arg1
= (wxWindow
*) 0 ;
9205 int arg2
= (int) wxID_ANY
;
9206 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9207 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9208 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9209 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9210 long arg5
= (long) 0 ;
9211 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9212 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9213 wxPyVListBox
*result
;
9216 bool temp6
= False
;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9219 PyObject
* obj2
= 0 ;
9220 PyObject
* obj3
= 0 ;
9221 PyObject
* obj4
= 0 ;
9222 PyObject
* obj5
= 0 ;
9224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9231 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9238 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9244 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9249 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9255 arg6
= wxString_in_helper(obj5
);
9256 if (arg6
== NULL
) SWIG_fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9282 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxPyVListBox
*result
;
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (wxPyVListBox
*)new wxPyVListBox();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9304 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9307 PyObject
*arg2
= (PyObject
*) 0 ;
9308 PyObject
*arg3
= (PyObject
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9310 PyObject
* obj1
= 0 ;
9311 PyObject
* obj2
= 0 ;
9313 (char *) "self",(char *) "self",(char *) "_class", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9337 wxWindow
*arg2
= (wxWindow
*) 0 ;
9338 int arg3
= (int) wxID_ANY
;
9339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9343 long arg6
= (long) 0 ;
9344 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9345 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9349 bool temp7
= False
;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9352 PyObject
* obj2
= 0 ;
9353 PyObject
* obj3
= 0 ;
9354 PyObject
* obj4
= 0 ;
9355 PyObject
* obj5
= 0 ;
9356 PyObject
* obj6
= 0 ;
9358 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9363 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9366 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9384 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9390 arg7
= wxString_in_helper(obj6
);
9391 if (arg7
== NULL
) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9417 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9442 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9467 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_PyObj_FromInt((int)result
);
9492 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9500 (char *) "self",(char *) "item", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9506 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9523 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
;
9525 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9531 (char *) "self",(char *) "item", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9554 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9560 (char *) "self", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9579 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9582 unsigned long *arg2
= 0 ;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9587 (char *) "self",(char *) "cookie", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_PyObj_FromInt((int)result
);
9610 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9613 unsigned long *arg2
= 0 ;
9615 PyObject
* obj0
= 0 ;
9616 PyObject
* obj1
= 0 ;
9618 (char *) "self",(char *) "cookie", NULL
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_PyObj_FromInt((int)result
);
9641 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9660 wxPoint
* resultptr
;
9661 resultptr
= new wxPoint((wxPoint
&) result
);
9662 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9670 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9676 (char *) "self", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9685 result
= (wxColour
*) &_result_ref
;
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
9698 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9705 (char *) "self",(char *) "count", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9711 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 (arg1
)->SetItemCount(arg2
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9721 Py_INCREF(Py_None
); resultobj
= Py_None
;
9728 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9733 (char *) "self", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 Py_INCREF(Py_None
); resultobj
= Py_None
;
9752 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
;
9754 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9759 (char *) "self",(char *) "selection", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9765 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 (arg1
)->SetSelection(arg2
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 Py_INCREF(Py_None
); resultobj
= Py_None
;
9782 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9786 bool arg3
= (bool) True
;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 PyObject
* obj2
= 0 ;
9792 (char *) "self",(char *) "item",(char *) "select", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9798 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9803 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9821 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9831 (char *) "self",(char *) "from",(char *) "to", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9837 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9858 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9865 (char *) "self",(char *) "item", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9871 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 (arg1
)->Toggle(arg2
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 Py_INCREF(Py_None
); resultobj
= Py_None
;
9888 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (bool)(arg1
)->SelectAll();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9913 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9917 PyObject
* obj0
= 0 ;
9919 (char *) "self", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (bool)(arg1
)->DeselectAll();
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9938 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9943 PyObject
* obj0
= 0 ;
9944 PyObject
* obj1
= 0 ;
9946 (char *) "self",(char *) "pt", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 Py_INCREF(Py_None
); resultobj
= Py_None
;
9969 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9976 PyObject
* obj2
= 0 ;
9978 (char *) "self",(char *) "x",(char *) "y", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9984 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 (arg1
)->SetMargins(arg2
,arg3
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 Py_INCREF(Py_None
); resultobj
= Py_None
;
10005 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10008 wxColour
*arg2
= 0 ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "col", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10020 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 Py_INCREF(Py_None
); resultobj
= Py_None
;
10036 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10039 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10041 return Py_BuildValue((char *)"");
10043 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 wxWindow
*arg1
= (wxWindow
*) 0 ;
10046 int arg2
= (int) wxID_ANY
;
10047 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10048 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10049 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10050 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10051 long arg5
= (long) 0 ;
10052 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10053 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10054 wxPyHtmlListBox
*result
;
10057 bool temp6
= False
;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10060 PyObject
* obj2
= 0 ;
10061 PyObject
* obj3
= 0 ;
10062 PyObject
* obj4
= 0 ;
10063 PyObject
* obj5
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10072 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10090 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10096 arg6
= wxString_in_helper(obj5
);
10097 if (arg6
== NULL
) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10123 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxPyHtmlListBox
*result
;
10126 char *kwnames
[] = {
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10145 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10148 PyObject
*arg2
= (PyObject
*) 0 ;
10149 PyObject
*arg3
= (PyObject
*) 0 ;
10150 PyObject
* obj0
= 0 ;
10151 PyObject
* obj1
= 0 ;
10152 PyObject
* obj2
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self",(char *) "self",(char *) "_class", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 Py_INCREF(Py_None
); resultobj
= Py_None
;
10175 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10178 wxWindow
*arg2
= (wxWindow
*) 0 ;
10179 int arg3
= (int) wxID_ANY
;
10180 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10181 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10182 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10183 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10184 long arg6
= (long) 0 ;
10185 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10186 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10190 bool temp7
= False
;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 PyObject
* obj2
= 0 ;
10194 PyObject
* obj3
= 0 ;
10195 PyObject
* obj4
= 0 ;
10196 PyObject
* obj5
= 0 ;
10197 PyObject
* obj6
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10207 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10214 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10220 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10225 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10231 arg7
= wxString_in_helper(obj6
);
10232 if (arg7
== NULL
) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10258 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 (arg1
)->RefreshAll();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "self",(char *) "count", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10295 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 (arg1
)->SetItemCount(arg2
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10312 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10315 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10317 return Py_BuildValue((char *)"");
10319 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxTaskBarIcon
*result
;
10322 char *kwnames
[] = {
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
10341 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 Py_INCREF(Py_None
); resultobj
= Py_None
;
10365 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10390 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10415 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10422 bool temp3
= False
;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 PyObject
* obj2
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10433 if (arg2
== NULL
) {
10434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10438 arg3
= wxString_in_helper(obj2
);
10439 if (arg3
== NULL
) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10465 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10469 PyObject
* obj0
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)(arg1
)->RemoveIcon();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10490 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10493 wxMenu
*arg2
= (wxMenu
*) 0 ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self",(char *) "menu", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (bool)(arg1
)->PopupMenu(arg2
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10521 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10523 return Py_BuildValue((char *)"");
10525 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10528 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10529 wxTaskBarIconEvent
*result
;
10530 PyObject
* obj0
= 0 ;
10531 PyObject
* obj1
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "evtType",(char *) "tbIcon", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10538 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10556 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10559 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10561 return Py_BuildValue((char *)"");
10563 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10564 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10569 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10574 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10576 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10583 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10584 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10589 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10594 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10596 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10603 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10604 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10609 static PyObject
*_wrap_DirDialogNameStr_get() {
10614 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10616 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10623 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10624 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10629 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10634 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10636 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10643 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10644 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10649 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10654 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10656 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10663 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10664 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10669 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10674 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10676 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10683 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxColourData
*result
;
10686 char *kwnames
[] = {
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (wxColourData
*)new wxColourData();
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
10705 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxColourData
*arg1
= (wxColourData
*) 0 ;
10708 PyObject
* obj0
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "self", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10729 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxColourData
*arg1
= (wxColourData
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (bool)(arg1
)->GetChooseFull();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10754 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxColourData
*arg1
= (wxColourData
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= (arg1
)->GetColour();
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10773 wxColour
* resultptr
;
10774 resultptr
= new wxColour((wxColour
&) result
);
10775 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10783 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10785 wxColourData
*arg1
= (wxColourData
*) 0 ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self",(char *) "i", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (arg1
)->GetCustomColour(arg2
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 wxColour
* resultptr
;
10809 resultptr
= new wxColour((wxColour
&) result
);
10810 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10818 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxColourData
*arg1
= (wxColourData
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "flag", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10831 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 (arg1
)->SetChooseFull(arg2
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 Py_INCREF(Py_None
); resultobj
= Py_None
;
10848 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 wxColourData
*arg1
= (wxColourData
*) 0 ;
10851 wxColour
*arg2
= 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "colour", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10863 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->SetColour((wxColour
const &)*arg2
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxColourData
*arg1
= (wxColourData
*) 0 ;
10883 wxColour
*arg3
= 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "i",(char *) "colour", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10900 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 Py_INCREF(Py_None
); resultobj
= Py_None
;
10916 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10919 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10921 return Py_BuildValue((char *)"");
10923 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxWindow
*arg1
= (wxWindow
*) 0 ;
10926 wxColourData
*arg2
= (wxColourData
*) NULL
;
10927 wxColourDialog
*result
;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "parent",(char *) "data", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
10953 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10956 wxColourData
*result
;
10957 PyObject
* obj0
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10968 result
= (wxColourData
*) &_result_ref
;
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
10981 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= (int)(arg1
)->ShowModal();
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= SWIG_PyObj_FromInt((int)result
);
11006 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11009 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11011 return Py_BuildValue((char *)"");
11013 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxWindow
*arg1
= (wxWindow
*) 0 ;
11016 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11017 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11018 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11019 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11020 long arg4
= (long) 0 ;
11021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11023 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11024 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11025 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11026 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11027 wxDirDialog
*result
;
11028 bool temp2
= False
;
11029 bool temp3
= False
;
11032 bool temp7
= False
;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 PyObject
* obj2
= 0 ;
11036 PyObject
* obj3
= 0 ;
11037 PyObject
* obj4
= 0 ;
11038 PyObject
* obj5
= 0 ;
11039 PyObject
* obj6
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11048 arg2
= wxString_in_helper(obj1
);
11049 if (arg2
== NULL
) SWIG_fail
;
11055 arg3
= wxString_in_helper(obj2
);
11056 if (arg3
== NULL
) SWIG_fail
;
11062 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11069 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11075 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11080 arg7
= wxString_in_helper(obj6
);
11081 if (arg7
== NULL
) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
11123 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (arg1
)->GetPath();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11154 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (arg1
)->GetMessage();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11185 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (long)(arg1
)->GetStyle();
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= SWIG_PyObj_FromLong((long)result
);
11210 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11213 wxString
*arg2
= 0 ;
11214 bool temp2
= False
;
11215 PyObject
* obj0
= 0 ;
11216 PyObject
* obj1
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self",(char *) "message", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11224 arg2
= wxString_in_helper(obj1
);
11225 if (arg2
== NULL
) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 (arg1
)->SetMessage((wxString
const &)*arg2
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 Py_INCREF(Py_None
); resultobj
= Py_None
;
11250 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11253 wxString
*arg2
= 0 ;
11254 bool temp2
= False
;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self",(char *) "path", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11264 arg2
= wxString_in_helper(obj1
);
11265 if (arg2
== NULL
) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 (arg1
)->SetPath((wxString
const &)*arg2
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (int)(arg1
)->ShowModal();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_PyObj_FromInt((int)result
);
11315 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11318 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11320 return Py_BuildValue((char *)"");
11322 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxWindow
*arg1
= (wxWindow
*) 0 ;
11325 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11326 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11327 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11328 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11329 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11330 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11331 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11332 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11333 long arg6
= (long) 0 ;
11334 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11335 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11336 wxFileDialog
*result
;
11337 bool temp2
= False
;
11338 bool temp3
= False
;
11339 bool temp4
= False
;
11340 bool temp5
= False
;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 PyObject
* obj2
= 0 ;
11345 PyObject
* obj3
= 0 ;
11346 PyObject
* obj4
= 0 ;
11347 PyObject
* obj5
= 0 ;
11348 PyObject
* obj6
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11357 arg2
= wxString_in_helper(obj1
);
11358 if (arg2
== NULL
) SWIG_fail
;
11364 arg3
= wxString_in_helper(obj2
);
11365 if (arg3
== NULL
) SWIG_fail
;
11371 arg4
= wxString_in_helper(obj3
);
11372 if (arg4
== NULL
) SWIG_fail
;
11378 arg5
= wxString_in_helper(obj4
);
11379 if (arg5
== NULL
) SWIG_fail
;
11385 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11392 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
11441 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11444 wxString
*arg2
= 0 ;
11445 bool temp2
= False
;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self",(char *) "message", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11455 arg2
= wxString_in_helper(obj1
);
11456 if (arg2
== NULL
) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 (arg1
)->SetMessage((wxString
const &)*arg2
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11481 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11484 wxString
*arg2
= 0 ;
11485 bool temp2
= False
;
11486 PyObject
* obj0
= 0 ;
11487 PyObject
* obj1
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self",(char *) "path", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11495 arg2
= wxString_in_helper(obj1
);
11496 if (arg2
== NULL
) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->SetPath((wxString
const &)*arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11521 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11524 wxString
*arg2
= 0 ;
11525 bool temp2
= False
;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self",(char *) "dir", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 arg2
= wxString_in_helper(obj1
);
11536 if (arg2
== NULL
) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 Py_INCREF(Py_None
); resultobj
= Py_None
;
11561 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11564 wxString
*arg2
= 0 ;
11565 bool temp2
= False
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self",(char *) "name", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11575 arg2
= wxString_in_helper(obj1
);
11576 if (arg2
== NULL
) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 (arg1
)->SetFilename((wxString
const &)*arg2
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 Py_INCREF(Py_None
); resultobj
= Py_None
;
11601 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11604 wxString
*arg2
= 0 ;
11605 bool temp2
= False
;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "wildCard", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11615 arg2
= wxString_in_helper(obj1
);
11616 if (arg2
== NULL
) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 Py_INCREF(Py_None
); resultobj
= Py_None
;
11641 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 char *kwnames
[] = {
11648 (char *) "self",(char *) "style", NULL
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11654 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 (arg1
)->SetStyle(arg2
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 Py_INCREF(Py_None
); resultobj
= Py_None
;
11671 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "self",(char *) "filterIndex", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11684 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 (arg1
)->SetFilterIndex(arg2
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 Py_INCREF(Py_None
); resultobj
= Py_None
;
11701 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11705 PyObject
* obj0
= 0 ;
11706 char *kwnames
[] = {
11707 (char *) "self", NULL
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11732 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11736 PyObject
* obj0
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11763 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11767 PyObject
* obj0
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11794 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11825 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11829 PyObject
* obj0
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11856 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11860 PyObject
* obj0
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "self", NULL
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= SWIG_PyObj_FromLong((long)result
);
11881 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_PyObj_FromInt((int)result
);
11906 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= result
;
11931 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= result
;
11956 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11959 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11961 return Py_BuildValue((char *)"");
11963 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxWindow
*arg1
= (wxWindow
*) 0 ;
11966 wxString
*arg2
= 0 ;
11967 wxString
*arg3
= 0 ;
11968 int arg4
= (int) 0 ;
11969 wxString
*arg5
= (wxString
*) 0 ;
11970 long arg6
= (long) wxCHOICEDLG_STYLE
;
11971 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11972 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11973 wxMultiChoiceDialog
*result
;
11974 bool temp2
= False
;
11975 bool temp3
= False
;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 PyObject
* obj2
= 0 ;
11980 PyObject
* obj3
= 0 ;
11981 PyObject
* obj4
= 0 ;
11982 PyObject
* obj5
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11990 arg2
= wxString_in_helper(obj1
);
11991 if (arg2
== NULL
) SWIG_fail
;
11995 arg3
= wxString_in_helper(obj2
);
11996 if (arg3
== NULL
) SWIG_fail
;
12001 arg4
= PyList_Size(obj3
);
12002 arg5
= wxString_LIST_helper(obj3
);
12003 if (arg5
== NULL
) SWIG_fail
;
12008 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12015 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12035 if (arg5
) delete [] arg5
;
12048 if (arg5
) delete [] arg5
;
12054 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12057 wxArrayInt
*arg2
= 0 ;
12058 bool temp2
= False
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "selections", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12068 if (! PySequence_Check(obj1
)) {
12069 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12072 arg2
= new wxArrayInt
;
12074 int i
, len
=PySequence_Length(obj1
);
12075 for (i
=0; i
<len
; i
++) {
12076 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12077 PyObject
* number
= PyNumber_Int(item
);
12078 arg2
->Add(PyInt_AS_LONG(number
));
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 Py_INCREF(Py_None
); resultobj
= Py_None
;
12092 if (temp2
) delete arg2
;
12097 if (temp2
) delete arg2
;
12103 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= result
;
12128 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12131 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12133 return Py_BuildValue((char *)"");
12135 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxWindow
*arg1
= (wxWindow
*) 0 ;
12138 wxString
*arg2
= 0 ;
12139 wxString
*arg3
= 0 ;
12141 wxString
*arg5
= (wxString
*) 0 ;
12142 long arg6
= (long) wxCHOICEDLG_STYLE
;
12143 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12144 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12145 wxSingleChoiceDialog
*result
;
12146 bool temp2
= False
;
12147 bool temp3
= False
;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 PyObject
* obj2
= 0 ;
12152 PyObject
* obj3
= 0 ;
12153 PyObject
* obj4
= 0 ;
12154 PyObject
* obj5
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12162 arg2
= wxString_in_helper(obj1
);
12163 if (arg2
== NULL
) SWIG_fail
;
12167 arg3
= wxString_in_helper(obj2
);
12168 if (arg3
== NULL
) SWIG_fail
;
12172 arg4
= PyList_Size(obj3
);
12173 arg5
= wxString_LIST_helper(obj3
);
12174 if (arg5
== NULL
) SWIG_fail
;
12178 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12185 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12205 if (arg5
) delete [] arg5
;
12218 if (arg5
) delete [] arg5
;
12224 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (int)(arg1
)->GetSelection();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= SWIG_PyObj_FromInt((int)result
);
12249 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (arg1
)->GetStringSelection();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12280 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self",(char *) "sel", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12293 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 (arg1
)->SetSelection(arg2
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 Py_INCREF(Py_None
); resultobj
= Py_None
;
12310 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (int)(arg1
)->ShowModal();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_PyObj_FromInt((int)result
);
12335 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12338 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12340 return Py_BuildValue((char *)"");
12342 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxWindow
*arg1
= (wxWindow
*) 0 ;
12345 wxString
*arg2
= 0 ;
12346 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12347 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12348 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12349 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12350 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12351 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12352 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12353 wxTextEntryDialog
*result
;
12354 bool temp2
= False
;
12355 bool temp3
= False
;
12356 bool temp4
= False
;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 PyObject
* obj2
= 0 ;
12361 PyObject
* obj3
= 0 ;
12362 PyObject
* obj4
= 0 ;
12363 PyObject
* obj5
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12371 arg2
= wxString_in_helper(obj1
);
12372 if (arg2
== NULL
) SWIG_fail
;
12377 arg3
= wxString_in_helper(obj2
);
12378 if (arg3
== NULL
) SWIG_fail
;
12384 arg4
= wxString_in_helper(obj3
);
12385 if (arg4
== NULL
) SWIG_fail
;
12391 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12398 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
12439 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (arg1
)->GetValue();
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12470 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12473 wxString
*arg2
= 0 ;
12474 bool temp2
= False
;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self",(char *) "value", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12484 arg2
= wxString_in_helper(obj1
);
12485 if (arg2
== NULL
) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 (arg1
)->SetValue((wxString
const &)*arg2
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (int)(arg1
)->ShowModal();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_PyObj_FromInt((int)result
);
12535 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12538 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12540 return Py_BuildValue((char *)"");
12542 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxFontData
*result
;
12545 char *kwnames
[] = {
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (wxFontData
*)new wxFontData();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
12564 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxFontData
*arg1
= (wxFontData
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 Py_INCREF(Py_None
); resultobj
= Py_None
;
12588 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxFontData
*arg1
= (wxFontData
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 PyObject
* obj1
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self",(char *) "enable", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12601 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 (arg1
)->EnableEffects(arg2
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 Py_INCREF(Py_None
); resultobj
= Py_None
;
12618 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxFontData
*arg1
= (wxFontData
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (bool)(arg1
)->GetAllowSymbols();
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12643 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxFontData
*arg1
= (wxFontData
*) 0 ;
12647 PyObject
* obj0
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 result
= (arg1
)->GetColour();
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 wxColour
* resultptr
;
12663 resultptr
= new wxColour((wxColour
&) result
);
12664 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12672 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxFontData
*arg1
= (wxFontData
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (arg1
)->GetChosenFont();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12691 wxFont
* resultptr
;
12692 resultptr
= new wxFont((wxFont
&) result
);
12693 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12701 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxFontData
*arg1
= (wxFontData
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (bool)(arg1
)->GetEnableEffects();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12726 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxFontData
*arg1
= (wxFontData
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (arg1
)->GetInitialFont();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12745 wxFont
* resultptr
;
12746 resultptr
= new wxFont((wxFont
&) result
);
12747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12755 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxFontData
*arg1
= (wxFontData
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)(arg1
)->GetShowHelp();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12780 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxFontData
*arg1
= (wxFontData
*) 0 ;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self",(char *) "allowSymbols", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12793 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 (arg1
)->SetAllowSymbols(arg2
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 Py_INCREF(Py_None
); resultobj
= Py_None
;
12810 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxFontData
*arg1
= (wxFontData
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "font", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12823 if (arg2
== NULL
) {
12824 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 Py_INCREF(Py_None
); resultobj
= Py_None
;
12840 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxFontData
*arg1
= (wxFontData
*) 0 ;
12843 wxColour
*arg2
= 0 ;
12845 PyObject
* obj0
= 0 ;
12846 PyObject
* obj1
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self",(char *) "colour", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->SetColour((wxColour
const &)*arg2
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxFontData
*arg1
= (wxFontData
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self",(char *) "font", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12884 if (arg2
== NULL
) {
12885 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 Py_INCREF(Py_None
); resultobj
= Py_None
;
12901 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxFontData
*arg1
= (wxFontData
*) 0 ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 PyObject
* obj2
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "self",(char *) "min",(char *) "max", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12916 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12920 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 (arg1
)->SetRange(arg2
,arg3
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 Py_INCREF(Py_None
); resultobj
= Py_None
;
12937 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxFontData
*arg1
= (wxFontData
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 PyObject
* obj1
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self",(char *) "showHelp", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12950 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 (arg1
)->SetShowHelp(arg2
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 Py_INCREF(Py_None
); resultobj
= Py_None
;
12967 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12970 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12972 return Py_BuildValue((char *)"");
12974 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxWindow
*arg1
= (wxWindow
*) 0 ;
12977 wxFontData
*arg2
= 0 ;
12978 wxFontDialog
*result
;
12979 PyObject
* obj0
= 0 ;
12980 PyObject
* obj1
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "parent",(char *) "data", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12987 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12988 if (arg2
== NULL
) {
12989 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
13005 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
;
13007 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13008 wxFontData
*result
;
13009 PyObject
* obj0
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13020 result
= (wxFontData
*) &_result_ref
;
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
13033 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13037 PyObject
* obj0
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (int)(arg1
)->ShowModal();
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= SWIG_PyObj_FromInt((int)result
);
13058 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13061 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13063 return Py_BuildValue((char *)"");
13065 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13067 wxWindow
*arg1
= (wxWindow
*) 0 ;
13068 wxString
*arg2
= 0 ;
13069 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13071 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13072 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13073 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13074 wxMessageDialog
*result
;
13075 bool temp2
= False
;
13076 bool temp3
= False
;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 PyObject
* obj2
= 0 ;
13081 PyObject
* obj3
= 0 ;
13082 PyObject
* obj4
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13090 arg2
= wxString_in_helper(obj1
);
13091 if (arg2
== NULL
) SWIG_fail
;
13096 arg3
= wxString_in_helper(obj2
);
13097 if (arg3
== NULL
) SWIG_fail
;
13103 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13110 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
13143 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (int)(arg1
)->ShowModal();
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= SWIG_PyObj_FromInt((int)result
);
13168 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13171 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13173 return Py_BuildValue((char *)"");
13175 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxString
*arg1
= 0 ;
13178 wxString
*arg2
= 0 ;
13179 int arg3
= (int) 100 ;
13180 wxWindow
*arg4
= (wxWindow
*) NULL
;
13181 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13182 wxProgressDialog
*result
;
13183 bool temp1
= False
;
13184 bool temp2
= False
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 PyObject
* obj2
= 0 ;
13188 PyObject
* obj3
= 0 ;
13189 PyObject
* obj4
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13196 arg1
= wxString_in_helper(obj0
);
13197 if (arg1
== NULL
) SWIG_fail
;
13201 arg2
= wxString_in_helper(obj1
);
13202 if (arg2
== NULL
) SWIG_fail
;
13207 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13212 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13216 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
13250 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13254 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13255 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13257 bool temp3
= False
;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 PyObject
* obj2
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13268 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13273 arg3
= wxString_in_helper(obj2
);
13274 if (arg3
== NULL
) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13300 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 Py_INCREF(Py_None
); resultobj
= Py_None
;
13324 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13327 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13329 return Py_BuildValue((char *)"");
13331 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13334 int arg2
= (int) 0 ;
13335 wxFindDialogEvent
*result
;
13336 PyObject
* obj0
= 0 ;
13337 PyObject
* obj1
= 0 ;
13338 char *kwnames
[] = {
13339 (char *) "commandType",(char *) "id", NULL
13342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13345 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13351 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
13369 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (int)(arg1
)->GetFlags();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_PyObj_FromInt((int)result
);
13394 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 wxString
const &_result_ref
= (arg1
)->GetFindString();
13409 result
= (wxString
*) &_result_ref
;
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13419 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13428 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13443 result
= (wxString
*) &_result_ref
;
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13453 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13462 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13465 wxFindReplaceDialog
*result
;
13466 PyObject
* obj0
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "self", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
13487 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self",(char *) "flags", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13500 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 (arg1
)->SetFlags(arg2
);
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 Py_INCREF(Py_None
); resultobj
= Py_None
;
13517 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
;
13519 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13520 wxString
*arg2
= 0 ;
13521 bool temp2
= False
;
13522 PyObject
* obj0
= 0 ;
13523 PyObject
* obj1
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self",(char *) "str", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13531 arg2
= wxString_in_helper(obj1
);
13532 if (arg2
== NULL
) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 (arg1
)->SetFindString((wxString
const &)*arg2
);
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 Py_INCREF(Py_None
); resultobj
= Py_None
;
13557 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13560 wxString
*arg2
= 0 ;
13561 bool temp2
= False
;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "str", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13571 arg2
= wxString_in_helper(obj1
);
13572 if (arg2
== NULL
) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 Py_INCREF(Py_None
); resultobj
= Py_None
;
13597 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13600 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13602 return Py_BuildValue((char *)"");
13604 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 int arg1
= (int) 0 ;
13607 wxFindReplaceData
*result
;
13608 PyObject
* obj0
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "flags", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13616 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
13634 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13637 PyObject
* obj0
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 Py_INCREF(Py_None
); resultobj
= Py_None
;
13658 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 wxString
const &_result_ref
= (arg1
)->GetFindString();
13673 result
= (wxString
*) &_result_ref
;
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13683 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13692 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13696 PyObject
* obj0
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "self", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13707 result
= (wxString
*) &_result_ref
;
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13717 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13726 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= (int)(arg1
)->GetFlags();
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 resultobj
= SWIG_PyObj_FromInt((int)result
);
13751 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 char *kwnames
[] = {
13758 (char *) "self",(char *) "flags", NULL
13761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->SetFlags(arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13784 wxString
*arg2
= 0 ;
13785 bool temp2
= False
;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self",(char *) "str", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13795 arg2
= wxString_in_helper(obj1
);
13796 if (arg2
== NULL
) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->SetFindString((wxString
const &)*arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 Py_INCREF(Py_None
); resultobj
= Py_None
;
13821 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13824 wxString
*arg2
= 0 ;
13825 bool temp2
= False
;
13826 PyObject
* obj0
= 0 ;
13827 PyObject
* obj1
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self",(char *) "str", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13835 arg2
= wxString_in_helper(obj1
);
13836 if (arg2
== NULL
) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 Py_INCREF(Py_None
); resultobj
= Py_None
;
13861 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13864 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13866 return Py_BuildValue((char *)"");
13868 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxWindow
*arg1
= (wxWindow
*) 0 ;
13871 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13872 wxString
*arg3
= 0 ;
13873 int arg4
= (int) 0 ;
13874 wxFindReplaceDialog
*result
;
13875 bool temp3
= False
;
13876 PyObject
* obj0
= 0 ;
13877 PyObject
* obj1
= 0 ;
13878 PyObject
* obj2
= 0 ;
13879 PyObject
* obj3
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13888 arg3
= wxString_in_helper(obj2
);
13889 if (arg3
== NULL
) SWIG_fail
;
13894 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13920 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxFindReplaceDialog
*result
;
13923 char *kwnames
[] = {
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13942 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13945 wxWindow
*arg2
= (wxWindow
*) 0 ;
13946 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13947 wxString
*arg4
= 0 ;
13948 int arg5
= (int) 0 ;
13950 bool temp4
= False
;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 PyObject
* obj2
= 0 ;
13954 PyObject
* obj3
= 0 ;
13955 PyObject
* obj4
= 0 ;
13956 char *kwnames
[] = {
13957 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13963 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13965 arg4
= wxString_in_helper(obj3
);
13966 if (arg4
== NULL
) SWIG_fail
;
13971 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13997 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14000 wxFindReplaceData
*result
;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
14022 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14024 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14025 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self",(char *) "data", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 (arg1
)->SetData(arg2
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 Py_INCREF(Py_None
); resultobj
= Py_None
;
14049 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14052 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14054 return Py_BuildValue((char *)"");
14056 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxWindow
*arg1
= (wxWindow
*) 0 ;
14060 wxString
*arg3
= 0 ;
14061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14065 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14066 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14067 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14068 wxMDIParentFrame
*result
;
14069 bool temp3
= False
;
14072 bool temp7
= False
;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 PyObject
* obj2
= 0 ;
14076 PyObject
* obj3
= 0 ;
14077 PyObject
* obj4
= 0 ;
14078 PyObject
* obj5
= 0 ;
14079 PyObject
* obj6
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14087 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 arg3
= wxString_in_helper(obj2
);
14092 if (arg3
== NULL
) SWIG_fail
;
14098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14104 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14109 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14115 arg7
= wxString_in_helper(obj6
);
14116 if (arg7
== NULL
) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14150 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxMDIParentFrame
*result
;
14153 char *kwnames
[] = {
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14172 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14175 wxWindow
*arg2
= (wxWindow
*) 0 ;
14177 wxString
*arg4
= 0 ;
14178 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14179 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14180 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14181 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14182 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14183 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14184 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14186 bool temp4
= False
;
14189 bool temp8
= False
;
14190 PyObject
* obj0
= 0 ;
14191 PyObject
* obj1
= 0 ;
14192 PyObject
* obj2
= 0 ;
14193 PyObject
* obj3
= 0 ;
14194 PyObject
* obj4
= 0 ;
14195 PyObject
* obj5
= 0 ;
14196 PyObject
* obj6
= 0 ;
14197 PyObject
* obj7
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14206 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 arg4
= wxString_in_helper(obj3
);
14211 if (arg4
== NULL
) SWIG_fail
;
14217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14228 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14234 arg8
= wxString_in_helper(obj7
);
14235 if (arg8
== NULL
) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14269 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 (arg1
)->ActivateNext();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 Py_INCREF(Py_None
); resultobj
= Py_None
;
14293 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 (arg1
)->ActivatePrevious();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 Py_INCREF(Py_None
); resultobj
= Py_None
;
14317 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 (arg1
)->ArrangeIcons();
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 Py_INCREF(Py_None
); resultobj
= Py_None
;
14341 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 Py_INCREF(Py_None
); resultobj
= Py_None
;
14365 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
;
14367 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14368 wxMDIChildFrame
*result
;
14369 PyObject
* obj0
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= wxPyMake_wxObject(result
);
14392 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14395 wxMDIClientWindow
*result
;
14396 PyObject
* obj0
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= wxPyMake_wxObject(result
);
14419 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (wxWindow
*)(arg1
)->GetToolBar();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= wxPyMake_wxObject(result
);
14446 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14449 PyObject
* obj0
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 Py_INCREF(Py_None
); resultobj
= Py_None
;
14470 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14473 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14475 return Py_BuildValue((char *)"");
14477 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14481 wxString
*arg3
= 0 ;
14482 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14483 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14484 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14485 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14486 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14487 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14489 wxMDIChildFrame
*result
;
14490 bool temp3
= False
;
14493 bool temp7
= False
;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 PyObject
* obj2
= 0 ;
14497 PyObject
* obj3
= 0 ;
14498 PyObject
* obj4
= 0 ;
14499 PyObject
* obj5
= 0 ;
14500 PyObject
* obj6
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14508 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14512 arg3
= wxString_in_helper(obj2
);
14513 if (arg3
== NULL
) SWIG_fail
;
14519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14530 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14536 arg7
= wxString_in_helper(obj6
);
14537 if (arg7
== NULL
) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= wxPyMake_wxObject(result
);
14573 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxMDIChildFrame
*result
;
14576 char *kwnames
[] = {
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= wxPyMake_wxObject(result
);
14597 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14600 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14602 wxString
*arg4
= 0 ;
14603 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14604 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14605 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14606 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14607 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14608 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14609 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14611 bool temp4
= False
;
14614 bool temp8
= False
;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 PyObject
* obj2
= 0 ;
14618 PyObject
* obj3
= 0 ;
14619 PyObject
* obj4
= 0 ;
14620 PyObject
* obj5
= 0 ;
14621 PyObject
* obj6
= 0 ;
14622 PyObject
* obj7
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14631 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14635 arg4
= wxString_in_helper(obj3
);
14636 if (arg4
== NULL
) SWIG_fail
;
14642 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14648 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14653 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14659 arg8
= wxString_in_helper(obj7
);
14660 if (arg8
== NULL
) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14694 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14697 PyObject
* obj0
= 0 ;
14698 char *kwnames
[] = {
14699 (char *) "self", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 (arg1
)->Activate();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 Py_INCREF(Py_None
); resultobj
= Py_None
;
14718 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self",(char *) "maximize", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14731 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 (arg1
)->Maximize(arg2
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 Py_INCREF(Py_None
); resultobj
= Py_None
;
14748 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 Py_INCREF(Py_None
); resultobj
= Py_None
;
14772 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14775 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14777 return Py_BuildValue((char *)"");
14779 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14782 long arg2
= (long) 0 ;
14783 wxMDIClientWindow
*result
;
14784 PyObject
* obj0
= 0 ;
14785 PyObject
* obj1
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "parent",(char *) "style", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14794 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= wxPyMake_wxObject(result
);
14814 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxMDIClientWindow
*result
;
14817 char *kwnames
[] = {
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= wxPyMake_wxObject(result
);
14838 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14841 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14842 long arg3
= (long) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 PyObject
* obj2
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self",(char *) "parent",(char *) "style", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14856 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14874 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14877 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14879 return Py_BuildValue((char *)"");
14881 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxWindow
*arg1
= (wxWindow
*) 0 ;
14885 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14886 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14887 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14888 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14889 long arg5
= (long) 0 ;
14890 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14891 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14892 wxPyWindow
*result
;
14895 bool temp6
= False
;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 PyObject
* obj2
= 0 ;
14899 PyObject
* obj3
= 0 ;
14900 PyObject
* obj4
= 0 ;
14901 PyObject
* obj5
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14909 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14926 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14932 arg6
= wxString_in_helper(obj5
);
14933 if (arg6
== NULL
) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
14959 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14962 PyObject
*arg2
= (PyObject
*) 0 ;
14963 PyObject
*arg3
= (PyObject
*) 0 ;
14964 PyObject
* obj0
= 0 ;
14965 PyObject
* obj1
= 0 ;
14966 PyObject
* obj2
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self",(char *) "self",(char *) "_class", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 Py_INCREF(Py_None
); resultobj
= Py_None
;
14989 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 PyObject
* obj2
= 0 ;
14999 PyObject
* obj3
= 0 ;
15000 PyObject
* obj4
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15008 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15012 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15016 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15020 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 Py_INCREF(Py_None
); resultobj
= Py_None
;
15037 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15044 int arg6
= (int) wxSIZE_AUTO
;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 PyObject
* obj2
= 0 ;
15048 PyObject
* obj3
= 0 ;
15049 PyObject
* obj4
= 0 ;
15050 PyObject
* obj5
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15058 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15062 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15070 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15075 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 Py_INCREF(Py_None
); resultobj
= Py_None
;
15093 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 PyObject
* obj2
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self",(char *) "width",(char *) "height", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15108 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15112 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 Py_INCREF(Py_None
); resultobj
= Py_None
;
15129 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 PyObject
* obj2
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self",(char *) "x",(char *) "y", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15144 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 Py_INCREF(Py_None
); resultobj
= Py_None
;
15165 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15168 int *arg2
= (int *) 0 ;
15169 int *arg3
= (int *) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 Py_INCREF(Py_None
); resultobj
= Py_None
;
15190 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15191 resultobj
= t_output_helper(resultobj
,o
);
15194 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15195 resultobj
= t_output_helper(resultobj
,o
);
15203 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15206 int *arg2
= (int *) 0 ;
15207 int *arg3
= (int *) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 Py_INCREF(Py_None
); resultobj
= Py_None
;
15228 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15229 resultobj
= t_output_helper(resultobj
,o
);
15232 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15233 resultobj
= t_output_helper(resultobj
,o
);
15241 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15244 int *arg2
= (int *) 0 ;
15245 int *arg3
= (int *) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self", NULL
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 Py_INCREF(Py_None
); resultobj
= Py_None
;
15266 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15267 resultobj
= t_output_helper(resultobj
,o
);
15270 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15271 resultobj
= t_output_helper(resultobj
,o
);
15279 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15298 wxSize
* resultptr
;
15299 resultptr
= new wxSize((wxSize
&) result
);
15300 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15308 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
;
15310 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 char *kwnames
[] = {
15314 (char *) "self", NULL
15317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15327 wxSize
* resultptr
;
15328 resultptr
= new wxSize((wxSize
&) result
);
15329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15337 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->base_InitDialog();
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)(arg1
)->base_TransferDataToWindow();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15386 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15411 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (bool)(arg1
)->base_Validate();
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15436 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 char *kwnames
[] = {
15442 (char *) "self", NULL
15445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15461 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15486 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15505 wxSize
* resultptr
;
15506 resultptr
= new wxSize((wxSize
&) result
);
15507 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15515 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15518 wxWindow
*arg2
= (wxWindow
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "child", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->base_AddChild(arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 Py_INCREF(Py_None
); resultobj
= Py_None
;
15542 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15545 wxWindow
*arg2
= (wxWindow
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self",(char *) "child", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 (arg1
)->base_RemoveChild(arg2
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 Py_INCREF(Py_None
); resultobj
= Py_None
;
15569 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15572 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15574 return Py_BuildValue((char *)"");
15576 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxWindow
*arg1
= (wxWindow
*) 0 ;
15580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15584 long arg5
= (long) 0 ;
15585 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15586 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15590 bool temp6
= False
;
15591 PyObject
* obj0
= 0 ;
15592 PyObject
* obj1
= 0 ;
15593 PyObject
* obj2
= 0 ;
15594 PyObject
* obj3
= 0 ;
15595 PyObject
* obj4
= 0 ;
15596 PyObject
* obj5
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15604 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15621 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15627 arg6
= wxString_in_helper(obj5
);
15628 if (arg6
== NULL
) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
15654 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15657 PyObject
*arg2
= (PyObject
*) 0 ;
15658 PyObject
*arg3
= (PyObject
*) 0 ;
15659 PyObject
* obj0
= 0 ;
15660 PyObject
* obj1
= 0 ;
15661 PyObject
* obj2
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "self",(char *) "self",(char *) "_class", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 PyObject
* obj2
= 0 ;
15694 PyObject
* obj3
= 0 ;
15695 PyObject
* obj4
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15703 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15707 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15715 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 Py_INCREF(Py_None
); resultobj
= Py_None
;
15732 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15739 int arg6
= (int) wxSIZE_AUTO
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 PyObject
* obj2
= 0 ;
15743 PyObject
* obj3
= 0 ;
15744 PyObject
* obj4
= 0 ;
15745 PyObject
* obj5
= 0 ;
15746 char *kwnames
[] = {
15747 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15753 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15757 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15770 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 Py_INCREF(Py_None
); resultobj
= Py_None
;
15788 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 PyObject
* obj2
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self",(char *) "width",(char *) "height", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15803 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15807 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 Py_INCREF(Py_None
); resultobj
= Py_None
;
15824 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self",(char *) "x",(char *) "y", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15839 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 Py_INCREF(Py_None
); resultobj
= Py_None
;
15860 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15863 int *arg2
= (int *) 0 ;
15864 int *arg3
= (int *) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 Py_INCREF(Py_None
); resultobj
= Py_None
;
15885 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15886 resultobj
= t_output_helper(resultobj
,o
);
15889 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15890 resultobj
= t_output_helper(resultobj
,o
);
15898 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15901 int *arg2
= (int *) 0 ;
15902 int *arg3
= (int *) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 Py_INCREF(Py_None
); resultobj
= Py_None
;
15923 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15924 resultobj
= t_output_helper(resultobj
,o
);
15927 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15928 resultobj
= t_output_helper(resultobj
,o
);
15936 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15939 int *arg2
= (int *) 0 ;
15940 int *arg3
= (int *) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 Py_INCREF(Py_None
); resultobj
= Py_None
;
15961 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15962 resultobj
= t_output_helper(resultobj
,o
);
15965 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15966 resultobj
= t_output_helper(resultobj
,o
);
15974 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 wxSize
* resultptr
;
15994 resultptr
= new wxSize((wxSize
&) result
);
15995 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16003 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 wxSize
* resultptr
;
16023 resultptr
= new wxSize((wxSize
&) result
);
16024 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16032 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 (arg1
)->base_InitDialog();
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 Py_INCREF(Py_None
); resultobj
= Py_None
;
16056 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16060 PyObject
* obj0
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (bool)(arg1
)->base_TransferDataToWindow();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16081 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
;
16083 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16085 PyObject
* obj0
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16106 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= (bool)(arg1
)->base_Validate();
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16131 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16135 PyObject
* obj0
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16156 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16181 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16200 wxSize
* resultptr
;
16201 resultptr
= new wxSize((wxSize
&) result
);
16202 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16210 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16213 wxWindow
*arg2
= (wxWindow
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "child", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16222 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 (arg1
)->base_AddChild(arg2
);
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16230 Py_INCREF(Py_None
); resultobj
= Py_None
;
16237 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16240 wxWindow
*arg2
= (wxWindow
*) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self",(char *) "child", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 (arg1
)->base_RemoveChild(arg2
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 Py_INCREF(Py_None
); resultobj
= Py_None
;
16264 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16267 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16269 return Py_BuildValue((char *)"");
16271 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
16272 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16277 static PyObject
*_wrap_PrintoutTitleStr_get() {
16282 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16284 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16291 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
16292 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16297 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16302 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16304 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16311 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxPrintData
*result
;
16314 char *kwnames
[] = {
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (wxPrintData
*)new wxPrintData();
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
16333 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (int)(arg1
)->GetNoCopies();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= SWIG_PyObj_FromInt((int)result
);
16382 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (bool)(arg1
)->GetCollate();
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (int)(arg1
)->GetOrientation();
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_PyObj_FromInt((int)result
);
16432 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "self", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (bool)(arg1
)->Ok();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16457 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16472 result
= (wxString
*) &_result_ref
;
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16491 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (bool)(arg1
)->GetColour();
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16516 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (int)(arg1
)->GetDuplex();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= SWIG_PyObj_FromInt((int)result
);
16541 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= (int)(arg1
)->GetPaperId();
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= SWIG_PyObj_FromInt((int)result
);
16566 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16581 result
= (wxSize
*) &_result_ref
;
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
16594 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (int)(arg1
)->GetQuality();
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= SWIG_PyObj_FromInt((int)result
);
16619 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "v", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16632 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->SetNoCopies(arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 Py_INCREF(Py_None
); resultobj
= Py_None
;
16649 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self",(char *) "flag", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16662 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 (arg1
)->SetCollate(arg2
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 Py_INCREF(Py_None
); resultobj
= Py_None
;
16679 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "orient", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16692 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 (arg1
)->SetOrientation(arg2
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 Py_INCREF(Py_None
); resultobj
= Py_None
;
16709 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16712 wxString
*arg2
= 0 ;
16713 bool temp2
= False
;
16714 PyObject
* obj0
= 0 ;
16715 PyObject
* obj1
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self",(char *) "name", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16723 arg2
= wxString_in_helper(obj1
);
16724 if (arg2
== NULL
) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 Py_INCREF(Py_None
); resultobj
= Py_None
;
16749 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self",(char *) "colour", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16762 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 (arg1
)->SetColour(arg2
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16772 Py_INCREF(Py_None
); resultobj
= Py_None
;
16779 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "duplex", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16792 arg2
= (wxDuplexMode
) SWIG_PyObj_AsInt(obj1
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 PyObject
* obj1
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self",(char *) "sizeId", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16822 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 Py_INCREF(Py_None
); resultobj
= Py_None
;
16839 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self",(char *) "sz", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16854 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self",(char *) "quality", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16883 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 (arg1
)->SetQuality(arg2
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 Py_INCREF(Py_None
); resultobj
= Py_None
;
16900 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16915 result
= (wxString
*) &_result_ref
;
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16925 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16934 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16949 result
= (wxString
*) &_result_ref
;
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16957 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16959 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16968 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16983 result
= (wxString
*) &_result_ref
;
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16993 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17002 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17006 PyObject
* obj0
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 wxString
const &_result_ref
= (arg1
)->GetFilename();
17017 result
= (wxString
*) &_result_ref
;
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17036 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17051 result
= (wxString
*) &_result_ref
;
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17061 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17070 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (double)(arg1
)->GetPrinterScaleX();
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17095 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17099 PyObject
* obj0
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "self", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (double)(arg1
)->GetPrinterScaleY();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17120 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17124 PyObject
* obj0
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "self", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (long)(arg1
)->GetPrinterTranslateX();
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= SWIG_PyObj_FromLong((long)result
);
17145 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (long)(arg1
)->GetPrinterTranslateY();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= SWIG_PyObj_FromLong((long)result
);
17170 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (int)(arg1
)->GetPrintMode();
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_PyObj_FromInt((int)result
);
17195 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17198 wxString
*arg2
= 0 ;
17199 bool temp2
= False
;
17200 PyObject
* obj0
= 0 ;
17201 PyObject
* obj1
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self",(char *) "command", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17209 arg2
= wxString_in_helper(obj1
);
17210 if (arg2
== NULL
) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 Py_INCREF(Py_None
); resultobj
= Py_None
;
17235 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17238 wxString
*arg2
= 0 ;
17239 bool temp2
= False
;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "options", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17249 arg2
= wxString_in_helper(obj1
);
17250 if (arg2
== NULL
) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 Py_INCREF(Py_None
); resultobj
= Py_None
;
17275 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17278 wxString
*arg2
= 0 ;
17279 bool temp2
= False
;
17280 PyObject
* obj0
= 0 ;
17281 PyObject
* obj1
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "self",(char *) "command", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17289 arg2
= wxString_in_helper(obj1
);
17290 if (arg2
== NULL
) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 Py_INCREF(Py_None
); resultobj
= Py_None
;
17315 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17318 wxString
*arg2
= 0 ;
17319 bool temp2
= False
;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self",(char *) "filename", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17329 arg2
= wxString_in_helper(obj1
);
17330 if (arg2
== NULL
) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 (arg1
)->SetFilename((wxString
const &)*arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 Py_INCREF(Py_None
); resultobj
= Py_None
;
17355 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17358 wxString
*arg2
= 0 ;
17359 bool temp2
= False
;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "self",(char *) "path", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17369 arg2
= wxString_in_helper(obj1
);
17370 if (arg2
== NULL
) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 Py_INCREF(Py_None
); resultobj
= Py_None
;
17395 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self",(char *) "x", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17408 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 (arg1
)->SetPrinterScaleX(arg2
);
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 Py_INCREF(Py_None
); resultobj
= Py_None
;
17425 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
;
17427 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17429 PyObject
* obj0
= 0 ;
17430 PyObject
* obj1
= 0 ;
17431 char *kwnames
[] = {
17432 (char *) "self",(char *) "y", NULL
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17438 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 (arg1
)->SetPrinterScaleY(arg2
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 Py_INCREF(Py_None
); resultobj
= Py_None
;
17455 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 PyObject
* obj1
= 0 ;
17462 PyObject
* obj2
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "x",(char *) "y", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17470 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17474 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 Py_INCREF(Py_None
); resultobj
= Py_None
;
17491 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self",(char *) "x", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17504 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 (arg1
)->SetPrinterTranslateX(arg2
);
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 Py_INCREF(Py_None
); resultobj
= Py_None
;
17521 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self",(char *) "y", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17534 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 (arg1
)->SetPrinterTranslateY(arg2
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 Py_INCREF(Py_None
); resultobj
= Py_None
;
17551 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 PyObject
* obj2
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self",(char *) "x",(char *) "y", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17566 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17570 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 Py_INCREF(Py_None
); resultobj
= Py_None
;
17587 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self",(char *) "printMode", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17600 arg2
= (wxPrintMode
) SWIG_PyObj_AsInt(obj1
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 Py_INCREF(Py_None
); resultobj
= Py_None
;
17617 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17620 wxOutputStream
*result
;
17621 PyObject
* obj0
= 0 ;
17622 char *kwnames
[] = {
17623 (char *) "self", NULL
17626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
17642 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17645 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self",(char *) "outputstream", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 (arg1
)->SetOutputStream(arg2
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 Py_INCREF(Py_None
); resultobj
= Py_None
;
17669 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17672 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17674 return Py_BuildValue((char *)"");
17676 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxPageSetupDialogData
*result
;
17679 char *kwnames
[] = {
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
17698 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 Py_INCREF(Py_None
); resultobj
= Py_None
;
17722 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "flag", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17735 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->EnableHelp(arg2
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17756 PyObject
* obj0
= 0 ;
17757 PyObject
* obj1
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self",(char *) "flag", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17765 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->EnableMargins(arg2
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 Py_INCREF(Py_None
); resultobj
= Py_None
;
17782 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self",(char *) "flag", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17795 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 (arg1
)->EnableOrientation(arg2
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 Py_INCREF(Py_None
); resultobj
= Py_None
;
17812 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self",(char *) "flag", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17825 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 (arg1
)->EnablePaper(arg2
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 Py_INCREF(Py_None
); resultobj
= Py_None
;
17842 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 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:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17855 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 (arg1
)->EnablePrinter(arg2
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 Py_INCREF(Py_None
); resultobj
= Py_None
;
17872 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (bool)(arg1
)->GetDefaultMinMargins();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17897 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 result
= (bool)(arg1
)->GetEnableMargins();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17922 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (bool)(arg1
)->GetEnableOrientation();
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17947 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (bool)(arg1
)->GetEnablePaper();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17972 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 result
= (bool)(arg1
)->GetEnablePrinter();
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17997 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (bool)(arg1
)->GetEnableHelp();
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18022 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (bool)(arg1
)->GetDefaultInfo();
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (arg1
)->GetMarginTopLeft();
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18066 wxPoint
* resultptr
;
18067 resultptr
= new wxPoint((wxPoint
&) result
);
18068 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18076 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (arg1
)->GetMarginBottomRight();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18095 wxPoint
* resultptr
;
18096 resultptr
= new wxPoint((wxPoint
&) result
);
18097 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18105 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (arg1
)->GetMinMarginTopLeft();
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18124 wxPoint
* resultptr
;
18125 resultptr
= new wxPoint((wxPoint
&) result
);
18126 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18134 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (arg1
)->GetMinMarginBottomRight();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18153 wxPoint
* resultptr
;
18154 resultptr
= new wxPoint((wxPoint
&) result
);
18155 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18163 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (int)(arg1
)->GetPaperId();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_PyObj_FromInt((int)result
);
18188 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (arg1
)->GetPaperSize();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 wxSize
* resultptr
;
18208 resultptr
= new wxSize((wxSize
&) result
);
18209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18217 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18220 wxPrintData
*result
;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18232 result
= (wxPrintData
*) &_result_ref
;
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18245 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 char *kwnames
[] = {
18251 (char *) "self", NULL
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (bool)(arg1
)->Ok();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18270 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 PyObject
* obj1
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self",(char *) "flag", NULL
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18283 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 (arg1
)->SetDefaultInfo(arg2
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 Py_INCREF(Py_None
); resultobj
= Py_None
;
18300 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self",(char *) "flag", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18313 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 (arg1
)->SetDefaultMinMargins(arg2
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 Py_INCREF(Py_None
); resultobj
= Py_None
;
18330 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18333 wxPoint
*arg2
= 0 ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "self",(char *) "pt", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18364 wxPoint
*arg2
= 0 ;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self",(char *) "pt", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 Py_INCREF(Py_None
); resultobj
= Py_None
;
18392 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18395 wxPoint
*arg2
= 0 ;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self",(char *) "pt", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 Py_INCREF(Py_None
); resultobj
= Py_None
;
18423 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18426 wxPoint
*arg2
= 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "pt", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 Py_INCREF(Py_None
); resultobj
= Py_None
;
18454 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "id", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18467 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18484 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self",(char *) "size", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18499 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 Py_INCREF(Py_None
); resultobj
= Py_None
;
18515 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18518 wxPrintData
*arg2
= 0 ;
18519 PyObject
* obj0
= 0 ;
18520 PyObject
* obj1
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self",(char *) "printData", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18528 if (arg2
== NULL
) {
18529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 Py_INCREF(Py_None
); resultobj
= Py_None
;
18545 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18548 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18550 return Py_BuildValue((char *)"");
18552 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxWindow
*arg1
= (wxWindow
*) 0 ;
18555 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18556 wxPageSetupDialog
*result
;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "parent",(char *) "data", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
18582 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18585 wxPageSetupDialogData
*result
;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18597 result
= (wxPageSetupDialogData
*) &_result_ref
;
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
18610 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (int)(arg1
)->ShowModal();
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_PyObj_FromInt((int)result
);
18635 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18638 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18640 return Py_BuildValue((char *)"");
18642 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxPrintDialogData
*result
;
18645 char *kwnames
[] = {
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
18664 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_PyObj_FromInt((int)result
);
18713 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "self", NULL
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= SWIG_PyObj_FromInt((int)result
);
18738 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_PyObj_FromInt((int)result
);
18763 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_PyObj_FromInt((int)result
);
18788 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= SWIG_PyObj_FromInt((int)result
);
18813 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "self", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18838 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18863 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18888 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18913 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18915 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18917 PyObject
* obj0
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18938 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self",(char *) "v", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 (arg1
)->SetFromPage(arg2
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 Py_INCREF(Py_None
); resultobj
= Py_None
;
18968 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "self",(char *) "v", NULL
18978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18981 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 (arg1
)->SetToPage(arg2
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18991 Py_INCREF(Py_None
); resultobj
= Py_None
;
18998 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
;
19000 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self",(char *) "v", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19011 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 (arg1
)->SetMinPage(arg2
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self",(char *) "v", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19041 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 (arg1
)->SetMaxPage(arg2
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 Py_INCREF(Py_None
); resultobj
= Py_None
;
19058 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
;
19060 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 PyObject
* obj1
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self",(char *) "v", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19071 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 (arg1
)->SetNoCopies(arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 Py_INCREF(Py_None
); resultobj
= Py_None
;
19088 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self",(char *) "flag", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19101 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 (arg1
)->SetAllPages(arg2
);
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 Py_INCREF(Py_None
); resultobj
= Py_None
;
19118 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19120 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 PyObject
* obj1
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self",(char *) "flag", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19131 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 (arg1
)->SetSelection(arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 Py_INCREF(Py_None
); resultobj
= Py_None
;
19148 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19152 PyObject
* obj0
= 0 ;
19153 PyObject
* obj1
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self",(char *) "flag", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19161 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 (arg1
)->SetCollate(arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 Py_INCREF(Py_None
); resultobj
= Py_None
;
19178 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self",(char *) "flag", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19191 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->SetPrintToFile(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self",(char *) "flag", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19221 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 (arg1
)->SetSetupDialog(arg2
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 Py_INCREF(Py_None
); resultobj
= Py_None
;
19238 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self",(char *) "flag", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19251 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 (arg1
)->EnablePrintToFile(arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 Py_INCREF(Py_None
); resultobj
= Py_None
;
19268 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "flag", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19281 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->EnableSelection(arg2
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self",(char *) "flag", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19311 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 (arg1
)->EnablePageNumbers(arg2
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 Py_INCREF(Py_None
); resultobj
= Py_None
;
19328 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self",(char *) "flag", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19341 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 (arg1
)->EnableHelp(arg2
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 Py_INCREF(Py_None
); resultobj
= Py_None
;
19358 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19383 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19408 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19412 PyObject
* obj0
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19433 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19437 PyObject
* obj0
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "self", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19458 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19483 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
;
19485 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19486 wxPrintData
*result
;
19487 PyObject
* obj0
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "self", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19498 result
= (wxPrintData
*) &_result_ref
;
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
19511 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19514 wxPrintData
*arg2
= 0 ;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self",(char *) "printData", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19523 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19524 if (arg2
== NULL
) {
19525 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 Py_INCREF(Py_None
); resultobj
= Py_None
;
19541 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19544 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19546 return Py_BuildValue((char *)"");
19548 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxWindow
*arg1
= (wxWindow
*) 0 ;
19551 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19552 wxPrintDialog
*result
;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "parent",(char *) "data", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
19578 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
;
19580 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19581 wxPrintDialogData
*result
;
19582 PyObject
* obj0
= 0 ;
19583 char *kwnames
[] = {
19584 (char *) "self", NULL
19587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19593 result
= (wxPrintDialogData
*) &_result_ref
;
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19606 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19610 PyObject
* obj0
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= (wxDC
*)(arg1
)->GetPrintDC();
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= wxPyMake_wxObject(result
);
19633 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (int)(arg1
)->ShowModal();
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_PyObj_FromInt((int)result
);
19658 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19661 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19663 return Py_BuildValue((char *)"");
19665 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19669 PyObject
* obj0
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "data", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 result
= (wxPrinter
*)new wxPrinter(arg1
);
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
19692 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19695 PyObject
* obj0
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "self", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 Py_INCREF(Py_None
); resultobj
= Py_None
;
19716 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19719 wxWindow
*arg2
= (wxWindow
*) 0 ;
19720 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 PyObject
* obj2
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self",(char *) "parent",(char *) "printout", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19731 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 Py_INCREF(Py_None
); resultobj
= Py_None
;
19746 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19749 wxPrintDialogData
*result
;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19761 result
= (wxPrintDialogData
*) &_result_ref
;
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19774 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19777 wxWindow
*arg2
= (wxWindow
*) 0 ;
19778 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19779 int arg4
= (int) True
;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 PyObject
* obj2
= 0 ;
19784 PyObject
* obj3
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19792 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19795 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19816 wxWindow
*arg2
= (wxWindow
*) 0 ;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "parent", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19826 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= wxPyMake_wxObject(result
);
19843 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19846 wxWindow
*arg2
= (wxWindow
*) 0 ;
19847 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19848 wxString
*arg4
= 0 ;
19849 bool temp4
= False
;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 PyObject
* obj2
= 0 ;
19853 PyObject
* obj3
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19861 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19863 arg4
= wxString_in_helper(obj3
);
19864 if (arg4
== NULL
) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 Py_INCREF(Py_None
); resultobj
= Py_None
;
19889 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19892 wxWindow
*arg2
= (wxWindow
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char *kwnames
[] = {
19897 (char *) "self",(char *) "parent", NULL
19900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= (bool)(arg1
)->Setup(arg2
);
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19917 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (bool)(arg1
)->GetAbort();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19942 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19945 char *kwnames
[] = {
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (int)wxPrinter::GetLastError();
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_PyObj_FromInt((int)result
);
19964 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
19966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19967 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19969 return Py_BuildValue((char *)"");
19971 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19974 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19975 wxPyPrintout
*result
;
19976 bool temp1
= False
;
19977 PyObject
* obj0
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "title", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
19985 arg1
= wxString_in_helper(obj0
);
19986 if (arg1
== NULL
) SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= wxPyMake_wxObject(result
);
20014 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
;
20016 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20017 PyObject
*arg2
= (PyObject
*) 0 ;
20018 PyObject
*arg3
= (PyObject
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 PyObject
* obj1
= 0 ;
20021 PyObject
* obj2
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self",(char *) "self",(char *) "_class", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 Py_INCREF(Py_None
); resultobj
= Py_None
;
20044 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20075 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (wxDC
*)(arg1
)->GetDC();
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= wxPyMake_wxObject(result
);
20102 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20105 wxDC
*arg2
= (wxDC
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "dc", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 (arg1
)->SetDC(arg2
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 Py_INCREF(Py_None
); resultobj
= Py_None
;
20129 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 PyObject
* obj1
= 0 ;
20136 PyObject
* obj2
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self",(char *) "w",(char *) "h", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20144 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 Py_INCREF(Py_None
); resultobj
= Py_None
;
20165 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20168 int *arg2
= (int *) 0 ;
20169 int *arg3
= (int *) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 char *kwnames
[] = {
20174 (char *) "self", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 Py_INCREF(Py_None
); resultobj
= Py_None
;
20190 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20191 resultobj
= t_output_helper(resultobj
,o
);
20194 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20195 resultobj
= t_output_helper(resultobj
,o
);
20203 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 PyObject
* obj2
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "w",(char *) "h", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20222 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 Py_INCREF(Py_None
); resultobj
= Py_None
;
20239 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20242 int *arg2
= (int *) 0 ;
20243 int *arg3
= (int *) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20264 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20265 resultobj
= t_output_helper(resultobj
,o
);
20268 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20269 resultobj
= t_output_helper(resultobj
,o
);
20277 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 PyObject
* obj2
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "x",(char *) "y", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20292 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20296 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 (arg1
)->SetPPIScreen(arg2
,arg3
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 Py_INCREF(Py_None
); resultobj
= Py_None
;
20313 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20316 int *arg2
= (int *) 0 ;
20317 int *arg3
= (int *) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 (arg1
)->GetPPIScreen(arg2
,arg3
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 Py_INCREF(Py_None
); resultobj
= Py_None
;
20338 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20339 resultobj
= t_output_helper(resultobj
,o
);
20342 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20343 resultobj
= t_output_helper(resultobj
,o
);
20351 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 PyObject
* obj2
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self",(char *) "x",(char *) "y", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20366 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20370 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 Py_INCREF(Py_None
); resultobj
= Py_None
;
20387 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20390 int *arg2
= (int *) 0 ;
20391 int *arg3
= (int *) 0 ;
20394 PyObject
* obj0
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self", NULL
20401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 Py_INCREF(Py_None
); resultobj
= Py_None
;
20412 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20413 resultobj
= t_output_helper(resultobj
,o
);
20416 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20417 resultobj
= t_output_helper(resultobj
,o
);
20425 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20429 PyObject
* obj0
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (bool)(arg1
)->IsPreview();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20450 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj1
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self",(char *) "p", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20463 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 (arg1
)->SetIsPreview(arg2
);
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 Py_INCREF(Py_None
); resultobj
= Py_None
;
20480 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20481 PyObject
*resultobj
;
20482 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 PyObject
* obj2
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20496 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20500 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20517 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 (arg1
)->base_OnEndDocument();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 Py_INCREF(Py_None
); resultobj
= Py_None
;
20541 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 (arg1
)->base_OnBeginPrinting();
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 Py_INCREF(Py_None
); resultobj
= Py_None
;
20565 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 (arg1
)->base_OnEndPrinting();
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 Py_INCREF(Py_None
); resultobj
= Py_None
;
20589 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 (arg1
)->base_OnPreparePrinting();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 Py_INCREF(Py_None
); resultobj
= Py_None
;
20613 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 PyObject
* obj1
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self",(char *) "page", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (bool)(arg1
)->base_HasPage(arg2
);
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20644 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20647 int *arg2
= (int *) 0 ;
20648 int *arg3
= (int *) 0 ;
20649 int *arg4
= (int *) 0 ;
20650 int *arg5
= (int *) 0 ;
20655 PyObject
* obj0
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 Py_INCREF(Py_None
); resultobj
= Py_None
;
20675 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20676 resultobj
= t_output_helper(resultobj
,o
);
20679 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20680 resultobj
= t_output_helper(resultobj
,o
);
20683 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20684 resultobj
= t_output_helper(resultobj
,o
);
20687 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20688 resultobj
= t_output_helper(resultobj
,o
);
20696 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20699 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20701 return Py_BuildValue((char *)"");
20703 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20706 wxWindow
*arg2
= (wxWindow
*) 0 ;
20707 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20708 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20709 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20710 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20711 long arg5
= (long) 0 ;
20712 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20713 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20714 wxPreviewCanvas
*result
;
20717 bool temp6
= False
;
20718 PyObject
* obj0
= 0 ;
20719 PyObject
* obj1
= 0 ;
20720 PyObject
* obj2
= 0 ;
20721 PyObject
* obj3
= 0 ;
20722 PyObject
* obj4
= 0 ;
20723 PyObject
* obj5
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20740 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20745 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20751 arg6
= wxString_in_helper(obj5
);
20752 if (arg6
== NULL
) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
20778 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20781 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20783 return Py_BuildValue((char *)"");
20785 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20788 wxFrame
*arg2
= (wxFrame
*) 0 ;
20789 wxString
*arg3
= 0 ;
20790 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20791 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20792 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20793 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20794 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20795 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20796 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20797 wxPreviewFrame
*result
;
20798 bool temp3
= False
;
20801 bool temp7
= False
;
20802 PyObject
* obj0
= 0 ;
20803 PyObject
* obj1
= 0 ;
20804 PyObject
* obj2
= 0 ;
20805 PyObject
* obj3
= 0 ;
20806 PyObject
* obj4
= 0 ;
20807 PyObject
* obj5
= 0 ;
20808 PyObject
* obj6
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20817 arg3
= wxString_in_helper(obj2
);
20818 if (arg3
== NULL
) SWIG_fail
;
20824 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20830 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20835 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20841 arg7
= wxString_in_helper(obj6
);
20842 if (arg7
== NULL
) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
20876 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 (arg1
)->Initialize();
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 Py_INCREF(Py_None
); resultobj
= Py_None
;
20900 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 (arg1
)->CreateControlBar();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 Py_INCREF(Py_None
); resultobj
= Py_None
;
20924 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 (arg1
)->CreateCanvas();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 Py_INCREF(Py_None
); resultobj
= Py_None
;
20948 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20951 wxPreviewControlBar
*result
;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
20973 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20976 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
20978 return Py_BuildValue((char *)"");
20980 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20984 wxWindow
*arg3
= (wxWindow
*) 0 ;
20985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20989 long arg6
= (long) wxTAB_TRAVERSAL
;
20990 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20991 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20992 wxPreviewControlBar
*result
;
20995 bool temp7
= False
;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 PyObject
* obj2
= 0 ;
20999 PyObject
* obj3
= 0 ;
21000 PyObject
* obj4
= 0 ;
21001 PyObject
* obj5
= 0 ;
21002 PyObject
* obj6
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21010 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21017 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21023 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21028 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21034 arg7
= wxString_in_helper(obj6
);
21035 if (arg7
== NULL
) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
21061 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21063 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21065 PyObject
* obj0
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (int)(arg1
)->GetZoomControl();
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= SWIG_PyObj_FromInt((int)result
);
21086 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21088 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 PyObject
* obj1
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "self",(char *) "zoom", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21099 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 (arg1
)->SetZoomControl(arg2
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 Py_INCREF(Py_None
); resultobj
= Py_None
;
21116 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21119 wxPrintPreview
*result
;
21120 PyObject
* obj0
= 0 ;
21121 char *kwnames
[] = {
21122 (char *) "self", NULL
21125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
21141 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21144 PyObject
* obj0
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 Py_INCREF(Py_None
); resultobj
= Py_None
;
21165 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21166 PyObject
*resultobj
;
21167 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21168 PyObject
* obj0
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 (arg1
)->OnPrevious();
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21192 PyObject
* obj0
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 Py_INCREF(Py_None
); resultobj
= Py_None
;
21213 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21216 PyObject
* obj0
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 Py_INCREF(Py_None
); resultobj
= Py_None
;
21237 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 Py_INCREF(Py_None
); resultobj
= Py_None
;
21261 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21264 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21266 return Py_BuildValue((char *)"");
21268 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21271 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21272 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21273 wxPrintPreview
*result
;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 PyObject
* obj2
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21285 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
21301 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 PyObject
* obj1
= 0 ;
21308 char *kwnames
[] = {
21309 (char *) "self",(char *) "pageNum", NULL
21312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21315 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21332 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 char *kwnames
[] = {
21338 (char *) "self", NULL
21341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 result
= (int)(arg1
)->GetCurrentPage();
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= SWIG_PyObj_FromInt((int)result
);
21357 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21360 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self",(char *) "printout", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 (arg1
)->SetPrintout(arg2
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 Py_INCREF(Py_None
); resultobj
= Py_None
;
21384 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21387 wxPyPrintout
*result
;
21388 PyObject
* obj0
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= wxPyMake_wxObject(result
);
21411 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21414 wxPyPrintout
*result
;
21415 PyObject
* obj0
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= wxPyMake_wxObject(result
);
21438 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21441 wxFrame
*arg2
= (wxFrame
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char *kwnames
[] = {
21445 (char *) "self",(char *) "frame", NULL
21448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 (arg1
)->SetFrame(arg2
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 Py_INCREF(Py_None
); resultobj
= Py_None
;
21465 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21468 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self",(char *) "canvas", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 (arg1
)->SetCanvas(arg2
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 Py_INCREF(Py_None
); resultobj
= Py_None
;
21492 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 char *kwnames
[] = {
21498 (char *) "self", NULL
21501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (wxFrame
*)(arg1
)->GetFrame();
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= wxPyMake_wxObject(result
);
21519 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21522 wxPreviewCanvas
*result
;
21523 PyObject
* obj0
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
21544 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
;
21546 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21547 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 PyObject
* obj2
= 0 ;
21553 char *kwnames
[] = {
21554 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21559 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21560 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21561 if (arg3
== NULL
) {
21562 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21578 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21581 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 PyObject
* obj2
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21594 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21595 if (arg3
== NULL
) {
21596 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21612 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "pageNum", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 result
= (bool)(arg1
)->RenderPage(arg2
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21643 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21646 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "canvas", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 (arg1
)->AdjustScrollbars(arg2
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 Py_INCREF(Py_None
); resultobj
= Py_None
;
21670 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21673 wxPrintDialogData
*result
;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21685 result
= (wxPrintDialogData
*) &_result_ref
;
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
21698 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "self",(char *) "percent", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21711 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 (arg1
)->SetZoom(arg2
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 Py_INCREF(Py_None
); resultobj
= Py_None
;
21728 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21732 PyObject
* obj0
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (int)(arg1
)->GetZoom();
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_PyObj_FromInt((int)result
);
21753 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (int)(arg1
)->GetMaxPage();
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= SWIG_PyObj_FromInt((int)result
);
21778 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (int)(arg1
)->GetMinPage();
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_PyObj_FromInt((int)result
);
21803 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21807 PyObject
* obj0
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (bool)(arg1
)->Ok();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21828 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self",(char *) "ok", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21841 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->SetOk(arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21858 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "interactive", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21872 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (bool)(arg1
)->Print(arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21889 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 (arg1
)->DetermineScaling();
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 Py_INCREF(Py_None
); resultobj
= Py_None
;
21913 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
21915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21916 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
21918 return Py_BuildValue((char *)"");
21920 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21923 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21924 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21925 wxPyPrintPreview
*result
;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 PyObject
* obj2
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21937 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
21953 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21956 PyObject
*arg2
= (PyObject
*) 0 ;
21957 PyObject
*arg3
= (PyObject
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 PyObject
* obj2
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "self",(char *) "_class", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 Py_INCREF(Py_None
); resultobj
= Py_None
;
21983 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21988 PyObject
* obj0
= 0 ;
21989 PyObject
* obj1
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self",(char *) "pageNum", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21997 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22014 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22017 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 PyObject
* obj2
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22030 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22031 if (arg3
== NULL
) {
22032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22048 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22051 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 PyObject
* obj2
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22064 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22065 if (arg3
== NULL
) {
22066 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22082 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "pageNum", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22096 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22113 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "percent", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22126 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 (arg1
)->base_SetZoom(arg2
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 Py_INCREF(Py_None
); resultobj
= Py_None
;
22143 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self",(char *) "interactive", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22157 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)(arg1
)->base_Print(arg2
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22174 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 (arg1
)->base_DetermineScaling();
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 Py_INCREF(Py_None
); resultobj
= Py_None
;
22198 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22201 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22203 return Py_BuildValue((char *)"");
22205 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22208 wxFrame
*arg2
= (wxFrame
*) 0 ;
22209 wxString
*arg3
= 0 ;
22210 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22211 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22212 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22213 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22214 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22215 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22216 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22217 wxPyPreviewFrame
*result
;
22218 bool temp3
= False
;
22221 bool temp7
= False
;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 PyObject
* obj2
= 0 ;
22225 PyObject
* obj3
= 0 ;
22226 PyObject
* obj4
= 0 ;
22227 PyObject
* obj5
= 0 ;
22228 PyObject
* obj6
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22237 arg3
= wxString_in_helper(obj2
);
22238 if (arg3
== NULL
) SWIG_fail
;
22244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22255 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22261 arg7
= wxString_in_helper(obj6
);
22262 if (arg7
== NULL
) SWIG_fail
;
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
22296 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22299 PyObject
*arg2
= (PyObject
*) 0 ;
22300 PyObject
*arg3
= (PyObject
*) 0 ;
22301 PyObject
* obj0
= 0 ;
22302 PyObject
* obj1
= 0 ;
22303 PyObject
* obj2
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "self",(char *) "_class", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 Py_INCREF(Py_None
); resultobj
= Py_None
;
22326 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22328 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22329 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "canvas", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 (arg1
)->SetPreviewCanvas(arg2
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 Py_INCREF(Py_None
); resultobj
= Py_None
;
22353 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22356 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "bar", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->SetControlBar(arg2
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 Py_INCREF(Py_None
); resultobj
= Py_None
;
22380 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 (arg1
)->base_Initialize();
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 Py_INCREF(Py_None
); resultobj
= Py_None
;
22404 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 (arg1
)->base_CreateCanvas();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 Py_INCREF(Py_None
); resultobj
= Py_None
;
22428 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 (arg1
)->base_CreateControlBar();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 Py_INCREF(Py_None
); resultobj
= Py_None
;
22452 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22455 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22457 return Py_BuildValue((char *)"");
22459 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22463 wxWindow
*arg3
= (wxWindow
*) 0 ;
22464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22468 long arg6
= (long) 0 ;
22469 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22471 wxPyPreviewControlBar
*result
;
22474 bool temp7
= False
;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 PyObject
* obj2
= 0 ;
22478 PyObject
* obj3
= 0 ;
22479 PyObject
* obj4
= 0 ;
22480 PyObject
* obj5
= 0 ;
22481 PyObject
* obj6
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22489 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22507 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22513 arg7
= wxString_in_helper(obj6
);
22514 if (arg7
== NULL
) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22540 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22543 PyObject
*arg2
= (PyObject
*) 0 ;
22544 PyObject
*arg3
= (PyObject
*) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 PyObject
* obj2
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self",(char *) "self",(char *) "_class", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 Py_INCREF(Py_None
); resultobj
= Py_None
;
22570 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22573 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self",(char *) "preview", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22582 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->SetPrintPreview(arg2
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->base_CreateButtons();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self",(char *) "zoom", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 (arg1
)->base_SetZoomControl(arg2
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 Py_INCREF(Py_None
); resultobj
= Py_None
;
22651 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22654 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22656 return Py_BuildValue((char *)"");
22658 static PyMethodDef SwigMethods
[] = {
22659 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
22660 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
22661 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
22662 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22663 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
22664 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22665 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22666 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22667 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22668 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
22669 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22670 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22671 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
22672 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
22673 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
22674 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
22675 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
22676 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22677 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22678 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
22679 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
22680 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22681 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
22682 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22683 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22684 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
22685 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
22686 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
22687 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
22688 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
22689 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
22690 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22691 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22692 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
22693 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22694 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22695 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22696 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22697 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
22698 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
22699 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
22700 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
22701 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22702 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
22703 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
22704 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22705 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22706 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
22707 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22708 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22709 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22710 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22711 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22712 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22713 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22714 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22715 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22716 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22717 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22718 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22719 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
22720 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
22721 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
22722 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
22723 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
22724 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22725 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22726 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22727 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
22728 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
22729 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
22730 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22731 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
22732 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
22733 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
22734 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22735 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22736 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22737 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
22738 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
22739 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22740 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22741 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
22742 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
22743 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
22744 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22745 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
22746 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
22747 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22748 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22749 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
22750 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22751 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22752 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22753 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22754 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22755 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22756 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22757 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
22758 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
22759 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
22760 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
22761 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
22762 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22763 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22764 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22765 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
22766 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
22767 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22768 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22769 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22770 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
22771 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
22772 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
22773 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
22774 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
22775 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22776 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22777 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22778 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22779 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22780 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22781 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22782 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22783 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22784 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22785 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22786 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22787 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
22788 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
22789 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22790 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22791 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
22792 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
22793 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
22794 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
22795 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22796 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22797 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22798 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22799 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22800 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
22801 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
22802 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
22803 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22804 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22805 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22806 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22807 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22808 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22809 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22810 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22811 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22812 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22813 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22814 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22815 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22816 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22817 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
22818 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
22819 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22820 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22821 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22822 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22823 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22824 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22825 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
22826 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
22827 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22828 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22829 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22830 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22831 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
22832 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
22833 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22834 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22835 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22836 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22837 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
22838 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
22839 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22840 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22841 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
22842 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
22843 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
22844 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22845 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22846 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22847 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22848 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22849 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22850 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
22851 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22852 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
22853 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22854 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22855 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
22856 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
22857 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22858 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
22859 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22860 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22861 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22862 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
22863 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
22864 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22865 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22866 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22867 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
22868 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
22869 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
22870 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
22871 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
22872 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
22873 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
22874 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22875 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22876 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22877 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22878 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22879 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
22880 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
22881 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
22882 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
22883 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
22884 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
22885 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
22886 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22887 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22888 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22889 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22890 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
22891 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
22892 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
22893 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
22894 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22895 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22896 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22897 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
22898 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22899 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
22900 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
22901 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
22902 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
22903 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
22904 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22905 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22906 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22907 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
22908 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22909 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
22910 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
22911 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
22912 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
22913 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
22914 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22915 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
22916 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22917 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
22918 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22919 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22920 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22921 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22922 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22923 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22924 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
22925 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22926 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22927 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
22928 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
22929 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22930 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
22931 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
22932 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
22933 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
22934 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
22935 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22936 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22937 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22938 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22939 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22940 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22941 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22942 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22943 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
22944 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
22945 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
22946 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22947 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
22948 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
22949 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22950 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22951 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22952 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22953 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22954 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22955 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
22956 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
22957 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22958 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22959 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22960 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22961 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22962 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22963 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22964 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22965 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22966 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22967 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22968 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22969 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22970 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22971 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
22972 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
22973 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
22974 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22975 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22976 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22977 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
22978 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22979 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22980 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
22981 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22982 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22983 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
22984 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
22985 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
22986 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
22987 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22988 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
22989 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22990 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22991 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22992 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22993 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22994 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
22995 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22996 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
22997 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
22998 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22999 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23000 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23001 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23002 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
23003 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23004 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
23005 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
23006 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
23007 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23008 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
23009 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
23010 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23011 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
23012 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
23013 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
23014 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
23015 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
23016 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
23017 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23018 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23019 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23020 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
23021 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23022 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23023 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23024 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
23025 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23026 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23027 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23028 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23029 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23030 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23031 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23032 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23033 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
23034 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23035 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23036 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23037 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
23038 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
23039 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23040 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23041 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23042 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23043 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23044 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23045 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23046 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23047 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23048 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23049 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23050 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23051 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23052 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23053 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23054 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23055 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23056 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23057 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23058 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23059 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23060 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23061 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23062 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23063 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23064 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23065 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23066 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23067 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23068 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23069 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23070 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23071 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23072 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23073 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23074 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23075 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23076 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23077 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23078 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23079 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23080 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23081 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23082 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23083 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23084 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23085 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23086 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23087 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23088 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23089 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23090 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23091 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23092 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23093 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23094 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23095 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23096 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23097 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23098 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23099 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23100 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23101 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23102 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23103 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23104 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23105 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23106 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23107 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23108 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23109 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23110 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23111 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23112 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23113 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23114 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23115 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23116 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23117 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23118 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23119 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23120 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23121 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23122 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23123 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23124 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23125 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23126 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23127 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23128 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23129 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23130 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23131 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23132 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23133 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23134 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23135 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23136 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23137 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23138 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23139 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23140 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23141 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23142 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23143 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23144 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23145 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23146 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23147 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23148 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23149 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23150 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23151 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23152 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23153 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23154 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23155 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23156 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23157 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23158 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23159 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23160 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23161 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23162 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23163 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23164 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23165 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23166 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23167 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23168 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23169 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23170 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23171 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23172 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23173 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23174 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23175 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23176 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23177 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23178 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23179 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23180 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23181 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23182 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23183 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23184 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23185 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23186 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23187 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23188 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23189 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23190 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23191 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23192 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23193 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23194 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23195 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23196 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23197 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23198 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23199 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23200 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23201 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23202 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23203 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23204 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23205 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23206 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23207 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23208 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23209 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23210 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23211 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23212 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23213 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23214 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23215 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23218 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23219 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23220 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23221 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23223 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23226 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23230 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23234 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23235 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23236 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23237 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23240 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23243 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23247 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23251 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23253 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23254 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23255 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23256 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23257 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23260 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23262 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23263 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23265 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23268 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23270 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23271 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23272 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23273 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23274 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23275 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23276 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23277 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23278 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23279 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23280 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23281 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23282 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23283 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23284 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23285 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23286 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23287 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23288 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23289 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23290 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23291 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23292 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23293 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23294 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23295 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23296 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23297 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23298 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23299 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23300 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23301 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23302 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23303 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23304 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23305 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23306 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23307 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23308 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23309 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23310 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23311 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23312 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23313 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23314 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23315 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23316 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23317 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23318 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23319 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23320 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23321 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23322 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23323 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23324 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23325 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23330 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23332 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23333 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23335 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23338 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23339 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23341 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23342 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23344 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23345 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23347 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23348 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23350 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23351 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23353 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23354 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23356 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23357 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23359 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23360 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23362 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23365 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23366 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23368 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23371 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23372 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23374 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23375 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23377 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23378 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23380 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23381 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23383 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23384 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23386 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23387 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23389 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23390 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23392 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23393 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23395 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23396 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23398 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23399 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23401 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23402 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23404 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23407 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23408 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23410 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23411 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23413 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23414 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23416 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23417 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23419 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23420 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23422 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23423 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23425 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23428 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23429 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23431 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23432 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23434 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23435 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23437 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23438 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23440 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23441 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23443 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23444 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23446 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23447 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23449 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23450 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23452 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23453 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23455 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23456 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23458 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23459 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23461 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23464 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23467 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23470 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23471 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23473 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23474 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23476 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23477 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23479 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23480 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23482 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23485 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23488 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23491 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23494 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23497 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23500 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23503 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23504 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23506 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23509 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23512 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23515 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23518 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23519 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23521 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23524 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23527 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23528 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23530 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23533 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23534 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23536 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23539 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23540 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23542 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23543 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23545 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23546 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23548 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23551 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23554 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23557 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23558 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23560 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23563 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23564 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23566 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23569 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23572 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23575 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23578 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23581 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23582 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23584 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23587 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23590 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23593 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23596 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23599 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23602 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23605 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23608 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23609 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23611 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23612 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23614 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23615 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23617 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23618 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23620 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23621 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23623 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23624 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23626 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23627 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23629 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23630 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23632 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23633 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23635 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23636 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23638 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23641 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23644 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23645 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23647 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23648 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23650 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23653 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23654 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23656 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23657 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23659 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23660 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23662 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23663 return (void *)((wxObject
*) ((wxSizer
*) x
));
23665 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23666 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23668 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23671 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23674 static void *_p_wxEventTo_p_wxObject(void *x
) {
23675 return (void *)((wxObject
*) ((wxEvent
*) x
));
23677 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23678 return (void *)((wxObject
*) ((wxFontData
*) x
));
23680 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23681 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23683 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23684 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23686 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23687 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23689 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23690 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23692 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23693 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23695 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23698 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23701 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23702 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23704 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23705 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23707 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23708 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23710 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23711 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23713 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23714 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23716 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23717 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23719 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23722 static void *_p_wxControlTo_p_wxObject(void *x
) {
23723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23725 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23726 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23728 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23731 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23732 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23734 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23735 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23737 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23738 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23740 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23743 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23744 return (void *)((wxObject
*) ((wxColourData
*) x
));
23746 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23747 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23749 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23752 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23755 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23758 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23761 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23764 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23767 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23770 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23773 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23776 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23779 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23780 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23782 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23783 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23785 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23786 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23788 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23789 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23791 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23794 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23795 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23797 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23798 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23800 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23801 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23803 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23804 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23806 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23807 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23809 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23810 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23812 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23815 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23818 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23821 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23822 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23824 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23825 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23827 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23828 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23830 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23831 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23833 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23834 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23836 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23837 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23839 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23840 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23842 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23843 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23845 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23846 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23848 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23849 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23851 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23852 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23854 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23857 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23860 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23861 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23863 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23866 static void *_p_wxImageTo_p_wxObject(void *x
) {
23867 return (void *)((wxObject
*) ((wxImage
*) x
));
23869 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23872 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23873 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23875 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23876 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23878 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23879 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23881 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23884 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23887 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23890 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23891 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23893 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23894 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23896 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23897 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23899 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23900 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23902 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23905 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
23906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23908 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
23909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
23911 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
23912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
23914 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
23915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
23917 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
23918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
23920 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
23921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23923 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
23924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
23926 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
23927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23929 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
23930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23932 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
23933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23935 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
23936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
23938 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
23939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
23941 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
23942 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
23944 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
23945 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23947 static void *_p_wxPanelTo_p_wxObject(void *x
) {
23948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
23950 static void *_p_wxDialogTo_p_wxObject(void *x
) {
23951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23953 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
23954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23956 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
23957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23959 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
23960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23962 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
23963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23965 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
23966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23968 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23969 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23971 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23974 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23975 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23977 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23978 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23980 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23981 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23983 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23984 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23986 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23987 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23989 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23992 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23993 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23995 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
23996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23998 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
23999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24001 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24002 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24004 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24005 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24007 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24010 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24013 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24014 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24016 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24017 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24019 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24022 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24023 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24025 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24026 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24028 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24029 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24031 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
24032 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24034 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24035 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24037 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
24038 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24040 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24041 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24043 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24044 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24046 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24047 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24049 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24050 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24052 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24053 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24055 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24056 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24058 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24059 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24061 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24062 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24064 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24065 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24067 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24068 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24070 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24071 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24073 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24074 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24076 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24077 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24079 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24080 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24082 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24083 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24085 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24086 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24088 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24089 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24091 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24092 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24094 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24095 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24097 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24098 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24100 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24101 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24103 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24104 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24106 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24107 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24109 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24110 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24112 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24113 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24115 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24116 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24118 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24119 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24121 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24122 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24124 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24125 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24127 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24128 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24130 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24131 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24133 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24134 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24136 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24137 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24139 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24140 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24142 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24143 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24145 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24146 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24148 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24149 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24151 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24152 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24154 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24155 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24157 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24158 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24160 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24161 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24163 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24164 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24166 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24167 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24169 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24170 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24172 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24173 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24175 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24176 return (void *)((wxWindow
*) ((wxControl
*) x
));
24178 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24179 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24181 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24182 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24184 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24185 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24187 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24188 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24190 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24191 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24193 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24194 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24196 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24197 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24199 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24200 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24202 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24203 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24205 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24206 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24208 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24209 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24211 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24212 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24214 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24215 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24217 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24218 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24220 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24221 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24223 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24224 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24226 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24227 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24229 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24230 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24232 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24233 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24235 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24236 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24238 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24239 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24241 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24242 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24244 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24245 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24247 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24248 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24250 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24251 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24253 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24254 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24256 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24257 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24259 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24260 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24262 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24263 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24265 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24266 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24268 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24269 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24271 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24272 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24274 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24275 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24277 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24278 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24280 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24281 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24283 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24284 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24286 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24287 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24289 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24290 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24292 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24293 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24295 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24296 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24298 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24299 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24301 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24302 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24304 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24305 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24307 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24308 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24310 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24311 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24313 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24314 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24316 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24317 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24319 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24320 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24322 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24323 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24325 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24326 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24328 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24329 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24331 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24332 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
24333 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24334 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24335 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24336 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24337 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24338 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}};
24339 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24340 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24341 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24342 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24343 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24344 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24345 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24346 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24347 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24348 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24349 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24350 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24351 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24352 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24353 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24354 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
24355 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24356 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24357 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24358 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24359 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24360 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24361 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24362 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24363 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24364 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24365 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24366 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}};
24367 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24368 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24369 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
24370 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24371 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24372 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24373 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}};
24374 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24375 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24376 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24377 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24378 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24379 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24380 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}};
24381 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
24382 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24383 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24384 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24385 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24386 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24387 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}};
24388 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
24389 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}};
24390 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
24391 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}};
24392 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}};
24393 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
24394 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24395 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24396 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
24397 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24398 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24399 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24400 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24401 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24402 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24403 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}};
24404 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}};
24405 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24406 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24407 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24408 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}};
24409 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
24410 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24411 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24412 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24413 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24414 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24416 static swig_type_info
*swig_types_initial
[] = {
24417 _swigt__p_wxQueryLayoutInfoEvent
,
24418 _swigt__p_wxPreviewFrame
,
24419 _swigt__p_wxPyPreviewFrame
,
24420 _swigt__p_wxPyPanel
,
24422 _swigt__p_wxPrintData
,
24423 _swigt__p_wxFontData
,
24425 _swigt__p_wxTaskBarIcon
,
24426 _swigt__p_wxIconBundle
,
24427 _swigt__p_wxLayoutAlgorithm
,
24428 _swigt__p_wxFindDialogEvent
,
24429 _swigt__p_wxPreviewCanvas
,
24431 _swigt__p_wxSplitterEvent
,
24432 _swigt__p_wxRegion
,
24433 _swigt__p_wxFindReplaceData
,
24438 _swigt__p_wxMDIChildFrame
,
24439 _swigt__p_wxColourData
,
24440 _swigt__p_wxNotifyEvent
,
24441 _swigt__p_wxPyWindow
,
24442 _swigt__p_wxSplashScreen
,
24443 _swigt__p_wxFindReplaceDialog
,
24444 _swigt__p_wxProgressDialog
,
24445 _swigt__p_wxMessageDialog
,
24446 _swigt__p_wxTextEntryDialog
,
24447 _swigt__p_wxSingleChoiceDialog
,
24448 _swigt__p_wxMultiChoiceDialog
,
24449 _swigt__p_wxFileDialog
,
24450 _swigt__p_wxPrinter
,
24451 _swigt__p_wxArrayInt
,
24452 _swigt__p_wxEvtHandler
,
24453 _swigt__p_wxCalculateLayoutEvent
,
24454 _swigt__p_wxPyHtmlListBox
,
24455 _swigt__p_wxPyVListBox
,
24458 _swigt__p_wxMiniFrame
,
24460 _swigt__p_wxPyPrintout
,
24461 _swigt__p_wxTaskBarIconEvent
,
24462 _swigt__p_wxScrollWinEvent
,
24463 _swigt__p_wxStatusBar
,
24464 _swigt__p_wxMDIParentFrame
,
24466 _swigt__p_wxObject
,
24467 _swigt__p_wxOutputStream
,
24468 _swigt__p_unsigned_long
,
24469 _swigt__p_wxMDIClientWindow
,
24470 _swigt__p_wxTipWindow
,
24471 _swigt__p_wxSashLayoutWindow
,
24472 _swigt__p_wxSplitterWindow
,
24473 _swigt__p_wxPyVScrolledWindow
,
24474 _swigt__p_wxPyPopupTransientWindow
,
24475 _swigt__p_wxPopupWindow
,
24476 _swigt__p_wxSashWindow
,
24477 _swigt__p_wxTopLevelWindow
,
24478 _swigt__p_wxWindow
,
24479 _swigt__p_wxScrolledWindow
,
24480 _swigt__p_wxSplashScreenWindow
,
24481 _swigt__p_wxMenuBar
,
24482 _swigt__p_wxPrintPreview
,
24483 _swigt__p_wxSashEvent
,
24484 _swigt__p_wxString
,
24485 _swigt__p_wxPyPrintPreview
,
24486 _swigt__p_wxFontDialog
,
24487 _swigt__p_wxDirDialog
,
24488 _swigt__p_wxColourDialog
,
24489 _swigt__p_wxDialog
,
24491 _swigt__p_wxPageSetupDialog
,
24492 _swigt__p_wxPrintDialog
,
24493 _swigt__p_wxBitmap
,
24494 _swigt__p_wxCommandEvent
,
24495 _swigt__p_wxPreviewControlBar
,
24496 _swigt__p_wxPyPreviewControlBar
,
24497 _swigt__p_wxColour
,
24498 _swigt__p_wxToolBar
,
24499 _swigt__p_wxPageSetupDialogData
,
24500 _swigt__p_wxPrintDialogData
,
24505 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24507 static swig_const_info swig_const_table
[] = {
24517 SWIGEXPORT(void) SWIG_init(void) {
24518 static PyObject
*SWIG_globals
= 0;
24519 static int typeinit
= 0;
24522 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24523 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24524 d
= PyModule_GetDict(m
);
24527 for (i
= 0; swig_types_initial
[i
]; i
++) {
24528 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24532 SWIG_InstallConstants(d
,swig_const_table
);
24534 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24535 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24536 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24537 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24538 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24539 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24540 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24541 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24542 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER
));
24543 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24544 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL
));
24545 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24546 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24547 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24548 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE
));
24549 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT
));
24550 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24551 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24552 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER
));
24553 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH
));
24554 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24555 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE
));
24556 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH
));
24557 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER
));
24558 PyDict_SetItemString(d
,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER
));
24559 PyDict_SetItemString(d
,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D
));
24560 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL
));
24561 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL
));
24562 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE
));
24563 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24564 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24565 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24566 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24567 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24568 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24569 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24570 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24571 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE
));
24572 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING
));
24573 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24574 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER
));
24575 PyDict_SetItemString(d
,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER
));
24576 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH
));
24577 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER
));
24578 PyDict_SetItemString(d
,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D
));
24579 PyDict_SetItemString(d
,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP
));
24580 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT
));
24581 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM
));
24582 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT
));
24583 PyDict_SetItemString(d
,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE
));
24584 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK
));
24585 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24586 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24587 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL
));
24588 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL
));
24589 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE
));
24590 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP
));
24591 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT
));
24592 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT
));
24593 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM
));
24594 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y
));
24595 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X
));
24596 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24597 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY
));
24598 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24599 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24600 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24602 // Map renamed classes back to their common name for OOR
24603 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24604 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24605 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24607 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24608 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24609 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24610 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24611 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24612 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24613 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24614 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24615 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24616 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24617 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24618 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24619 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24620 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE
));
24621 PyDict_SetItemString(d
,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN
));
24622 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD
));
24623 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE
));
24624 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG
));
24625 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN
));
24626 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE
));
24627 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD
));
24628 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24629 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24630 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24631 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24632 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24633 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24634 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24635 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24636 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24637 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24638 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24639 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24640 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24641 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24642 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24643 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE
));
24644 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW
));
24645 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE
));
24646 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER
));
24647 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_PyObj_FromInt((int)wxPRINT_MODE_STREAM
));
24648 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR
));
24649 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED
));
24650 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR
));
24651 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT
));
24652 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS
));
24653 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT
));
24654 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM
));
24655 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST
));
24656 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST
));
24657 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO
));
24658 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT
));
24659 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE
));
24660 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT
));
24661 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24662 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT
));
24663 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM
));
24664 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST
));
24665 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST
));
24666 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO
));
24668 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");