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);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[56]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[57]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
306 #define SWIG_name "_windows_"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
356 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
467 } else if (target
== Py_None
) {
471 if (!PyTuple_Check(target
)) {
473 target
= PyTuple_New(1);
474 PyTuple_SetItem(target
, 0, o2
);
477 PyTuple_SetItem(o3
, 0, o
);
480 target
= PySequence_Concat(o2
, o3
);
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject
*obj
)
491 if (PyNumber_Check(obj
))
492 return PyFloat_AsDouble(obj
);
494 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
495 obj
->ob_type
->tp_name
);
496 PyErr_SetObject(PyExc_TypeError
, errmsg
);
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject
* obj
)
507 if (PyErr_Occurred()) {
515 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
516 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
517 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
521 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
523 self
->GetFieldRect(i
, r
);
526 static const wxString
wxPySplitterNameStr(wxT("splitter"));
527 static const wxString
wxPySashNameStr(wxT("sashWindow"));
528 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
530 #include <wx/popupwin.h>
533 class wxPopupWindow
: public wxWindow
{
535 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
536 wxPopupWindow() { wxPyRaiseNotImplemented(); }
539 class wxPyPopupTransientWindow
: public wxPopupWindow
542 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
543 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
547 #include <wx/tipwin.h>
549 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
550 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
553 #include <wx/tipwin.h>
556 #include <wx/vscroll.h>
559 class wxPyVScrolledWindow
: public wxVScrolledWindow
561 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
563 wxPyVScrolledWindow() : wxVScrolledWindow() {}
565 wxPyVScrolledWindow(wxWindow
*parent
,
566 wxWindowID id
= wxID_ANY
,
567 const wxPoint
& pos
= wxDefaultPosition
,
568 const wxSize
& size
= wxDefaultSize
,
570 const wxString
& name
= wxPyPanelNameStr
)
571 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
574 // Overridable virtuals
576 // this function must be overridden in the derived class and it should
577 // return the height of the given line in pixels
578 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
581 // this function doesn't have to be overridden but it may be useful to do
582 // it if calculating the lines heights is a relatively expensive operation
583 // as it gives the user code a possibility to calculate several of them at
586 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
587 // shouldn't rely on the latter being called for all lines in the interval
588 // specified here. It is also possible that OnGetLineHeight() will be
589 // called for the lines outside of this interval, so this is really just a
590 // hint, not a promise.
592 // finally note that lineMin is inclusive, while lineMax is exclusive, as
594 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
597 // when the number of lines changes, we try to estimate the total height
598 // of all lines which is a rather expensive operation in terms of lines
599 // access, so if the user code may estimate the average height
600 // better/faster than we do, it should override this function to implement
603 // this function should return the best guess for the total height it may
605 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
608 // Also expose some other interesting protected methods
611 // find the index of the line we need to show at the top of the window such
612 // that the last (fully or partially) visible line is the given one
613 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
614 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
616 // get the total height of the lines between lineMin (inclusive) and
617 // lineMax (exclusive)
618 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
619 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
625 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
627 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
628 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
629 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
632 SWIGSTATICINLINE(unsigned long)
633 SWIG_AsUnsignedLong(PyObject
* obj
)
635 if (PyLong_Check(obj
)) {
636 return PyLong_AsUnsignedLong(obj
);
638 long i
= SWIG_AsLong(obj
);
639 if ( !PyErr_Occurred() && (i
< 0)) {
640 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
647 SWIGSTATICINLINE(int)
648 SWIG_CheckUnsignedLong(PyObject
* obj
)
650 SWIG_AsUnsignedLong(obj
);
651 if (PyErr_Occurred()) {
660 SWIGSTATICINLINE(PyObject
* )
661 SWIG_FromUnsignedLong(unsigned long value
)
663 return (value
> LONG_MAX
) ?
664 PyLong_FromUnsignedLong(value
)
665 : PyInt_FromLong(swig_numeric_cast(long,value
));
669 #include <wx/vlbox.h>
671 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
673 class wxPyVListBox
: public wxVListBox
675 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
677 wxPyVListBox() : wxVListBox() {}
679 wxPyVListBox(wxWindow
*parent
,
680 wxWindowID id
= wxID_ANY
,
681 const wxPoint
& pos
= wxDefaultPosition
,
682 const wxSize
& size
= wxDefaultSize
,
684 const wxString
& name
= wxPyVListBoxNameStr
)
685 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
688 // Overridable virtuals
690 // the derived class must implement this function to actually draw the item
691 // with the given index on the provided DC
692 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
693 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
696 // the derived class must implement this method to return the height of the
698 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
699 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
702 // this method may be used to draw separators between the lines; note that
703 // the rectangle may be modified, typically to deflate it a bit before
704 // passing to OnDrawItem()
706 // the base class version doesn't do anything
707 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
708 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
711 // this method is used to draw the items background and, maybe, a border
714 // the base class version implements a reasonable default behaviour which
715 // consists in drawing the selected item with the standard background
716 // colour and drawing a border around the item if it is either selected or
718 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
719 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
725 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
727 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
728 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
729 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
730 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
734 #include <wx/htmllbox.h>
737 class wxPyHtmlListBox
: public wxHtmlListBox
739 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
741 wxPyHtmlListBox() : wxHtmlListBox() {}
743 wxPyHtmlListBox(wxWindow
*parent
,
744 wxWindowID id
= wxID_ANY
,
745 const wxPoint
& pos
= wxDefaultPosition
,
746 const wxSize
& size
= wxDefaultSize
,
748 const wxString
& name
= wxPyVListBoxNameStr
)
749 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
752 // Overridable virtuals
754 // this method must be implemented in the derived class and should return
755 // the body (i.e. without <html>) of the HTML for the given item
756 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
758 // this function may be overridden to decorate HTML returned by OnGetItem()
759 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
762 // // this method allows to customize the selection appearance: it may be used
763 // // to specify the colour of the text which normally has the given colour
764 // // colFg when it is inside the selection
766 // // by default, the original colour is not used at all and all text has the
767 // // same (default for this system) colour inside selection
768 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
770 // // this is the same as GetSelectedTextColour() but allows to customize the
771 // // background colour -- this is even more rarely used as you can change it
772 // // globally using SetSelectionBackground()
773 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
780 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
782 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
783 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
790 // implement dummy classes and such for wxMac
792 class wxTaskBarIcon
: public wxEvtHandler
795 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
799 class wxTaskBarIconEvent
: public wxEvent
802 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
803 { wxPyRaiseNotImplemented(); }
804 virtual wxEvent
* Clone() const { return NULL
; }
808 wxEVT_TASKBAR_MOVE
= 0,
809 wxEVT_TASKBAR_LEFT_DOWN
= 0,
810 wxEVT_TASKBAR_LEFT_UP
= 0,
811 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
812 wxEVT_TASKBAR_RIGHT_UP
= 0,
813 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
814 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
818 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
823 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
824 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
825 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
826 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
827 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
828 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
829 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
831 self
->GetFilenames(arr
);
832 return wxArrayString2PyList_helper(arr
);
834 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
840 return wxArrayInt2PyList_helper(self
->GetSelections());
842 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
843 return new wxSingleChoiceDialog(parent
, message
, caption
,
844 choices
, choices_array
, NULL
, style
, pos
);
849 // C++ version of Python aware wxWindow
850 class wxPyWindow
: public wxWindow
852 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
854 wxPyWindow() : wxWindow() {}
855 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
856 const wxPoint
& pos
= wxDefaultPosition
,
857 const wxSize
& size
= wxDefaultSize
,
859 const wxString
& name
= wxPyPanelNameStr
)
860 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
862 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
864 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
865 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
866 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
867 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
870 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
871 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
873 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
874 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
876 DEC_PYCALLBACK__(InitDialog
);
877 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
878 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
879 DEC_PYCALLBACK_BOOL_(Validate
);
881 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
882 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
883 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
885 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
886 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
888 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
889 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
890 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
895 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
897 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
898 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
899 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
900 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
902 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
903 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
904 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
906 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
907 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
909 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
910 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
911 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
912 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
914 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
915 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
916 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
918 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
919 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
921 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
922 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
923 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
926 // C++ version of Python aware wxPanel
927 class wxPyPanel
: public wxPanel
929 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
931 wxPyPanel() : wxPanel() {}
932 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
933 const wxPoint
& pos
= wxDefaultPosition
,
934 const wxSize
& size
= wxDefaultSize
,
936 const wxString
& name
= wxPyPanelNameStr
)
937 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
939 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
942 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
943 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
951 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
952 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
954 DEC_PYCALLBACK__(InitDialog
);
955 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
956 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
957 DEC_PYCALLBACK_BOOL_(Validate
);
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
961 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
963 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
964 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
966 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
967 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
968 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
973 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
975 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
976 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
978 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
982 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
984 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
985 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
987 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
989 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
990 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
992 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
993 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
994 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
997 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
999 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1000 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1001 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1004 // C++ version of Python aware wxScrolledWindow
1005 class wxPyScrolledWindow
: public wxScrolledWindow
1007 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1009 wxPyScrolledWindow() : wxScrolledWindow() {}
1010 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1011 const wxPoint
& pos
= wxDefaultPosition
,
1012 const wxSize
& size
= wxDefaultSize
,
1014 const wxString
& name
= wxPyPanelNameStr
)
1015 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1017 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1019 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1020 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1021 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1022 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1024 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1025 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1026 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1028 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1029 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1031 DEC_PYCALLBACK__(InitDialog
);
1032 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1033 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1034 DEC_PYCALLBACK_BOOL_(Validate
);
1036 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1037 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1038 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1040 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1041 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1043 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1044 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1045 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1050 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1052 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1053 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1054 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1055 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1057 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1058 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1059 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1062 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1064 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1067 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1069 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1070 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1071 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1073 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1074 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1076 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1077 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1078 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1082 #include "wx/wxPython/printfw.h"
1085 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1086 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1090 // Since this one would be tough and ugly to do with the Macros...
1091 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1092 bool hadErr
= False
;
1095 bool blocked
= wxPyBeginBlockThreads();
1096 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1097 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1098 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1101 val
= PyTuple_GetItem(result
, 0);
1102 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1105 val
= PyTuple_GetItem(result
, 1);
1106 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1109 val
= PyTuple_GetItem(result
, 2);
1110 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1113 val
= PyTuple_GetItem(result
, 3);
1114 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1121 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1126 wxPyEndBlockThreads(blocked
);
1128 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1131 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1132 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1136 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1137 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1138 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1139 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1140 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1141 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1142 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1148 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1149 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1150 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1153 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1154 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1157 bool blocked = wxPyBeginBlockThreads(); \
1158 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1159 PyObject* win = wxPyMake_wxObject(a); \
1160 PyObject* dc = wxPyMake_wxObject(&b); \
1161 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1165 wxPyEndBlockThreads(blocked); \
1167 rval = PCLASS::CBNAME(a, b); \
1170 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1171 return PCLASS::CBNAME(a, b); \
1177 class wxPyPrintPreview
: public wxPrintPreview
1179 DECLARE_CLASS(wxPyPrintPreview
)
1181 wxPyPrintPreview(wxPyPrintout
* printout
,
1182 wxPyPrintout
* printoutForPrinting
,
1183 wxPrintDialogData
* data
=NULL
)
1184 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1186 wxPyPrintPreview(wxPyPrintout
* printout
,
1187 wxPyPrintout
* printoutForPrinting
,
1188 wxPrintData
* data
=NULL
)
1189 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1192 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1193 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1194 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1195 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1196 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1197 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1198 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1203 // Stupid renamed classes... Fix this in 2.5...
1204 #if defined(__WXMSW__)
1205 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1206 #elif defined(__WXMAC__)
1207 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1209 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1212 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1213 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1214 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1215 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1216 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1217 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1218 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1221 class wxPyPreviewFrame
: public wxPreviewFrame
1223 DECLARE_CLASS(wxPyPreviewFrame
);
1225 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1226 const wxString
& title
,
1227 const wxPoint
& pos
= wxDefaultPosition
,
1228 const wxSize
& size
= wxDefaultSize
,
1229 long style
= wxDEFAULT_FRAME_STYLE
,
1230 const wxString
& name
= wxPyFrameNameStr
)
1231 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1234 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1235 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1237 DEC_PYCALLBACK_VOID_(Initialize
);
1238 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1239 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1244 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1246 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1247 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1248 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1251 class wxPyPreviewControlBar
: public wxPreviewControlBar
1253 DECLARE_CLASS(wxPyPreviewControlBar
);
1255 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1258 const wxPoint
& pos
= wxDefaultPosition
,
1259 const wxSize
& size
= wxDefaultSize
,
1261 const wxString
& name
= wxPyPanelNameStr
)
1262 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1265 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1267 DEC_PYCALLBACK_VOID_(CreateButtons
);
1268 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1273 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1274 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1275 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1280 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
*resultobj
;
1282 wxWindow
*arg1
= (wxWindow
*) 0 ;
1283 int arg2
= (int) (int)-1 ;
1284 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1285 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1286 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1287 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1288 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1289 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1290 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1294 bool temp6
= False
;
1295 PyObject
* obj0
= 0 ;
1296 PyObject
* obj1
= 0 ;
1297 PyObject
* obj2
= 0 ;
1298 PyObject
* obj3
= 0 ;
1299 PyObject
* obj4
= 0 ;
1300 PyObject
* obj5
= 0 ;
1302 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1309 arg2
= (int const) SWIG_AsInt(obj1
);
1310 if (PyErr_Occurred()) SWIG_fail
;
1315 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1321 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1325 arg5
= (long) SWIG_AsLong(obj4
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1330 arg6
= wxString_in_helper(obj5
);
1331 if (arg6
== NULL
) SWIG_fail
;
1336 if (!wxPyCheckForApp()) SWIG_fail
;
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1344 resultobj
= wxPyMake_wxObject(result
);
1360 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
*resultobj
;
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1369 if (!wxPyCheckForApp()) SWIG_fail
;
1370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1371 result
= (wxPanel
*)new wxPanel();
1373 wxPyEndAllowThreads(__tstate
);
1374 if (PyErr_Occurred()) SWIG_fail
;
1377 resultobj
= wxPyMake_wxObject(result
);
1385 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
*resultobj
;
1387 wxPanel
*arg1
= (wxPanel
*) 0 ;
1388 wxWindow
*arg2
= (wxWindow
*) 0 ;
1389 int arg3
= (int) (int)-1 ;
1390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1394 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1395 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1396 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1400 bool temp7
= False
;
1401 PyObject
* obj0
= 0 ;
1402 PyObject
* obj1
= 0 ;
1403 PyObject
* obj2
= 0 ;
1404 PyObject
* obj3
= 0 ;
1405 PyObject
* obj4
= 0 ;
1406 PyObject
* obj5
= 0 ;
1407 PyObject
* obj6
= 0 ;
1409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1418 arg3
= (int const) SWIG_AsInt(obj2
);
1419 if (PyErr_Occurred()) SWIG_fail
;
1424 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1430 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1434 arg6
= (long) SWIG_AsLong(obj5
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1439 arg7
= wxString_in_helper(obj6
);
1440 if (arg7
== NULL
) SWIG_fail
;
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) SWIG_fail
;
1452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1468 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
*resultobj
;
1470 wxPanel
*arg1
= (wxPanel
*) 0 ;
1471 PyObject
* obj0
= 0 ;
1473 (char *) "self", NULL
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 (arg1
)->InitDialog();
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1486 Py_INCREF(Py_None
); resultobj
= Py_None
;
1493 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1496 wxVisualAttributes result
;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "variant", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1504 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1508 if (!wxPyCheckForApp()) SWIG_fail
;
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) SWIG_fail
;
1516 wxVisualAttributes
* resultptr
;
1517 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1526 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1529 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1531 return Py_BuildValue((char *)"");
1533 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1535 wxWindow
*arg1
= (wxWindow
*) 0 ;
1536 int arg2
= (int) (int)-1 ;
1537 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1538 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1539 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1540 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1541 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1542 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1543 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1544 wxScrolledWindow
*result
;
1547 bool temp6
= False
;
1548 PyObject
* obj0
= 0 ;
1549 PyObject
* obj1
= 0 ;
1550 PyObject
* obj2
= 0 ;
1551 PyObject
* obj3
= 0 ;
1552 PyObject
* obj4
= 0 ;
1553 PyObject
* obj5
= 0 ;
1555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1562 arg2
= (int const) SWIG_AsInt(obj1
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1568 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1574 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1578 arg5
= (long) SWIG_AsLong(obj4
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1583 arg6
= wxString_in_helper(obj5
);
1584 if (arg6
== NULL
) SWIG_fail
;
1589 if (!wxPyCheckForApp()) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1611 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1613 wxScrolledWindow
*result
;
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1620 if (!wxPyCheckForApp()) SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1634 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1637 wxWindow
*arg2
= (wxWindow
*) 0 ;
1638 int arg3
= (int) (int)-1 ;
1639 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1640 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1641 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1642 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1643 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1644 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1645 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1649 bool temp7
= False
;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1652 PyObject
* obj2
= 0 ;
1653 PyObject
* obj3
= 0 ;
1654 PyObject
* obj4
= 0 ;
1655 PyObject
* obj5
= 0 ;
1656 PyObject
* obj6
= 0 ;
1658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1667 arg3
= (int const) SWIG_AsInt(obj2
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1683 arg6
= (long) SWIG_AsLong(obj5
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1688 arg7
= wxString_in_helper(obj6
);
1689 if (arg7
== NULL
) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1717 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1719 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1724 int arg6
= (int) 0 ;
1725 int arg7
= (int) 0 ;
1726 bool arg8
= (bool) False
;
1727 PyObject
* obj0
= 0 ;
1728 PyObject
* obj1
= 0 ;
1729 PyObject
* obj2
= 0 ;
1730 PyObject
* obj3
= 0 ;
1731 PyObject
* obj4
= 0 ;
1732 PyObject
* obj5
= 0 ;
1733 PyObject
* obj6
= 0 ;
1734 PyObject
* obj7
= 0 ;
1736 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1742 arg2
= (int) SWIG_AsInt(obj1
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1744 arg3
= (int) SWIG_AsInt(obj2
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1746 arg4
= (int) SWIG_AsInt(obj3
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1748 arg5
= (int) SWIG_AsInt(obj4
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 arg6
= (int) SWIG_AsInt(obj5
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1755 arg7
= (int) SWIG_AsInt(obj6
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1759 arg8
= (bool) SWIG_AsBool(obj7
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 Py_INCREF(Py_None
); resultobj
= Py_None
;
1776 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1781 PyObject
* obj0
= 0 ;
1782 PyObject
* obj1
= 0 ;
1783 PyObject
* obj2
= 0 ;
1785 (char *) "self",(char *) "x",(char *) "y", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1791 arg2
= (int) SWIG_AsInt(obj1
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1793 arg3
= (int) SWIG_AsInt(obj2
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 (arg1
)->Scroll(arg2
,arg3
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1802 Py_INCREF(Py_None
); resultobj
= Py_None
;
1809 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1815 PyObject
* obj1
= 0 ;
1817 (char *) "self",(char *) "orient", NULL
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 arg2
= (int) SWIG_AsInt(obj1
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 resultobj
= SWIG_FromInt((int)result
);
1839 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1845 PyObject
* obj1
= 0 ;
1846 PyObject
* obj2
= 0 ;
1848 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1854 arg2
= (int) SWIG_AsInt(obj1
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1856 arg3
= (int) SWIG_AsInt(obj2
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1878 PyObject
* obj1
= 0 ;
1879 PyObject
* obj2
= 0 ;
1881 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1887 arg2
= (int) SWIG_AsInt(obj1
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1889 arg3
= (int) SWIG_AsInt(obj2
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 (arg1
)->SetScrollRate(arg2
,arg3
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 Py_INCREF(Py_None
); resultobj
= Py_None
;
1905 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1907 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1908 int *arg2
= (int *) 0 ;
1909 int *arg3
= (int *) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1929 Py_INCREF(Py_None
); resultobj
= Py_None
;
1931 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1932 resultobj
= t_output_helper(resultobj
,o
);
1935 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1936 resultobj
= t_output_helper(resultobj
,o
);
1944 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1949 PyObject
* obj0
= 0 ;
1950 PyObject
* obj1
= 0 ;
1951 PyObject
* obj2
= 0 ;
1953 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1959 arg2
= (bool) SWIG_AsBool(obj1
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1961 arg3
= (bool) SWIG_AsBool(obj2
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 (arg1
)->EnableScrolling(arg2
,arg3
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 Py_INCREF(Py_None
); resultobj
= Py_None
;
1977 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1980 int *arg2
= (int *) 0 ;
1981 int *arg3
= (int *) 0 ;
1984 PyObject
* obj0
= 0 ;
1986 (char *) "self", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2004 resultobj
= t_output_helper(resultobj
,o
);
2007 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2008 resultobj
= t_output_helper(resultobj
,o
);
2016 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2018 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2021 PyObject
* obj0
= 0 ;
2022 PyObject
* obj1
= 0 ;
2023 PyObject
* obj2
= 0 ;
2025 (char *) "self",(char *) "xs",(char *) "ys", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 arg2
= (double) SWIG_AsDouble(obj1
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2033 arg3
= (double) SWIG_AsDouble(obj2
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 (arg1
)->SetScale(arg2
,arg3
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 Py_INCREF(Py_None
); resultobj
= Py_None
;
2049 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2053 PyObject
* obj0
= 0 ;
2055 (char *) "self", NULL
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2068 resultobj
= SWIG_FromDouble((double)result
);
2075 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2079 PyObject
* obj0
= 0 ;
2081 (char *) "self", NULL
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 resultobj
= SWIG_FromDouble((double)result
);
2101 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2102 PyObject
*resultobj
;
2103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2107 PyObject
* obj0
= 0 ;
2108 PyObject
* obj1
= 0 ;
2110 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2125 wxPoint
* resultptr
;
2126 resultptr
= new wxPoint((wxPoint
&) result
);
2127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2135 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2136 PyObject
*resultobj
;
2137 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2140 int *arg4
= (int *) 0 ;
2141 int *arg5
= (int *) 0 ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2146 PyObject
* obj2
= 0 ;
2150 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2153 arg2
= (int) SWIG_AsInt(obj1
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2155 arg3
= (int) SWIG_AsInt(obj2
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2164 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2167 resultobj
= t_output_helper(resultobj
,o
);
2170 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2171 resultobj
= t_output_helper(resultobj
,o
);
2179 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2184 argc
= PyObject_Length(args
);
2185 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2186 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2192 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2201 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2204 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2212 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2220 _v
= SWIG_CheckInt(argv
[1]);
2222 _v
= SWIG_CheckInt(argv
[2]);
2224 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2230 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2235 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2236 PyObject
*resultobj
;
2237 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2242 PyObject
* obj1
= 0 ;
2244 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2259 wxPoint
* resultptr
;
2260 resultptr
= new wxPoint((wxPoint
&) result
);
2261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2269 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2270 PyObject
*resultobj
;
2271 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2274 int *arg4
= (int *) 0 ;
2275 int *arg5
= (int *) 0 ;
2278 PyObject
* obj0
= 0 ;
2279 PyObject
* obj1
= 0 ;
2280 PyObject
* obj2
= 0 ;
2284 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 arg2
= (int) SWIG_AsInt(obj1
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2289 arg3
= (int) SWIG_AsInt(obj2
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 Py_INCREF(Py_None
); resultobj
= Py_None
;
2300 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2301 resultobj
= t_output_helper(resultobj
,o
);
2304 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2305 resultobj
= t_output_helper(resultobj
,o
);
2313 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2318 argc
= PyObject_Length(args
);
2319 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2320 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2326 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2335 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2338 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2346 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2354 _v
= SWIG_CheckInt(argv
[1]);
2356 _v
= SWIG_CheckInt(argv
[2]);
2358 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2364 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2369 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2372 PyObject
* obj0
= 0 ;
2374 (char *) "self", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 (arg1
)->AdjustScrollbars();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 Py_INCREF(Py_None
); resultobj
= Py_None
;
2394 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2397 wxScrollWinEvent
*arg2
= 0 ;
2399 PyObject
* obj0
= 0 ;
2400 PyObject
* obj1
= 0 ;
2402 (char *) "self",(char *) "event", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2412 PyErr_SetString(PyExc_TypeError
,"null reference");
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= SWIG_FromInt((int)result
);
2429 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
*resultobj
;
2431 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2432 wxWindow
*arg2
= (wxWindow
*) 0 ;
2433 PyObject
* obj0
= 0 ;
2434 PyObject
* obj1
= 0 ;
2436 (char *) "self",(char *) "target", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 (arg1
)->SetTargetWindow(arg2
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 Py_INCREF(Py_None
); resultobj
= Py_None
;
2458 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2464 (char *) "self", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2478 resultobj
= wxPyMake_wxObject(result
);
2486 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2491 PyObject
* obj0
= 0 ;
2492 PyObject
* obj1
= 0 ;
2494 (char *) "self",(char *) "rect", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2502 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 Py_INCREF(Py_None
); resultobj
= Py_None
;
2518 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2522 PyObject
* obj0
= 0 ;
2524 (char *) "self", NULL
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2539 resultptr
= new wxRect((wxRect
&) result
);
2540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2548 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2551 wxVisualAttributes result
;
2552 PyObject
* obj0
= 0 ;
2554 (char *) "variant", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2559 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2563 if (!wxPyCheckForApp()) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2571 wxVisualAttributes
* resultptr
;
2572 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2581 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2584 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2586 return Py_BuildValue((char *)"");
2588 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2589 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2594 static PyObject
*_wrap_FrameNameStr_get() {
2599 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2601 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2608 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2609 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2614 static PyObject
*_wrap_DialogNameStr_get() {
2619 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2621 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2628 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2629 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2634 static PyObject
*_wrap_StatusLineNameStr_get() {
2639 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2641 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2648 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2649 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2654 static PyObject
*_wrap_ToolBarNameStr_get() {
2659 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2661 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2668 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2671 bool arg2
= (bool) True
;
2672 PyObject
* obj0
= 0 ;
2673 PyObject
* obj1
= 0 ;
2675 (char *) "self",(char *) "maximize", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2682 arg2
= (bool) SWIG_AsBool(obj1
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 (arg1
)->Maximize(arg2
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 (char *) "self", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2727 bool arg2
= (bool) True
;
2728 PyObject
* obj0
= 0 ;
2729 PyObject
* obj1
= 0 ;
2731 (char *) "self",(char *) "iconize", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2738 arg2
= (bool) SWIG_AsBool(obj1
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 (arg1
)->Iconize(arg2
);
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2748 Py_INCREF(Py_None
); resultobj
= Py_None
;
2755 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2759 PyObject
* obj0
= 0 ;
2761 (char *) "self", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2783 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "self", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2811 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
*resultobj
;
2813 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2815 PyObject
* obj0
= 0 ;
2817 (char *) "self", NULL
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2832 resultptr
= new wxIcon((wxIcon
&) result
);
2833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2841 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2846 PyObject
* obj1
= 0 ;
2848 (char *) "self",(char *) "icon", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2858 PyErr_SetString(PyExc_TypeError
,"null reference");
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2868 Py_INCREF(Py_None
); resultobj
= Py_None
;
2875 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2878 wxIconBundle
*arg2
= 0 ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2882 (char *) "self",(char *) "icons", NULL
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2892 PyErr_SetString(PyExc_TypeError
,"null reference");
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 Py_INCREF(Py_None
); resultobj
= Py_None
;
2909 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2913 long arg3
= (long) wxFULLSCREEN_ALL
;
2915 PyObject
* obj0
= 0 ;
2916 PyObject
* obj1
= 0 ;
2917 PyObject
* obj2
= 0 ;
2919 (char *) "self",(char *) "show",(char *) "style", NULL
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2925 arg2
= (bool) SWIG_AsBool(obj1
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2928 arg3
= (long) SWIG_AsLong(obj2
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2947 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2951 PyObject
* obj0
= 0 ;
2953 (char *) "self", NULL
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2975 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2978 wxString
*arg2
= 0 ;
2979 bool temp2
= False
;
2980 PyObject
* obj0
= 0 ;
2981 PyObject
* obj1
= 0 ;
2983 (char *) "self",(char *) "title", NULL
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2990 arg2
= wxString_in_helper(obj1
);
2991 if (arg2
== NULL
) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 (arg1
)->SetTitle((wxString
const &)*arg2
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3001 Py_INCREF(Py_None
); resultobj
= Py_None
;
3016 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3018 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "self", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3048 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3051 wxRegion
*arg2
= 0 ;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3056 (char *) "self",(char *) "region", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3066 PyErr_SetString(PyExc_TypeError
,"null reference");
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3085 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3092 (char *) "self",(char *) "on", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3098 arg2
= (bool) SWIG_AsBool(obj1
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 (arg1
)->MacSetMetalAppearance(arg2
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 Py_INCREF(Py_None
); resultobj
= Py_None
;
3114 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3120 (char *) "self", NULL
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3142 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3145 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3147 return Py_BuildValue((char *)"");
3149 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
*resultobj
;
3151 wxWindow
*arg1
= (wxWindow
*) 0 ;
3153 wxString
*arg3
= 0 ;
3154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3156 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3157 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3158 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3159 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3160 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3162 bool temp3
= False
;
3165 bool temp7
= False
;
3166 PyObject
* obj0
= 0 ;
3167 PyObject
* obj1
= 0 ;
3168 PyObject
* obj2
= 0 ;
3169 PyObject
* obj3
= 0 ;
3170 PyObject
* obj4
= 0 ;
3171 PyObject
* obj5
= 0 ;
3172 PyObject
* obj6
= 0 ;
3174 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3180 arg2
= (int const) SWIG_AsInt(obj1
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 arg3
= wxString_in_helper(obj2
);
3184 if (arg3
== NULL
) SWIG_fail
;
3190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3200 arg6
= (long) SWIG_AsLong(obj5
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3205 arg7
= wxString_in_helper(obj6
);
3206 if (arg7
== NULL
) SWIG_fail
;
3211 if (!wxPyCheckForApp()) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3219 resultobj
= wxPyMake_wxObject(result
);
3243 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3252 if (!wxPyCheckForApp()) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 result
= (wxFrame
*)new wxFrame();
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3260 resultobj
= wxPyMake_wxObject(result
);
3268 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxFrame
*arg1
= (wxFrame
*) 0 ;
3271 wxWindow
*arg2
= (wxWindow
*) 0 ;
3273 wxString
*arg4
= 0 ;
3274 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3275 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3276 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3277 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3278 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3279 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3280 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3282 bool temp4
= False
;
3285 bool temp8
= False
;
3286 PyObject
* obj0
= 0 ;
3287 PyObject
* obj1
= 0 ;
3288 PyObject
* obj2
= 0 ;
3289 PyObject
* obj3
= 0 ;
3290 PyObject
* obj4
= 0 ;
3291 PyObject
* obj5
= 0 ;
3292 PyObject
* obj6
= 0 ;
3293 PyObject
* obj7
= 0 ;
3295 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3303 arg3
= (int const) SWIG_AsInt(obj2
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 arg4
= wxString_in_helper(obj3
);
3307 if (arg4
== NULL
) SWIG_fail
;
3313 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3319 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3323 arg7
= (long) SWIG_AsLong(obj6
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3328 arg8
= wxString_in_helper(obj7
);
3329 if (arg8
== NULL
) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3365 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxFrame
*arg1
= (wxFrame
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3385 wxPoint
* resultptr
;
3386 resultptr
= new wxPoint((wxPoint
&) result
);
3387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3395 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxFrame
*arg1
= (wxFrame
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 (arg1
)->SendSizeEvent();
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 Py_INCREF(Py_None
); resultobj
= Py_None
;
3420 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxFrame
*arg1
= (wxFrame
*) 0 ;
3423 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3427 (char *) "self",(char *) "menubar", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->SetMenuBar(arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3449 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxFrame
*arg1
= (wxFrame
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3455 (char *) "self", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= wxPyMake_wxObject(result
);
3477 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxFrame
*arg1
= (wxFrame
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3485 (char *) "self",(char *) "winid", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3491 arg2
= (int) SWIG_AsInt(obj1
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3509 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
;
3511 wxFrame
*arg1
= (wxFrame
*) 0 ;
3512 int arg2
= (int) 1 ;
3513 long arg3
= (long) wxST_SIZEGRIP
;
3514 int arg4
= (int) 0 ;
3515 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3516 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3517 wxStatusBar
*result
;
3518 bool temp5
= False
;
3519 PyObject
* obj0
= 0 ;
3520 PyObject
* obj1
= 0 ;
3521 PyObject
* obj2
= 0 ;
3522 PyObject
* obj3
= 0 ;
3523 PyObject
* obj4
= 0 ;
3525 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3532 arg2
= (int) SWIG_AsInt(obj1
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 arg3
= (long) SWIG_AsLong(obj2
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3540 arg4
= (int) SWIG_AsInt(obj3
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3545 arg5
= wxString_in_helper(obj4
);
3546 if (arg5
== NULL
) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= wxPyMake_wxObject(result
);
3574 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxFrame
*arg1
= (wxFrame
*) 0 ;
3577 wxStatusBar
*result
;
3578 PyObject
* obj0
= 0 ;
3580 (char *) "self", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3594 resultobj
= wxPyMake_wxObject(result
);
3602 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
*resultobj
;
3604 wxFrame
*arg1
= (wxFrame
*) 0 ;
3605 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3606 PyObject
* obj0
= 0 ;
3607 PyObject
* obj1
= 0 ;
3609 (char *) "self",(char *) "statBar", NULL
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 (arg1
)->SetStatusBar(arg2
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 Py_INCREF(Py_None
); resultobj
= Py_None
;
3631 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
*resultobj
;
3633 wxFrame
*arg1
= (wxFrame
*) 0 ;
3634 wxString
*arg2
= 0 ;
3635 int arg3
= (int) 0 ;
3636 bool temp2
= False
;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3639 PyObject
* obj2
= 0 ;
3641 (char *) "self",(char *) "text",(char *) "number", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3648 arg2
= wxString_in_helper(obj1
);
3649 if (arg2
== NULL
) SWIG_fail
;
3653 arg3
= (int) SWIG_AsInt(obj2
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 Py_INCREF(Py_None
); resultobj
= Py_None
;
3678 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxFrame
*arg1
= (wxFrame
*) 0 ;
3682 int *arg3
= (int *) 0 ;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "self",(char *) "widths", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 arg2
= PyList_Size(obj1
);
3694 arg3
= int_LIST_helper(obj1
);
3695 if (arg3
== NULL
) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 if (arg3
) delete [] arg3
;
3711 if (arg3
) delete [] arg3
;
3717 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxFrame
*arg1
= (wxFrame
*) 0 ;
3720 wxString
*arg2
= 0 ;
3721 int arg3
= (int) 0 ;
3722 bool temp2
= False
;
3723 PyObject
* obj0
= 0 ;
3724 PyObject
* obj1
= 0 ;
3725 PyObject
* obj2
= 0 ;
3727 (char *) "self",(char *) "text",(char *) "number", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3734 arg2
= wxString_in_helper(obj1
);
3735 if (arg2
== NULL
) SWIG_fail
;
3739 arg3
= (int) SWIG_AsInt(obj2
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3764 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxFrame
*arg1
= (wxFrame
*) 0 ;
3767 int arg2
= (int) 0 ;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3771 (char *) "self",(char *) "number", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3778 arg2
= (int) SWIG_AsInt(obj1
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 (arg1
)->PopStatusText(arg2
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 Py_INCREF(Py_None
); resultobj
= Py_None
;
3795 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxFrame
*arg1
= (wxFrame
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3802 (char *) "self",(char *) "n", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3808 arg2
= (int) SWIG_AsInt(obj1
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 (arg1
)->SetStatusBarPane(arg2
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 Py_INCREF(Py_None
); resultobj
= Py_None
;
3824 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxFrame
*arg1
= (wxFrame
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "self", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= SWIG_FromInt((int)result
);
3850 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxFrame
*arg1
= (wxFrame
*) 0 ;
3853 long arg2
= (long) -1 ;
3854 int arg3
= (int) -1 ;
3855 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3856 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3858 bool temp4
= False
;
3859 PyObject
* obj0
= 0 ;
3860 PyObject
* obj1
= 0 ;
3861 PyObject
* obj2
= 0 ;
3862 PyObject
* obj3
= 0 ;
3864 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3871 arg2
= (long) SWIG_AsLong(obj1
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3875 arg3
= (int) SWIG_AsInt(obj2
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3880 arg4
= wxString_in_helper(obj3
);
3881 if (arg4
== NULL
) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= wxPyMake_wxObject(result
);
3909 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxFrame
*arg1
= (wxFrame
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= wxPyMake_wxObject(result
);
3937 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxFrame
*arg1
= (wxFrame
*) 0 ;
3940 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3944 (char *) "self",(char *) "toolbar", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 (arg1
)->SetToolBar(arg2
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxFrame
*arg1
= (wxFrame
*) 0 ;
3969 wxString
*arg2
= 0 ;
3971 bool temp2
= False
;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3974 PyObject
* obj2
= 0 ;
3976 (char *) "self",(char *) "text",(char *) "show", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 arg2
= wxString_in_helper(obj1
);
3984 if (arg2
== NULL
) SWIG_fail
;
3987 arg3
= (bool) SWIG_AsBool(obj2
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxFrame
*arg1
= (wxFrame
*) 0 ;
4014 wxMenu
*arg2
= (wxMenu
*) NULL
;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj1
= 0 ;
4018 (char *) "self",(char *) "menu", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 (arg1
)->DoMenuUpdates(arg2
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 Py_INCREF(Py_None
); resultobj
= Py_None
;
4042 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4045 wxVisualAttributes result
;
4046 PyObject
* obj0
= 0 ;
4048 (char *) "variant", NULL
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4053 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4057 if (!wxPyCheckForApp()) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 wxVisualAttributes
* resultptr
;
4066 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4075 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4078 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4080 return Py_BuildValue((char *)"");
4082 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxWindow
*arg1
= (wxWindow
*) 0 ;
4086 wxString
*arg3
= 0 ;
4087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4091 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4092 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4095 bool temp3
= False
;
4098 bool temp7
= False
;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4101 PyObject
* obj2
= 0 ;
4102 PyObject
* obj3
= 0 ;
4103 PyObject
* obj4
= 0 ;
4104 PyObject
* obj5
= 0 ;
4105 PyObject
* obj6
= 0 ;
4107 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4113 arg2
= (int const) SWIG_AsInt(obj1
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 arg3
= wxString_in_helper(obj2
);
4117 if (arg3
== NULL
) SWIG_fail
;
4123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4133 arg6
= (long) SWIG_AsLong(obj5
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4138 arg7
= wxString_in_helper(obj6
);
4139 if (arg7
== NULL
) SWIG_fail
;
4144 if (!wxPyCheckForApp()) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= wxPyMake_wxObject(result
);
4176 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4185 if (!wxPyCheckForApp()) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (wxDialog
*)new wxDialog();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= wxPyMake_wxObject(result
);
4201 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxDialog
*arg1
= (wxDialog
*) 0 ;
4204 wxWindow
*arg2
= (wxWindow
*) 0 ;
4206 wxString
*arg4
= 0 ;
4207 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4208 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4209 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4210 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4211 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4212 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4213 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4215 bool temp4
= False
;
4218 bool temp8
= False
;
4219 PyObject
* obj0
= 0 ;
4220 PyObject
* obj1
= 0 ;
4221 PyObject
* obj2
= 0 ;
4222 PyObject
* obj3
= 0 ;
4223 PyObject
* obj4
= 0 ;
4224 PyObject
* obj5
= 0 ;
4225 PyObject
* obj6
= 0 ;
4226 PyObject
* obj7
= 0 ;
4228 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4236 arg3
= (int const) SWIG_AsInt(obj2
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 arg4
= wxString_in_helper(obj3
);
4240 if (arg4
== NULL
) SWIG_fail
;
4246 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4252 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4256 arg7
= (long) SWIG_AsLong(obj6
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4261 arg8
= wxString_in_helper(obj7
);
4262 if (arg8
== NULL
) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4298 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxDialog
*arg1
= (wxDialog
*) 0 ;
4302 PyObject
* obj0
= 0 ;
4303 PyObject
* obj1
= 0 ;
4305 (char *) "self",(char *) "returnCode", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4311 arg2
= (int) SWIG_AsInt(obj1
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 (arg1
)->SetReturnCode(arg2
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 Py_INCREF(Py_None
); resultobj
= Py_None
;
4327 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxDialog
*arg1
= (wxDialog
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4333 (char *) "self", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_FromInt((int)result
);
4353 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxDialog
*arg1
= (wxDialog
*) 0 ;
4356 wxString
*arg2
= 0 ;
4358 bool temp2
= False
;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "self",(char *) "message", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4369 arg2
= wxString_in_helper(obj1
);
4370 if (arg2
== NULL
) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= wxPyMake_wxSizer(result
);
4397 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxDialog
*arg1
= (wxDialog
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4405 (char *) "self",(char *) "flags", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4411 arg2
= (long) SWIG_AsLong(obj1
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= wxPyMake_wxSizer(result
);
4429 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4431 wxDialog
*arg1
= (wxDialog
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4435 (char *) "self", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4457 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxDialog
*arg1
= (wxDialog
*) 0 ;
4461 PyObject
* obj0
= 0 ;
4463 (char *) "self", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (int)(arg1
)->ShowModal();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_FromInt((int)result
);
4483 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxDialog
*arg1
= (wxDialog
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4490 (char *) "self",(char *) "retCode", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4496 arg2
= (int) SWIG_AsInt(obj1
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 (arg1
)->EndModal(arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4515 wxVisualAttributes result
;
4516 PyObject
* obj0
= 0 ;
4518 (char *) "variant", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4523 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4527 if (!wxPyCheckForApp()) SWIG_fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4535 wxVisualAttributes
* resultptr
;
4536 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4545 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4548 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4550 return Py_BuildValue((char *)"");
4552 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxWindow
*arg1
= (wxWindow
*) 0 ;
4556 wxString
*arg3
= 0 ;
4557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4561 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4562 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4564 wxMiniFrame
*result
;
4565 bool temp3
= False
;
4568 bool temp7
= False
;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4571 PyObject
* obj2
= 0 ;
4572 PyObject
* obj3
= 0 ;
4573 PyObject
* obj4
= 0 ;
4574 PyObject
* obj5
= 0 ;
4575 PyObject
* obj6
= 0 ;
4577 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4583 arg2
= (int const) SWIG_AsInt(obj1
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 arg3
= wxString_in_helper(obj2
);
4587 if (arg3
== NULL
) SWIG_fail
;
4593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4603 arg6
= (long) SWIG_AsLong(obj5
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4608 arg7
= wxString_in_helper(obj6
);
4609 if (arg7
== NULL
) SWIG_fail
;
4614 if (!wxPyCheckForApp()) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4644 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxMiniFrame
*result
;
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4653 if (!wxPyCheckForApp()) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (wxMiniFrame
*)new wxMiniFrame();
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4667 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4670 wxWindow
*arg2
= (wxWindow
*) 0 ;
4672 wxString
*arg4
= 0 ;
4673 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4674 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4675 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4676 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4677 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4678 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4679 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4681 bool temp4
= False
;
4684 bool temp8
= False
;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4688 PyObject
* obj3
= 0 ;
4689 PyObject
* obj4
= 0 ;
4690 PyObject
* obj5
= 0 ;
4691 PyObject
* obj6
= 0 ;
4692 PyObject
* obj7
= 0 ;
4694 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4702 arg3
= (int const) SWIG_AsInt(obj2
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 arg4
= wxString_in_helper(obj3
);
4706 if (arg4
== NULL
) SWIG_fail
;
4712 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4718 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4722 arg7
= (long) SWIG_AsLong(obj6
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4727 arg8
= wxString_in_helper(obj7
);
4728 if (arg8
== NULL
) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4764 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4767 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4769 return Py_BuildValue((char *)"");
4771 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxBitmap
*arg1
= 0 ;
4774 wxWindow
*arg2
= (wxWindow
*) 0 ;
4776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4780 long arg6
= (long) wxNO_BORDER
;
4781 wxSplashScreenWindow
*result
;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4786 PyObject
* obj2
= 0 ;
4787 PyObject
* obj3
= 0 ;
4788 PyObject
* obj4
= 0 ;
4789 PyObject
* obj5
= 0 ;
4791 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4799 PyErr_SetString(PyExc_TypeError
,"null reference");
4802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4804 arg3
= (int) SWIG_AsInt(obj2
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4819 arg6
= (long) SWIG_AsLong(obj5
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 if (!wxPyCheckForApp()) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4837 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4840 wxBitmap
*arg2
= 0 ;
4841 PyObject
* obj0
= 0 ;
4842 PyObject
* obj1
= 0 ;
4844 (char *) "self",(char *) "bitmap", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4854 PyErr_SetString(PyExc_TypeError
,"null reference");
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 Py_INCREF(Py_None
); resultobj
= Py_None
;
4871 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4877 (char *) "self", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4887 result
= (wxBitmap
*) &_result_ref
;
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4894 wxBitmap
* resultptr
= new wxBitmap(*result
);
4895 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4903 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4906 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4908 return Py_BuildValue((char *)"");
4910 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxBitmap
*arg1
= 0 ;
4915 wxWindow
*arg4
= (wxWindow
*) 0 ;
4917 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4918 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4919 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4920 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4921 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4922 wxSplashScreen
*result
;
4925 PyObject
* obj0
= 0 ;
4926 PyObject
* obj1
= 0 ;
4927 PyObject
* obj2
= 0 ;
4928 PyObject
* obj3
= 0 ;
4929 PyObject
* obj4
= 0 ;
4930 PyObject
* obj5
= 0 ;
4931 PyObject
* obj6
= 0 ;
4932 PyObject
* obj7
= 0 ;
4934 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4942 PyErr_SetString(PyExc_TypeError
,"null reference");
4945 arg2
= (long) SWIG_AsLong(obj1
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4947 arg3
= (int) SWIG_AsInt(obj2
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4949 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4951 arg5
= (int) SWIG_AsInt(obj4
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4956 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4962 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4966 arg8
= (long) SWIG_AsLong(obj7
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4970 if (!wxPyCheckForApp()) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4984 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4988 PyObject
* obj0
= 0 ;
4990 (char *) "self", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 resultobj
= SWIG_FromLong((long)result
);
5010 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5013 wxSplashScreenWindow
*result
;
5014 PyObject
* obj0
= 0 ;
5016 (char *) "self", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5036 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5042 (char *) "self", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_FromInt((int)result
);
5062 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5065 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5067 return Py_BuildValue((char *)"");
5069 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxWindow
*arg1
= (wxWindow
*) 0 ;
5072 int arg2
= (int) -1 ;
5073 long arg3
= (long) wxST_SIZEGRIP
;
5074 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5075 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5076 wxStatusBar
*result
;
5077 bool temp4
= False
;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 PyObject
* obj2
= 0 ;
5081 PyObject
* obj3
= 0 ;
5083 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5090 arg2
= (int) SWIG_AsInt(obj1
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5094 arg3
= (long) SWIG_AsLong(obj2
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5099 arg4
= wxString_in_helper(obj3
);
5100 if (arg4
== NULL
) SWIG_fail
;
5105 if (!wxPyCheckForApp()) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= wxPyMake_wxObject(result
);
5129 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxStatusBar
*result
;
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5138 if (!wxPyCheckForApp()) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (wxStatusBar
*)new wxStatusBar();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5146 resultobj
= wxPyMake_wxObject(result
);
5154 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5157 wxWindow
*arg2
= (wxWindow
*) 0 ;
5159 long arg4
= (long) wxST_SIZEGRIP
;
5160 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5161 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5163 bool temp5
= False
;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5166 PyObject
* obj2
= 0 ;
5167 PyObject
* obj3
= 0 ;
5168 PyObject
* obj4
= 0 ;
5170 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5178 arg3
= (int) SWIG_AsInt(obj2
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 arg4
= (long) SWIG_AsLong(obj3
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5186 arg5
= wxString_in_helper(obj4
);
5187 if (arg5
== NULL
) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5215 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5218 int arg2
= (int) 1 ;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5222 (char *) "self",(char *) "number", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5229 arg2
= (int) SWIG_AsInt(obj1
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 (arg1
)->SetFieldsCount(arg2
);
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 Py_INCREF(Py_None
); resultobj
= Py_None
;
5246 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5250 PyObject
* obj0
= 0 ;
5252 (char *) "self", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= SWIG_FromInt((int)result
);
5272 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5275 wxString
*arg2
= 0 ;
5276 int arg3
= (int) 0 ;
5277 bool temp2
= False
;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 PyObject
* obj2
= 0 ;
5282 (char *) "self",(char *) "text",(char *) "number", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5289 arg2
= wxString_in_helper(obj1
);
5290 if (arg2
== NULL
) SWIG_fail
;
5294 arg3
= (int) SWIG_AsInt(obj2
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5322 int arg2
= (int) 0 ;
5324 PyObject
* obj0
= 0 ;
5325 PyObject
* obj1
= 0 ;
5327 (char *) "self",(char *) "number", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 arg2
= (int) SWIG_AsInt(obj1
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5357 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5360 wxString
*arg2
= 0 ;
5361 int arg3
= (int) 0 ;
5362 bool temp2
= False
;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5365 PyObject
* obj2
= 0 ;
5367 (char *) "self",(char *) "text",(char *) "number", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 arg2
= wxString_in_helper(obj1
);
5375 if (arg2
== NULL
) SWIG_fail
;
5379 arg3
= (int) SWIG_AsInt(obj2
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5407 int arg2
= (int) 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5411 (char *) "self",(char *) "number", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 arg2
= (int) SWIG_AsInt(obj1
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 (arg1
)->PopStatusText(arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 Py_INCREF(Py_None
); resultobj
= Py_None
;
5435 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5439 int *arg3
= (int *) 0 ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5443 (char *) "self",(char *) "widths", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 arg2
= PyList_Size(obj1
);
5451 arg3
= int_LIST_helper(obj1
);
5452 if (arg3
== NULL
) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5463 if (arg3
) delete [] arg3
;
5468 if (arg3
) delete [] arg3
;
5474 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5482 (char *) "self",(char *) "i", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 arg2
= (int) SWIG_AsInt(obj1
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5499 resultptr
= new wxRect((wxRect
&) result
);
5500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5508 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5515 (char *) "self",(char *) "height", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5521 arg2
= (int) SWIG_AsInt(obj1
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 (arg1
)->SetMinHeight(arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5543 (char *) "self", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_FromInt((int)result
);
5563 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "self", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_FromInt((int)result
);
5589 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5592 wxVisualAttributes result
;
5593 PyObject
* obj0
= 0 ;
5595 (char *) "variant", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5600 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5604 if (!wxPyCheckForApp()) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5612 wxVisualAttributes
* resultptr
;
5613 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5622 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5625 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5627 return Py_BuildValue((char *)"");
5629 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5630 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5635 static PyObject
*_wrap_SplitterNameStr_get() {
5640 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5642 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5649 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxWindow
*arg1
= (wxWindow
*) 0 ;
5652 int arg2
= (int) -1 ;
5653 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5654 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5655 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5656 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5657 long arg5
= (long) wxSP_3D
;
5658 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5659 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5660 wxSplitterWindow
*result
;
5663 bool temp6
= False
;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5668 PyObject
* obj4
= 0 ;
5669 PyObject
* obj5
= 0 ;
5671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5678 arg2
= (int) SWIG_AsInt(obj1
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5690 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5694 arg5
= (long) SWIG_AsLong(obj4
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5699 arg6
= wxString_in_helper(obj5
);
5700 if (arg6
== NULL
) SWIG_fail
;
5705 if (!wxPyCheckForApp()) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5727 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxSplitterWindow
*result
;
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5736 if (!wxPyCheckForApp()) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5750 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5753 wxWindow
*arg2
= (wxWindow
*) 0 ;
5754 int arg3
= (int) -1 ;
5755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5759 long arg6
= (long) wxSP_3D
;
5760 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5765 bool temp7
= False
;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5768 PyObject
* obj2
= 0 ;
5769 PyObject
* obj3
= 0 ;
5770 PyObject
* obj4
= 0 ;
5771 PyObject
* obj5
= 0 ;
5772 PyObject
* obj6
= 0 ;
5774 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 arg3
= (int) SWIG_AsInt(obj2
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5799 arg6
= (long) SWIG_AsLong(obj5
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5804 arg7
= wxString_in_helper(obj6
);
5805 if (arg7
== NULL
) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5833 static PyObject
*_wrap_SplitterWindow_GetWindow1(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_GetWindow1",kwnames
,&obj0
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= wxPyMake_wxObject(result
);
5861 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5867 (char *) "self", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= wxPyMake_wxObject(result
);
5889 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5896 (char *) "self",(char *) "mode", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 arg2
= (int) SWIG_AsInt(obj1
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 (arg1
)->SetSplitMode(arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 Py_INCREF(Py_None
); resultobj
= Py_None
;
5918 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_FromInt((int)result
);
5944 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
;
5946 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5947 wxWindow
*arg2
= (wxWindow
*) 0 ;
5948 PyObject
* obj0
= 0 ;
5949 PyObject
* obj1
= 0 ;
5951 (char *) "self",(char *) "window", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 (arg1
)->Initialize(arg2
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 Py_INCREF(Py_None
); resultobj
= Py_None
;
5973 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5976 wxWindow
*arg2
= (wxWindow
*) 0 ;
5977 wxWindow
*arg3
= (wxWindow
*) 0 ;
5978 int arg4
= (int) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5982 PyObject
* obj2
= 0 ;
5983 PyObject
* obj3
= 0 ;
5985 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 arg4
= (int) SWIG_AsInt(obj3
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6015 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
*resultobj
;
6017 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6018 wxWindow
*arg2
= (wxWindow
*) 0 ;
6019 wxWindow
*arg3
= (wxWindow
*) 0 ;
6020 int arg4
= (int) 0 ;
6022 PyObject
* obj0
= 0 ;
6023 PyObject
* obj1
= 0 ;
6024 PyObject
* obj2
= 0 ;
6025 PyObject
* obj3
= 0 ;
6027 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6035 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 arg4
= (int) SWIG_AsInt(obj3
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6057 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6060 wxWindow
*arg2
= (wxWindow
*) NULL
;
6062 PyObject
* obj0
= 0 ;
6063 PyObject
* obj1
= 0 ;
6065 (char *) "self",(char *) "toRemove", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (bool)(arg1
)->Unsplit(arg2
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6091 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6094 wxWindow
*arg2
= (wxWindow
*) 0 ;
6095 wxWindow
*arg3
= (wxWindow
*) 0 ;
6097 PyObject
* obj0
= 0 ;
6098 PyObject
* obj1
= 0 ;
6099 PyObject
* obj2
= 0 ;
6101 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6109 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6127 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 (arg1
)->UpdateSize();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 Py_INCREF(Py_None
); resultobj
= Py_None
;
6152 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "self", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6180 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6187 (char *) "self",(char *) "width", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6193 arg2
= (int) SWIG_AsInt(obj1
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 (arg1
)->SetSashSize(arg2
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 Py_INCREF(Py_None
); resultobj
= Py_None
;
6209 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
;
6211 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6213 PyObject
* obj0
= 0 ;
6214 PyObject
* obj1
= 0 ;
6216 (char *) "self",(char *) "width", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6222 arg2
= (int) SWIG_AsInt(obj1
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 (arg1
)->SetBorderSize(arg2
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 Py_INCREF(Py_None
); resultobj
= Py_None
;
6238 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_FromInt((int)result
);
6264 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6270 (char *) "self", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_FromInt((int)result
);
6290 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6294 bool arg3
= (bool) True
;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6297 PyObject
* obj2
= 0 ;
6299 (char *) "self",(char *) "position",(char *) "redraw", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 arg2
= (int) SWIG_AsInt(obj1
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 arg3
= (bool) SWIG_AsBool(obj2
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 (arg1
)->SetSashPosition(arg2
,arg3
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 Py_INCREF(Py_None
); resultobj
= Py_None
;
6325 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6331 (char *) "self", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= SWIG_FromInt((int)result
);
6351 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6356 PyObject
* obj1
= 0 ;
6358 (char *) "self",(char *) "min", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 arg2
= (int) SWIG_AsInt(obj1
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 (arg1
)->SetMinimumPaneSize(arg2
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 Py_INCREF(Py_None
); resultobj
= Py_None
;
6380 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
;
6382 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6384 PyObject
* obj0
= 0 ;
6386 (char *) "self", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= SWIG_FromInt((int)result
);
6406 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6411 int arg4
= (int) 5 ;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6415 PyObject
* obj2
= 0 ;
6416 PyObject
* obj3
= 0 ;
6418 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6424 arg2
= (int) SWIG_AsInt(obj1
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6426 arg3
= (int) SWIG_AsInt(obj2
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 arg4
= (int) SWIG_AsInt(obj3
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6448 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6451 PyObject
* obj0
= 0 ;
6453 (char *) "self", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 (arg1
)->SizeWindows();
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 Py_INCREF(Py_None
); resultobj
= Py_None
;
6473 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6480 (char *) "self",(char *) "needUpdating", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6486 arg2
= (bool) SWIG_AsBool(obj1
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 (arg1
)->SetNeedUpdating(arg2
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 Py_INCREF(Py_None
); resultobj
= Py_None
;
6502 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "self", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6530 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6533 wxVisualAttributes result
;
6534 PyObject
* obj0
= 0 ;
6536 (char *) "variant", NULL
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6541 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 if (!wxPyCheckForApp()) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6553 wxVisualAttributes
* resultptr
;
6554 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6563 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6566 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6568 return Py_BuildValue((char *)"");
6570 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6573 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6574 wxSplitterEvent
*result
;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6578 (char *) "type",(char *) "splitter", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6583 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6604 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6611 (char *) "self",(char *) "pos", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 arg2
= (int) SWIG_AsInt(obj1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 (arg1
)->SetSashPosition(arg2
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 Py_INCREF(Py_None
); resultobj
= Py_None
;
6633 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_FromInt((int)result
);
6659 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6665 (char *) "self", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= wxPyMake_wxObject(result
);
6687 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_FromInt((int)result
);
6713 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6719 (char *) "self", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= SWIG_FromInt((int)result
);
6739 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6742 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6744 return Py_BuildValue((char *)"");
6746 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6747 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6752 static PyObject
*_wrap_SashNameStr_get() {
6757 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6759 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6766 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6767 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6772 static PyObject
*_wrap_SashLayoutNameStr_get() {
6777 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6779 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6786 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
;
6788 wxWindow
*arg1
= (wxWindow
*) 0 ;
6790 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6791 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6792 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6793 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6794 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6795 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6796 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6797 wxSashWindow
*result
;
6800 bool temp6
= False
;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6804 PyObject
* obj3
= 0 ;
6805 PyObject
* obj4
= 0 ;
6806 PyObject
* obj5
= 0 ;
6808 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 arg2
= (int) SWIG_AsInt(obj1
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6819 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6825 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6829 arg5
= (long) SWIG_AsLong(obj4
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6834 arg6
= wxString_in_helper(obj5
);
6835 if (arg6
== NULL
) SWIG_fail
;
6840 if (!wxPyCheckForApp()) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6862 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxSashWindow
*result
;
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6871 if (!wxPyCheckForApp()) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 result
= (wxSashWindow
*)new wxSashWindow();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6885 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6888 wxWindow
*arg2
= (wxWindow
*) 0 ;
6890 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6891 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6892 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6893 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6894 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6895 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6900 bool temp7
= False
;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6903 PyObject
* obj2
= 0 ;
6904 PyObject
* obj3
= 0 ;
6905 PyObject
* obj4
= 0 ;
6906 PyObject
* obj5
= 0 ;
6907 PyObject
* obj6
= 0 ;
6909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6917 arg3
= (int) SWIG_AsInt(obj2
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6932 arg6
= (long) SWIG_AsLong(obj5
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6937 arg7
= wxString_in_helper(obj6
);
6938 if (arg7
== NULL
) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6966 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6973 PyObject
* obj2
= 0 ;
6975 (char *) "self",(char *) "edge",(char *) "sash", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6983 arg3
= (bool) SWIG_AsBool(obj2
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 Py_INCREF(Py_None
); resultobj
= Py_None
;
6999 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7007 (char *) "self",(char *) "edge", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7031 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
;
7033 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7038 PyObject
* obj2
= 0 ;
7040 (char *) "self",(char *) "edge",(char *) "border", NULL
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7046 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7048 arg3
= (bool) SWIG_AsBool(obj2
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 Py_INCREF(Py_None
); resultobj
= Py_None
;
7064 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7072 (char *) "self",(char *) "edge", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7078 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7096 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7102 PyObject
* obj1
= 0 ;
7104 (char *) "self",(char *) "edge", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7110 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_FromInt((int)result
);
7126 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7133 (char *) "self",(char *) "width", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7139 arg2
= (int) SWIG_AsInt(obj1
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 (arg1
)->SetDefaultBorderSize(arg2
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7155 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "self", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_FromInt((int)result
);
7181 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7188 (char *) "self",(char *) "width", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7194 arg2
= (int) SWIG_AsInt(obj1
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 (arg1
)->SetExtraBorderSize(arg2
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 Py_INCREF(Py_None
); resultobj
= Py_None
;
7210 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7216 (char *) "self", NULL
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_FromInt((int)result
);
7236 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7243 (char *) "self",(char *) "min", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7249 arg2
= (int) SWIG_AsInt(obj1
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 (arg1
)->SetMinimumSizeX(arg2
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 Py_INCREF(Py_None
); resultobj
= Py_None
;
7265 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7272 (char *) "self",(char *) "min", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7278 arg2
= (int) SWIG_AsInt(obj1
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 (arg1
)->SetMinimumSizeY(arg2
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7300 (char *) "self", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= SWIG_FromInt((int)result
);
7320 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "self", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_FromInt((int)result
);
7346 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7353 (char *) "self",(char *) "max", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7359 arg2
= (int) SWIG_AsInt(obj1
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 (arg1
)->SetMaximumSizeX(arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 Py_INCREF(Py_None
); resultobj
= Py_None
;
7375 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7382 (char *) "self",(char *) "max", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7388 arg2
= (int) SWIG_AsInt(obj1
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 (arg1
)->SetMaximumSizeY(arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 Py_INCREF(Py_None
); resultobj
= Py_None
;
7404 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_FromInt((int)result
);
7430 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "self", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_FromInt((int)result
);
7456 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7461 int arg4
= (int) 2 ;
7463 PyObject
* obj0
= 0 ;
7464 PyObject
* obj1
= 0 ;
7465 PyObject
* obj2
= 0 ;
7466 PyObject
* obj3
= 0 ;
7468 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 arg2
= (int) SWIG_AsInt(obj1
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7476 arg3
= (int) SWIG_AsInt(obj2
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 arg4
= (int) SWIG_AsInt(obj3
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_FromInt((int)result
);
7496 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "self", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 (arg1
)->SizeWindows();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7524 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7526 return Py_BuildValue((char *)"");
7528 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 int arg1
= (int) 0 ;
7531 int arg2
= (int) wxSASH_NONE
;
7532 wxSashEvent
*result
;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7536 (char *) "id",(char *) "edge", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7541 arg1
= (int) SWIG_AsInt(obj0
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7562 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7567 PyObject
* obj1
= 0 ;
7569 (char *) "self",(char *) "edge", NULL
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7575 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 Py_INCREF(Py_None
); resultobj
= Py_None
;
7591 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7597 (char *) "self", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_FromInt((int)result
);
7617 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7623 PyObject
* obj1
= 0 ;
7625 (char *) "self",(char *) "rect", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7633 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7670 resultptr
= new wxRect((wxRect
&) result
);
7671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7679 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7686 (char *) "self",(char *) "status", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7692 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 Py_INCREF(Py_None
); resultobj
= Py_None
;
7708 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_FromInt((int)result
);
7734 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7737 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7739 return Py_BuildValue((char *)"");
7741 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 int arg1
= (int) 0 ;
7744 wxQueryLayoutInfoEvent
*result
;
7745 PyObject
* obj0
= 0 ;
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7752 arg1
= (int) SWIG_AsInt(obj0
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7769 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7773 PyObject
* obj0
= 0 ;
7774 PyObject
* obj1
= 0 ;
7776 (char *) "self",(char *) "length", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7782 arg2
= (int) SWIG_AsInt(obj1
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 (arg1
)->SetRequestedLength(arg2
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7798 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_FromInt((int)result
);
7824 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7831 (char *) "self",(char *) "flags", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7837 arg2
= (int) SWIG_AsInt(obj1
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 (arg1
)->SetFlags(arg2
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 Py_INCREF(Py_None
); resultobj
= Py_None
;
7853 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7859 (char *) "self", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= SWIG_FromInt((int)result
);
7879 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7885 PyObject
* obj1
= 0 ;
7887 (char *) "self",(char *) "size", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 (arg1
)->SetSize((wxSize
const &)*arg2
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 Py_INCREF(Py_None
); resultobj
= Py_None
;
7911 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "self", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7932 resultptr
= new wxSize((wxSize
&) result
);
7933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7941 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7948 (char *) "self",(char *) "orient", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_FromInt((int)result
);
7996 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8003 (char *) "self",(char *) "align", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8009 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 Py_INCREF(Py_None
); resultobj
= Py_None
;
8025 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
;
8027 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8029 PyObject
* obj0
= 0 ;
8031 (char *) "self", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_FromInt((int)result
);
8051 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8054 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8056 return Py_BuildValue((char *)"");
8058 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 int arg1
= (int) 0 ;
8061 wxCalculateLayoutEvent
*result
;
8062 PyObject
* obj0
= 0 ;
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8069 arg1
= (int) SWIG_AsInt(obj0
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8086 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8090 PyObject
* obj0
= 0 ;
8091 PyObject
* obj1
= 0 ;
8093 (char *) "self",(char *) "flags", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8099 arg2
= (int) SWIG_AsInt(obj1
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 (arg1
)->SetFlags(arg2
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 Py_INCREF(Py_None
); resultobj
= Py_None
;
8115 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
;
8117 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8119 PyObject
* obj0
= 0 ;
8121 (char *) "self", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= SWIG_FromInt((int)result
);
8141 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8149 (char *) "self",(char *) "rect", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8157 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 (arg1
)->SetRect((wxRect
const &)*arg2
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 Py_INCREF(Py_None
); resultobj
= Py_None
;
8173 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8177 PyObject
* obj0
= 0 ;
8179 (char *) "self", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8194 resultptr
= new wxRect((wxRect
&) result
);
8195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8203 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8206 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8208 return Py_BuildValue((char *)"");
8210 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxWindow
*arg1
= (wxWindow
*) 0 ;
8214 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8215 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8216 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8217 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8218 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8219 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8220 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8221 wxSashLayoutWindow
*result
;
8224 bool temp6
= False
;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8228 PyObject
* obj3
= 0 ;
8229 PyObject
* obj4
= 0 ;
8230 PyObject
* obj5
= 0 ;
8232 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 arg2
= (int) SWIG_AsInt(obj1
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8249 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8253 arg5
= (long) SWIG_AsLong(obj4
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8258 arg6
= wxString_in_helper(obj5
);
8259 if (arg6
== NULL
) SWIG_fail
;
8264 if (!wxPyCheckForApp()) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8286 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxSashLayoutWindow
*result
;
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8295 if (!wxPyCheckForApp()) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8309 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8312 wxWindow
*arg2
= (wxWindow
*) 0 ;
8314 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8315 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8316 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8317 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8318 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8319 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8320 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8324 bool temp7
= False
;
8325 PyObject
* obj0
= 0 ;
8326 PyObject
* obj1
= 0 ;
8327 PyObject
* obj2
= 0 ;
8328 PyObject
* obj3
= 0 ;
8329 PyObject
* obj4
= 0 ;
8330 PyObject
* obj5
= 0 ;
8331 PyObject
* obj6
= 0 ;
8333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8341 arg3
= (int) SWIG_AsInt(obj2
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8346 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8352 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8356 arg6
= (long) SWIG_AsLong(obj5
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8361 arg7
= wxString_in_helper(obj6
);
8362 if (arg7
== NULL
) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8390 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "self", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (int)(arg1
)->GetAlignment();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_FromInt((int)result
);
8416 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8422 (char *) "self", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (int)(arg1
)->GetOrientation();
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= SWIG_FromInt((int)result
);
8442 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8447 PyObject
* obj1
= 0 ;
8449 (char *) "self",(char *) "alignment", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8455 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 Py_INCREF(Py_None
); resultobj
= Py_None
;
8471 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8479 (char *) "self",(char *) "size", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8487 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 Py_INCREF(Py_None
); resultobj
= Py_None
;
8503 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8510 (char *) "self",(char *) "orientation", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8516 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8532 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8535 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8537 return Py_BuildValue((char *)"");
8539 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxLayoutAlgorithm
*result
;
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8561 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8566 (char *) "self", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8589 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8590 wxRect
*arg3
= (wxRect
*) NULL
;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8594 PyObject
* obj2
= 0 ;
8596 (char *) "self",(char *) "frame",(char *) "rect", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8624 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8627 wxFrame
*arg2
= (wxFrame
*) 0 ;
8628 wxWindow
*arg3
= (wxWindow
*) NULL
;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 PyObject
* obj2
= 0 ;
8634 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8662 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8665 wxWindow
*arg2
= (wxWindow
*) 0 ;
8666 wxWindow
*arg3
= (wxWindow
*) NULL
;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 PyObject
* obj2
= 0 ;
8672 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8681 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8700 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8703 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8705 return Py_BuildValue((char *)"");
8707 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxWindow
*arg1
= (wxWindow
*) 0 ;
8710 int arg2
= (int) wxBORDER_NONE
;
8711 wxPopupWindow
*result
;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8715 (char *) "parent",(char *) "flags", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8722 arg2
= (int) SWIG_AsInt(obj1
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8739 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxPopupWindow
*result
;
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (wxPopupWindow
*)new wxPopupWindow();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8761 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8764 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8766 return Py_BuildValue((char *)"");
8768 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxWindow
*arg1
= (wxWindow
*) 0 ;
8771 int arg2
= (int) wxBORDER_NONE
;
8772 wxPyPopupTransientWindow
*result
;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8776 (char *) "parent",(char *) "style", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8783 arg2
= (int) SWIG_AsInt(obj1
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8800 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxPyPopupTransientWindow
*result
;
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8822 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8825 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8827 return Py_BuildValue((char *)"");
8829 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxWindow
*arg1
= (wxWindow
*) 0 ;
8832 wxString
*arg2
= 0 ;
8833 int arg3
= (int) 100 ;
8834 wxRect
*arg4
= (wxRect
*) NULL
;
8835 wxTipWindow
*result
;
8836 bool temp2
= False
;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 PyObject
* obj2
= 0 ;
8840 PyObject
* obj3
= 0 ;
8842 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 arg2
= wxString_in_helper(obj1
);
8850 if (arg2
== NULL
) SWIG_fail
;
8854 arg3
= (int) SWIG_AsInt(obj2
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8858 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8862 if (!wxPyCheckForApp()) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8884 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8892 (char *) "self",(char *) "rectBound", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 Py_INCREF(Py_None
); resultobj
= Py_None
;
8941 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8944 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8946 return Py_BuildValue((char *)"");
8948 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxWindow
*arg1
= (wxWindow
*) 0 ;
8951 int arg2
= (int) wxID_ANY
;
8952 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8953 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8954 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8955 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8956 long arg5
= (long) 0 ;
8957 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8958 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8959 wxPyVScrolledWindow
*result
;
8962 bool temp6
= False
;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8966 PyObject
* obj3
= 0 ;
8967 PyObject
* obj4
= 0 ;
8968 PyObject
* obj5
= 0 ;
8970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 arg2
= (int) SWIG_AsInt(obj1
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8989 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8993 arg5
= (long) SWIG_AsLong(obj4
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8998 arg6
= wxString_in_helper(obj5
);
8999 if (arg6
== NULL
) SWIG_fail
;
9004 if (!wxPyCheckForApp()) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9026 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxPyVScrolledWindow
*result
;
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9035 if (!wxPyCheckForApp()) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9049 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9052 PyObject
*arg2
= (PyObject
*) 0 ;
9053 PyObject
*arg3
= (PyObject
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9058 (char *) "self",(char *) "self",(char *) "_class", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9083 wxWindow
*arg2
= (wxWindow
*) 0 ;
9084 int arg3
= (int) wxID_ANY
;
9085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9089 long arg6
= (long) 0 ;
9090 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9091 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9095 bool temp7
= False
;
9096 PyObject
* obj0
= 0 ;
9097 PyObject
* obj1
= 0 ;
9098 PyObject
* obj2
= 0 ;
9099 PyObject
* obj3
= 0 ;
9100 PyObject
* obj4
= 0 ;
9101 PyObject
* obj5
= 0 ;
9102 PyObject
* obj6
= 0 ;
9104 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9113 arg3
= (int) SWIG_AsInt(obj2
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9129 arg6
= (long) SWIG_AsLong(obj5
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9134 arg7
= wxString_in_helper(obj6
);
9135 if (arg7
== NULL
) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9163 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9170 (char *) "self",(char *) "count", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9176 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 (arg1
)->SetLineCount(arg2
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 Py_INCREF(Py_None
); resultobj
= Py_None
;
9192 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9198 PyObject
* obj1
= 0 ;
9200 (char *) "self",(char *) "line", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9206 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9224 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9232 (char *) "self",(char *) "lines", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 arg2
= (int) SWIG_AsInt(obj1
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (bool)(arg1
)->ScrollLines(arg2
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9256 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9264 (char *) "self",(char *) "pages", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9270 arg2
= (int) SWIG_AsInt(obj1
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (bool)(arg1
)->ScrollPages(arg2
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9288 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9295 (char *) "self",(char *) "line", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9301 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 (arg1
)->RefreshLine(arg2
);
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 Py_INCREF(Py_None
); resultobj
= Py_None
;
9317 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 PyObject
* obj2
= 0 ;
9326 (char *) "self",(char *) "from",(char *) "to", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9332 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9334 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 (arg1
)->RefreshLines(arg2
,arg3
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 Py_INCREF(Py_None
); resultobj
= Py_None
;
9350 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9358 PyObject
* obj2
= 0 ;
9360 (char *) "self",(char *) "x",(char *) "y", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg2
= (int) SWIG_AsInt(obj1
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9368 arg3
= (int) SWIG_AsInt(obj2
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_FromInt((int)result
);
9384 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9393 (char *) "self",(char *) "pt", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_FromInt((int)result
);
9417 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 (arg1
)->RefreshAll();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 Py_INCREF(Py_None
); resultobj
= Py_None
;
9442 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9468 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9474 (char *) "self", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9494 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9520 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9528 (char *) "self",(char *) "line", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9534 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9552 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9555 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9557 return Py_BuildValue((char *)"");
9559 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9560 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9565 static PyObject
*_wrap_VListBoxNameStr_get() {
9570 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9572 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9579 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxWindow
*arg1
= (wxWindow
*) 0 ;
9582 int arg2
= (int) wxID_ANY
;
9583 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9584 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9585 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9586 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9587 long arg5
= (long) 0 ;
9588 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9589 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9590 wxPyVListBox
*result
;
9593 bool temp6
= False
;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 PyObject
* obj2
= 0 ;
9597 PyObject
* obj3
= 0 ;
9598 PyObject
* obj4
= 0 ;
9599 PyObject
* obj5
= 0 ;
9601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= (int) SWIG_AsInt(obj1
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9620 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9624 arg5
= (long) SWIG_AsLong(obj4
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9629 arg6
= wxString_in_helper(obj5
);
9630 if (arg6
== NULL
) SWIG_fail
;
9635 if (!wxPyCheckForApp()) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9657 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxPyVListBox
*result
;
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9666 if (!wxPyCheckForApp()) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (wxPyVListBox
*)new wxPyVListBox();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9680 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9683 PyObject
*arg2
= (PyObject
*) 0 ;
9684 PyObject
*arg3
= (PyObject
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 PyObject
* obj2
= 0 ;
9689 (char *) "self",(char *) "self",(char *) "_class", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 Py_INCREF(Py_None
); resultobj
= Py_None
;
9711 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9714 wxWindow
*arg2
= (wxWindow
*) 0 ;
9715 int arg3
= (int) wxID_ANY
;
9716 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9717 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9718 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9719 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9720 long arg6
= (long) 0 ;
9721 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9722 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9726 bool temp7
= False
;
9727 PyObject
* obj0
= 0 ;
9728 PyObject
* obj1
= 0 ;
9729 PyObject
* obj2
= 0 ;
9730 PyObject
* obj3
= 0 ;
9731 PyObject
* obj4
= 0 ;
9732 PyObject
* obj5
= 0 ;
9733 PyObject
* obj6
= 0 ;
9735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9744 arg3
= (int) SWIG_AsInt(obj2
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9760 arg6
= (long) SWIG_AsLong(obj5
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9765 arg7
= wxString_in_helper(obj6
);
9766 if (arg7
== NULL
) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9794 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9798 PyObject
* obj0
= 0 ;
9800 (char *) "self", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9820 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "self", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9848 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_FromInt((int)result
);
9874 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9880 PyObject
* obj1
= 0 ;
9882 (char *) "self",(char *) "item", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9906 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9914 (char *) "self",(char *) "item", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9920 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9938 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9944 (char *) "self", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9964 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9967 unsigned long *arg2
= 0 ;
9969 PyObject
* obj0
= 0 ;
9970 PyObject
* obj1
= 0 ;
9972 (char *) "self",(char *) "cookie", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9982 PyErr_SetString(PyExc_TypeError
,"null reference");
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_FromInt((int)result
);
9999 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10002 unsigned long *arg2
= 0 ;
10004 PyObject
* obj0
= 0 ;
10005 PyObject
* obj1
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self",(char *) "cookie", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10016 if (arg2
== NULL
) {
10017 PyErr_SetString(PyExc_TypeError
,"null reference");
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= SWIG_FromInt((int)result
);
10034 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10038 PyObject
* obj0
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10054 wxPoint
* resultptr
;
10055 resultptr
= new wxPoint((wxPoint
&) result
);
10056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10064 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10080 result
= (wxColour
*) &_result_ref
;
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10093 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10097 PyObject
* obj0
= 0 ;
10098 PyObject
* obj1
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self",(char *) "count", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10106 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 (arg1
)->SetItemCount(arg2
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 Py_INCREF(Py_None
); resultobj
= Py_None
;
10122 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 Py_INCREF(Py_None
); resultobj
= Py_None
;
10147 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self",(char *) "selection", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10160 arg2
= (int) SWIG_AsInt(obj1
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 (arg1
)->SetSelection(arg2
);
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 Py_INCREF(Py_None
); resultobj
= Py_None
;
10176 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10180 bool arg3
= (bool) True
;
10182 PyObject
* obj0
= 0 ;
10183 PyObject
* obj1
= 0 ;
10184 PyObject
* obj2
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "item",(char *) "select", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10192 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 arg3
= (bool) SWIG_AsBool(obj2
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10214 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10222 PyObject
* obj2
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self",(char *) "from",(char *) "to", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10232 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10250 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 PyObject
* obj1
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self",(char *) "item", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10263 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 (arg1
)->Toggle(arg2
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 Py_INCREF(Py_None
); resultobj
= Py_None
;
10279 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (bool)(arg1
)->SelectAll();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10307 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (bool)(arg1
)->DeselectAll();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10335 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10338 wxPoint
*arg2
= 0 ;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "self",(char *) "pt", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 Py_INCREF(Py_None
); resultobj
= Py_None
;
10367 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 PyObject
* obj2
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self",(char *) "x",(char *) "y", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10382 arg2
= (int) SWIG_AsInt(obj1
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10384 arg3
= (int) SWIG_AsInt(obj2
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 (arg1
)->SetMargins(arg2
,arg3
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10403 wxColour
*arg2
= 0 ;
10405 PyObject
* obj0
= 0 ;
10406 PyObject
* obj1
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self",(char *) "col", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 Py_INCREF(Py_None
); resultobj
= Py_None
;
10432 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10435 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10437 return Py_BuildValue((char *)"");
10439 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxWindow
*arg1
= (wxWindow
*) 0 ;
10442 int arg2
= (int) wxID_ANY
;
10443 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10444 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10445 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10446 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10447 long arg5
= (long) 0 ;
10448 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10449 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10450 wxPyHtmlListBox
*result
;
10453 bool temp6
= False
;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 PyObject
* obj2
= 0 ;
10457 PyObject
* obj3
= 0 ;
10458 PyObject
* obj4
= 0 ;
10459 PyObject
* obj5
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10468 arg2
= (int) SWIG_AsInt(obj1
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10474 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10480 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10484 arg5
= (long) SWIG_AsLong(obj4
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10489 arg6
= wxString_in_helper(obj5
);
10490 if (arg6
== NULL
) SWIG_fail
;
10495 if (!wxPyCheckForApp()) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10517 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxPyHtmlListBox
*result
;
10520 char *kwnames
[] = {
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10526 if (!wxPyCheckForApp()) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10540 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10543 PyObject
*arg2
= (PyObject
*) 0 ;
10544 PyObject
*arg3
= (PyObject
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 PyObject
* obj2
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "self",(char *) "_class", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10574 wxWindow
*arg2
= (wxWindow
*) 0 ;
10575 int arg3
= (int) wxID_ANY
;
10576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10580 long arg6
= (long) 0 ;
10581 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10582 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10586 bool temp7
= False
;
10587 PyObject
* obj0
= 0 ;
10588 PyObject
* obj1
= 0 ;
10589 PyObject
* obj2
= 0 ;
10590 PyObject
* obj3
= 0 ;
10591 PyObject
* obj4
= 0 ;
10592 PyObject
* obj5
= 0 ;
10593 PyObject
* obj6
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 arg3
= (int) SWIG_AsInt(obj2
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10616 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10620 arg6
= (long) SWIG_AsLong(obj5
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10625 arg7
= wxString_in_helper(obj6
);
10626 if (arg7
== NULL
) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10654 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 (arg1
)->RefreshAll();
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 Py_INCREF(Py_None
); resultobj
= Py_None
;
10679 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "count", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 (arg1
)->SetItemCount(arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 Py_INCREF(Py_None
); resultobj
= Py_None
;
10708 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10711 wxFileSystem
*result
;
10712 PyObject
* obj0
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10724 result
= (wxFileSystem
*) &_result_ref
;
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10737 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10740 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10742 return Py_BuildValue((char *)"");
10744 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxTaskBarIcon
*result
;
10747 char *kwnames
[] = {
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10753 if (!wxPyCheckForApp()) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10767 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 Py_INCREF(Py_None
); resultobj
= Py_None
;
10792 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 wxTaskBarIcon_Destroy(arg1
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10820 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10822 return Py_BuildValue((char *)"");
10824 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10827 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10828 wxTaskBarIconEvent
*result
;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "evtType",(char *) "tbIcon", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10836 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10854 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10857 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10859 return Py_BuildValue((char *)"");
10861 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10862 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10867 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10872 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10874 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10881 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10882 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10887 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10892 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10894 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10901 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10902 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10907 static PyObject
*_wrap_DirDialogNameStr_get() {
10912 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10914 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10921 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10922 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10927 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10932 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10934 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10941 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10942 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10947 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10952 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10954 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10961 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10962 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10967 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10972 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10974 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10981 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxColourData
*result
;
10984 char *kwnames
[] = {
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (wxColourData
*)new wxColourData();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11003 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxColourData
*arg1
= (wxColourData
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 Py_INCREF(Py_None
); resultobj
= Py_None
;
11028 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxColourData
*arg1
= (wxColourData
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (bool)(arg1
)->GetChooseFull();
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxColourData
*arg1
= (wxColourData
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (arg1
)->GetColour();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 wxColour
* resultptr
;
11077 resultptr
= new wxColour((wxColour
&) result
);
11078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11086 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxColourData
*arg1
= (wxColourData
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self",(char *) "i", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11100 arg2
= (int) SWIG_AsInt(obj1
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (arg1
)->GetCustomColour(arg2
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11110 wxColour
* resultptr
;
11111 resultptr
= new wxColour((wxColour
&) result
);
11112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11120 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxColourData
*arg1
= (wxColourData
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self",(char *) "flag", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11133 arg2
= (int) SWIG_AsInt(obj1
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 (arg1
)->SetChooseFull(arg2
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 Py_INCREF(Py_None
); resultobj
= Py_None
;
11149 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxColourData
*arg1
= (wxColourData
*) 0 ;
11152 wxColour
*arg2
= 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "colour", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->SetColour((wxColour
const &)*arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxColourData
*arg1
= (wxColourData
*) 0 ;
11185 wxColour
*arg3
= 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self",(char *) "i",(char *) "colour", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11197 arg2
= (int) SWIG_AsInt(obj1
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11217 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11220 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11222 return Py_BuildValue((char *)"");
11224 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxWindow
*arg1
= (wxWindow
*) 0 ;
11227 wxColourData
*arg2
= (wxColourData
*) NULL
;
11228 wxColourDialog
*result
;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "parent",(char *) "data", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11243 if (!wxPyCheckForApp()) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11257 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11260 wxColourData
*result
;
11261 PyObject
* obj0
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11273 result
= (wxColourData
*) &_result_ref
;
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11286 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11289 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11291 return Py_BuildValue((char *)"");
11293 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxWindow
*arg1
= (wxWindow
*) 0 ;
11296 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11297 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11298 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11299 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11300 long arg4
= (long) 0 ;
11301 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11302 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11303 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11304 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11305 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11306 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11307 wxDirDialog
*result
;
11308 bool temp2
= False
;
11309 bool temp3
= False
;
11312 bool temp7
= False
;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 PyObject
* obj2
= 0 ;
11316 PyObject
* obj3
= 0 ;
11317 PyObject
* obj4
= 0 ;
11318 PyObject
* obj5
= 0 ;
11319 PyObject
* obj6
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11329 arg2
= wxString_in_helper(obj1
);
11330 if (arg2
== NULL
) SWIG_fail
;
11336 arg3
= wxString_in_helper(obj2
);
11337 if (arg3
== NULL
) SWIG_fail
;
11342 arg4
= (long) SWIG_AsLong(obj3
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11348 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11354 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11359 arg7
= wxString_in_helper(obj6
);
11360 if (arg7
== NULL
) SWIG_fail
;
11365 if (!wxPyCheckForApp()) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11403 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (arg1
)->GetPath();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11435 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (arg1
)->GetMessage();
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11467 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (long)(arg1
)->GetStyle();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_FromLong((long)result
);
11493 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11496 wxString
*arg2
= 0 ;
11497 bool temp2
= False
;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "message", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 arg2
= wxString_in_helper(obj1
);
11509 if (arg2
== NULL
) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 (arg1
)->SetMessage((wxString
const &)*arg2
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 Py_INCREF(Py_None
); resultobj
= Py_None
;
11534 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
;
11536 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11537 wxString
*arg2
= 0 ;
11538 bool temp2
= False
;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 char *kwnames
[] = {
11542 (char *) "self",(char *) "path", NULL
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11549 arg2
= wxString_in_helper(obj1
);
11550 if (arg2
== NULL
) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->SetPath((wxString
const &)*arg2
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 Py_INCREF(Py_None
); resultobj
= Py_None
;
11575 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11578 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11580 return Py_BuildValue((char *)"");
11582 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxWindow
*arg1
= (wxWindow
*) 0 ;
11585 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11586 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11589 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11590 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11591 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11592 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11593 long arg6
= (long) 0 ;
11594 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11595 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11596 wxFileDialog
*result
;
11597 bool temp2
= False
;
11598 bool temp3
= False
;
11599 bool temp4
= False
;
11600 bool temp5
= False
;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 PyObject
* obj2
= 0 ;
11605 PyObject
* obj3
= 0 ;
11606 PyObject
* obj4
= 0 ;
11607 PyObject
* obj5
= 0 ;
11608 PyObject
* obj6
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11618 arg2
= wxString_in_helper(obj1
);
11619 if (arg2
== NULL
) SWIG_fail
;
11625 arg3
= wxString_in_helper(obj2
);
11626 if (arg3
== NULL
) SWIG_fail
;
11632 arg4
= wxString_in_helper(obj3
);
11633 if (arg4
== NULL
) SWIG_fail
;
11639 arg5
= wxString_in_helper(obj4
);
11640 if (arg5
== NULL
) SWIG_fail
;
11645 arg6
= (long) SWIG_AsLong(obj5
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11651 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11655 if (!wxPyCheckForApp()) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11701 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11704 wxString
*arg2
= 0 ;
11705 bool temp2
= False
;
11706 PyObject
* obj0
= 0 ;
11707 PyObject
* obj1
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self",(char *) "message", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11716 arg2
= wxString_in_helper(obj1
);
11717 if (arg2
== NULL
) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 (arg1
)->SetMessage((wxString
const &)*arg2
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11745 wxString
*arg2
= 0 ;
11746 bool temp2
= False
;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self",(char *) "path", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 arg2
= wxString_in_helper(obj1
);
11758 if (arg2
== NULL
) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 (arg1
)->SetPath((wxString
const &)*arg2
);
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 Py_INCREF(Py_None
); resultobj
= Py_None
;
11783 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11786 wxString
*arg2
= 0 ;
11787 bool temp2
= False
;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "self",(char *) "dir", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11798 arg2
= wxString_in_helper(obj1
);
11799 if (arg2
== NULL
) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11827 wxString
*arg2
= 0 ;
11828 bool temp2
= False
;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 char *kwnames
[] = {
11832 (char *) "self",(char *) "name", NULL
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11839 arg2
= wxString_in_helper(obj1
);
11840 if (arg2
== NULL
) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetFilename((wxString
const &)*arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11865 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11868 wxString
*arg2
= 0 ;
11869 bool temp2
= False
;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self",(char *) "wildCard", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11880 arg2
= wxString_in_helper(obj1
);
11881 if (arg2
== NULL
) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self",(char *) "style", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 arg2
= (long) SWIG_AsLong(obj1
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 (arg1
)->SetStyle(arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "self",(char *) "filterIndex", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11948 arg2
= (int) SWIG_AsInt(obj1
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetFilterIndex(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 Py_INCREF(Py_None
); resultobj
= Py_None
;
11964 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 char *kwnames
[] = {
11970 (char *) "self", NULL
11973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11996 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12000 PyObject
* obj0
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12028 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12032 PyObject
* obj0
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12060 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12064 PyObject
* obj0
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12092 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12124 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12128 PyObject
* obj0
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= SWIG_FromLong((long)result
);
12150 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_FromInt((int)result
);
12176 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12180 PyObject
* obj0
= 0 ;
12181 char *kwnames
[] = {
12182 (char *) "self", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= result
;
12202 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= result
;
12228 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12231 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12233 return Py_BuildValue((char *)"");
12235 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxWindow
*arg1
= (wxWindow
*) 0 ;
12238 wxString
*arg2
= 0 ;
12239 wxString
*arg3
= 0 ;
12240 int arg4
= (int) 0 ;
12241 wxString
*arg5
= (wxString
*) 0 ;
12242 long arg6
= (long) wxCHOICEDLG_STYLE
;
12243 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12244 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12245 wxMultiChoiceDialog
*result
;
12246 bool temp2
= False
;
12247 bool temp3
= False
;
12249 PyObject
* obj0
= 0 ;
12250 PyObject
* obj1
= 0 ;
12251 PyObject
* obj2
= 0 ;
12252 PyObject
* obj3
= 0 ;
12253 PyObject
* obj4
= 0 ;
12254 PyObject
* obj5
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12263 arg2
= wxString_in_helper(obj1
);
12264 if (arg2
== NULL
) SWIG_fail
;
12268 arg3
= wxString_in_helper(obj2
);
12269 if (arg3
== NULL
) SWIG_fail
;
12274 arg4
= PyList_Size(obj3
);
12275 arg5
= wxString_LIST_helper(obj3
);
12276 if (arg5
== NULL
) SWIG_fail
;
12280 arg6
= (long) SWIG_AsLong(obj4
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12286 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12290 if (!wxPyCheckForApp()) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12307 if (arg5
) delete [] arg5
;
12320 if (arg5
) delete [] arg5
;
12326 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12329 wxArrayInt
*arg2
= 0 ;
12330 bool temp2
= False
;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "selections", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 if (! PySequence_Check(obj1
)) {
12342 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12345 arg2
= new wxArrayInt
;
12347 int i
, len
=PySequence_Length(obj1
);
12348 for (i
=0; i
<len
; i
++) {
12349 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12350 PyObject
* number
= PyNumber_Int(item
);
12351 arg2
->Add(PyInt_AS_LONG(number
));
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 Py_INCREF(Py_None
); resultobj
= Py_None
;
12365 if (temp2
) delete arg2
;
12370 if (temp2
) delete arg2
;
12376 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= result
;
12402 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12405 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12407 return Py_BuildValue((char *)"");
12409 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxWindow
*arg1
= (wxWindow
*) 0 ;
12412 wxString
*arg2
= 0 ;
12413 wxString
*arg3
= 0 ;
12415 wxString
*arg5
= (wxString
*) 0 ;
12416 long arg6
= (long) wxCHOICEDLG_STYLE
;
12417 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12418 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12419 wxSingleChoiceDialog
*result
;
12420 bool temp2
= False
;
12421 bool temp3
= False
;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 PyObject
* obj2
= 0 ;
12426 PyObject
* obj3
= 0 ;
12427 PyObject
* obj4
= 0 ;
12428 PyObject
* obj5
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12437 arg2
= wxString_in_helper(obj1
);
12438 if (arg2
== NULL
) SWIG_fail
;
12442 arg3
= wxString_in_helper(obj2
);
12443 if (arg3
== NULL
) SWIG_fail
;
12447 arg4
= PyList_Size(obj3
);
12448 arg5
= wxString_LIST_helper(obj3
);
12449 if (arg5
== NULL
) SWIG_fail
;
12452 arg6
= (long) SWIG_AsLong(obj4
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12458 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12462 if (!wxPyCheckForApp()) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12479 if (arg5
) delete [] arg5
;
12492 if (arg5
) delete [] arg5
;
12498 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12502 PyObject
* obj0
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (int)(arg1
)->GetSelection();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_FromInt((int)result
);
12524 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "self", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= (arg1
)->GetStringSelection();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12556 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self",(char *) "sel", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12569 arg2
= (int) SWIG_AsInt(obj1
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 (arg1
)->SetSelection(arg2
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 Py_INCREF(Py_None
); resultobj
= Py_None
;
12585 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12588 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12590 return Py_BuildValue((char *)"");
12592 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxWindow
*arg1
= (wxWindow
*) 0 ;
12595 wxString
*arg2
= 0 ;
12596 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12597 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12598 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12599 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12600 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12601 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12602 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12603 wxTextEntryDialog
*result
;
12604 bool temp2
= False
;
12605 bool temp3
= False
;
12606 bool temp4
= False
;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 PyObject
* obj3
= 0 ;
12612 PyObject
* obj4
= 0 ;
12613 PyObject
* obj5
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12622 arg2
= wxString_in_helper(obj1
);
12623 if (arg2
== NULL
) SWIG_fail
;
12628 arg3
= wxString_in_helper(obj2
);
12629 if (arg3
== NULL
) SWIG_fail
;
12635 arg4
= wxString_in_helper(obj3
);
12636 if (arg4
== NULL
) SWIG_fail
;
12641 arg5
= (long) SWIG_AsLong(obj4
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12647 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12651 if (!wxPyCheckForApp()) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12689 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= (arg1
)->GetValue();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12721 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12724 wxString
*arg2
= 0 ;
12725 bool temp2
= False
;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self",(char *) "value", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12736 arg2
= wxString_in_helper(obj1
);
12737 if (arg2
== NULL
) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 (arg1
)->SetValue((wxString
const &)*arg2
);
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 Py_INCREF(Py_None
); resultobj
= Py_None
;
12762 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12765 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12767 return Py_BuildValue((char *)"");
12769 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxFontData
*result
;
12772 char *kwnames
[] = {
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (wxFontData
*)new wxFontData();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12791 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxFontData
*arg1
= (wxFontData
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 Py_INCREF(Py_None
); resultobj
= Py_None
;
12816 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxFontData
*arg1
= (wxFontData
*) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self",(char *) "enable", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12829 arg2
= (bool) SWIG_AsBool(obj1
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 (arg1
)->EnableEffects(arg2
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 Py_INCREF(Py_None
); resultobj
= Py_None
;
12845 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxFontData
*arg1
= (wxFontData
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "self", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= (bool)(arg1
)->GetAllowSymbols();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12873 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxFontData
*arg1
= (wxFontData
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (arg1
)->GetColour();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 wxColour
* resultptr
;
12894 resultptr
= new wxColour((wxColour
&) result
);
12895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12903 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxFontData
*arg1
= (wxFontData
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 result
= (arg1
)->GetChosenFont();
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12923 wxFont
* resultptr
;
12924 resultptr
= new wxFont((wxFont
&) result
);
12925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12933 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxFontData
*arg1
= (wxFontData
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (bool)(arg1
)->GetEnableEffects();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12961 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxFontData
*arg1
= (wxFontData
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (arg1
)->GetInitialFont();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 wxFont
* resultptr
;
12982 resultptr
= new wxFont((wxFont
&) result
);
12983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12991 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxFontData
*arg1
= (wxFontData
*) 0 ;
12995 PyObject
* obj0
= 0 ;
12996 char *kwnames
[] = {
12997 (char *) "self", NULL
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (bool)(arg1
)->GetShowHelp();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13019 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxFontData
*arg1
= (wxFontData
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "allowSymbols", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13032 arg2
= (bool) SWIG_AsBool(obj1
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 (arg1
)->SetAllowSymbols(arg2
);
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 Py_INCREF(Py_None
); resultobj
= Py_None
;
13048 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxFontData
*arg1
= (wxFontData
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self",(char *) "font", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13064 if (arg2
== NULL
) {
13065 PyErr_SetString(PyExc_TypeError
,"null reference");
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13082 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxFontData
*arg1
= (wxFontData
*) 0 ;
13085 wxColour
*arg2
= 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "colour", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->SetColour((wxColour
const &)*arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 Py_INCREF(Py_None
); resultobj
= Py_None
;
13114 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxFontData
*arg1
= (wxFontData
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "font", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13130 if (arg2
== NULL
) {
13131 PyErr_SetString(PyExc_TypeError
,"null reference");
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxFontData
*arg1
= (wxFontData
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 PyObject
* obj2
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "min",(char *) "max", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13163 arg2
= (int) SWIG_AsInt(obj1
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13165 arg3
= (int) SWIG_AsInt(obj2
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->SetRange(arg2
,arg3
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxFontData
*arg1
= (wxFontData
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self",(char *) "showHelp", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 arg2
= (bool) SWIG_AsBool(obj1
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 (arg1
)->SetShowHelp(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 Py_INCREF(Py_None
); resultobj
= Py_None
;
13210 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13213 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13215 return Py_BuildValue((char *)"");
13217 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxWindow
*arg1
= (wxWindow
*) 0 ;
13220 wxFontData
*arg2
= 0 ;
13221 wxFontDialog
*result
;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "parent",(char *) "data", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13234 if (arg2
== NULL
) {
13235 PyErr_SetString(PyExc_TypeError
,"null reference");
13239 if (!wxPyCheckForApp()) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13253 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13256 wxFontData
*result
;
13257 PyObject
* obj0
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13269 result
= (wxFontData
*) &_result_ref
;
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13282 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13285 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13287 return Py_BuildValue((char *)"");
13289 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxWindow
*arg1
= (wxWindow
*) 0 ;
13292 wxString
*arg2
= 0 ;
13293 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13294 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13295 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13296 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13297 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13298 wxMessageDialog
*result
;
13299 bool temp2
= False
;
13300 bool temp3
= False
;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 PyObject
* obj2
= 0 ;
13305 PyObject
* obj3
= 0 ;
13306 PyObject
* obj4
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 arg2
= wxString_in_helper(obj1
);
13316 if (arg2
== NULL
) SWIG_fail
;
13321 arg3
= wxString_in_helper(obj2
);
13322 if (arg3
== NULL
) SWIG_fail
;
13327 arg4
= (long) SWIG_AsLong(obj3
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13333 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13337 if (!wxPyCheckForApp()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13367 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13370 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13372 return Py_BuildValue((char *)"");
13374 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxString
*arg1
= 0 ;
13377 wxString
*arg2
= 0 ;
13378 int arg3
= (int) 100 ;
13379 wxWindow
*arg4
= (wxWindow
*) NULL
;
13380 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13381 wxProgressDialog
*result
;
13382 bool temp1
= False
;
13383 bool temp2
= False
;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 PyObject
* obj2
= 0 ;
13387 PyObject
* obj3
= 0 ;
13388 PyObject
* obj4
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13395 arg1
= wxString_in_helper(obj0
);
13396 if (arg1
== NULL
) SWIG_fail
;
13400 arg2
= wxString_in_helper(obj1
);
13401 if (arg2
== NULL
) SWIG_fail
;
13405 arg3
= (int) SWIG_AsInt(obj2
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13409 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13413 arg5
= (int) SWIG_AsInt(obj4
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 if (!wxPyCheckForApp()) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13447 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13451 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13454 bool temp3
= False
;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 PyObject
* obj2
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13465 arg2
= (int) SWIG_AsInt(obj1
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13469 arg3
= wxString_in_helper(obj2
);
13470 if (arg3
== NULL
) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 Py_INCREF(Py_None
); resultobj
= Py_None
;
13523 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13526 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13528 return Py_BuildValue((char *)"");
13530 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13533 int arg2
= (int) 0 ;
13534 wxFindDialogEvent
*result
;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "commandType",(char *) "id", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13543 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 arg2
= (int) SWIG_AsInt(obj1
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13564 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (int)(arg1
)->GetFlags();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_FromInt((int)result
);
13590 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 wxString
const &_result_ref
= (arg1
)->GetFindString();
13606 result
= (wxString
*) &_result_ref
;
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13616 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13625 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13641 result
= (wxString
*) &_result_ref
;
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13651 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13660 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13663 wxFindReplaceDialog
*result
;
13664 PyObject
* obj0
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13686 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self",(char *) "flags", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13699 arg2
= (int) SWIG_AsInt(obj1
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 (arg1
)->SetFlags(arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 Py_INCREF(Py_None
); resultobj
= Py_None
;
13715 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13718 wxString
*arg2
= 0 ;
13719 bool temp2
= False
;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 char *kwnames
[] = {
13723 (char *) "self",(char *) "str", NULL
13726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13730 arg2
= wxString_in_helper(obj1
);
13731 if (arg2
== NULL
) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->SetFindString((wxString
const &)*arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13756 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13759 wxString
*arg2
= 0 ;
13760 bool temp2
= False
;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self",(char *) "str", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 arg2
= wxString_in_helper(obj1
);
13772 if (arg2
== NULL
) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 Py_INCREF(Py_None
); resultobj
= Py_None
;
13797 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13800 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13802 return Py_BuildValue((char *)"");
13804 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 int arg1
= (int) 0 ;
13807 wxFindReplaceData
*result
;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "flags", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13815 arg1
= (int) SWIG_AsInt(obj0
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13832 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 Py_INCREF(Py_None
); resultobj
= Py_None
;
13857 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 wxString
const &_result_ref
= (arg1
)->GetFindString();
13873 result
= (wxString
*) &_result_ref
;
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13883 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13892 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13908 result
= (wxString
*) &_result_ref
;
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13918 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13927 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (int)(arg1
)->GetFlags();
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_FromInt((int)result
);
13953 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13957 PyObject
* obj0
= 0 ;
13958 PyObject
* obj1
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self",(char *) "flags", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13966 arg2
= (int) SWIG_AsInt(obj1
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 (arg1
)->SetFlags(arg2
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 Py_INCREF(Py_None
); resultobj
= Py_None
;
13982 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13985 wxString
*arg2
= 0 ;
13986 bool temp2
= False
;
13987 PyObject
* obj0
= 0 ;
13988 PyObject
* obj1
= 0 ;
13989 char *kwnames
[] = {
13990 (char *) "self",(char *) "str", NULL
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13997 arg2
= wxString_in_helper(obj1
);
13998 if (arg2
== NULL
) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->SetFindString((wxString
const &)*arg2
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14023 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14026 wxString
*arg2
= 0 ;
14027 bool temp2
= False
;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self",(char *) "str", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 arg2
= wxString_in_helper(obj1
);
14039 if (arg2
== NULL
) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 Py_INCREF(Py_None
); resultobj
= Py_None
;
14064 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14067 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14069 return Py_BuildValue((char *)"");
14071 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxWindow
*arg1
= (wxWindow
*) 0 ;
14074 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14075 wxString
*arg3
= 0 ;
14076 int arg4
= (int) 0 ;
14077 wxFindReplaceDialog
*result
;
14078 bool temp3
= False
;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 PyObject
* obj2
= 0 ;
14082 PyObject
* obj3
= 0 ;
14083 char *kwnames
[] = {
14084 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14093 arg3
= wxString_in_helper(obj2
);
14094 if (arg3
== NULL
) SWIG_fail
;
14098 arg4
= (int) SWIG_AsInt(obj3
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 if (!wxPyCheckForApp()) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14124 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxFindReplaceDialog
*result
;
14127 char *kwnames
[] = {
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14133 if (!wxPyCheckForApp()) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14147 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14150 wxWindow
*arg2
= (wxWindow
*) 0 ;
14151 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14152 wxString
*arg4
= 0 ;
14153 int arg5
= (int) 0 ;
14155 bool temp4
= False
;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 PyObject
* obj2
= 0 ;
14159 PyObject
* obj3
= 0 ;
14160 PyObject
* obj4
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14170 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14173 arg4
= wxString_in_helper(obj3
);
14174 if (arg4
== NULL
) SWIG_fail
;
14178 arg5
= (int) SWIG_AsInt(obj4
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14205 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14208 wxFindReplaceData
*result
;
14209 PyObject
* obj0
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14231 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14234 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "data", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 (arg1
)->SetData(arg2
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 Py_INCREF(Py_None
); resultobj
= Py_None
;
14260 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14263 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14265 return Py_BuildValue((char *)"");
14267 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxWindow
*arg1
= (wxWindow
*) 0 ;
14271 wxString
*arg3
= 0 ;
14272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14276 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14277 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14278 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14279 wxMDIParentFrame
*result
;
14280 bool temp3
= False
;
14283 bool temp7
= False
;
14284 PyObject
* obj0
= 0 ;
14285 PyObject
* obj1
= 0 ;
14286 PyObject
* obj2
= 0 ;
14287 PyObject
* obj3
= 0 ;
14288 PyObject
* obj4
= 0 ;
14289 PyObject
* obj5
= 0 ;
14290 PyObject
* obj6
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14298 arg2
= (int const) SWIG_AsInt(obj1
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 arg3
= wxString_in_helper(obj2
);
14302 if (arg3
== NULL
) SWIG_fail
;
14308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14318 arg6
= (long) SWIG_AsLong(obj5
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14323 arg7
= wxString_in_helper(obj6
);
14324 if (arg7
== NULL
) SWIG_fail
;
14329 if (!wxPyCheckForApp()) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14359 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxMDIParentFrame
*result
;
14362 char *kwnames
[] = {
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14368 if (!wxPyCheckForApp()) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14382 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14385 wxWindow
*arg2
= (wxWindow
*) 0 ;
14387 wxString
*arg4
= 0 ;
14388 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14389 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14390 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14391 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14392 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14393 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14396 bool temp4
= False
;
14399 bool temp8
= False
;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 PyObject
* obj2
= 0 ;
14403 PyObject
* obj3
= 0 ;
14404 PyObject
* obj4
= 0 ;
14405 PyObject
* obj5
= 0 ;
14406 PyObject
* obj6
= 0 ;
14407 PyObject
* obj7
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14417 arg3
= (int const) SWIG_AsInt(obj2
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 arg4
= wxString_in_helper(obj3
);
14421 if (arg4
== NULL
) SWIG_fail
;
14427 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14433 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14437 arg7
= (long) SWIG_AsLong(obj6
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14442 arg8
= wxString_in_helper(obj7
);
14443 if (arg8
== NULL
) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14479 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->ActivateNext();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 (arg1
)->ActivatePrevious();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14529 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 (arg1
)->ArrangeIcons();
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 Py_INCREF(Py_None
); resultobj
= Py_None
;
14554 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 Py_INCREF(Py_None
); resultobj
= Py_None
;
14579 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14582 wxMDIChildFrame
*result
;
14583 PyObject
* obj0
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= wxPyMake_wxObject(result
);
14607 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14610 wxMDIClientWindow
*result
;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= wxPyMake_wxObject(result
);
14635 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (wxWindow
*)(arg1
)->GetToolBar();
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= wxPyMake_wxObject(result
);
14663 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 Py_INCREF(Py_None
); resultobj
= Py_None
;
14688 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14691 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14693 return Py_BuildValue((char *)"");
14695 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14699 wxString
*arg3
= 0 ;
14700 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14701 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14702 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14703 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14704 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14705 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14706 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14707 wxMDIChildFrame
*result
;
14708 bool temp3
= False
;
14711 bool temp7
= False
;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 PyObject
* obj2
= 0 ;
14715 PyObject
* obj3
= 0 ;
14716 PyObject
* obj4
= 0 ;
14717 PyObject
* obj5
= 0 ;
14718 PyObject
* obj6
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 arg2
= (int const) SWIG_AsInt(obj1
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 arg3
= wxString_in_helper(obj2
);
14730 if (arg3
== NULL
) SWIG_fail
;
14736 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14742 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14746 arg6
= (long) SWIG_AsLong(obj5
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14751 arg7
= wxString_in_helper(obj6
);
14752 if (arg7
== NULL
) SWIG_fail
;
14757 if (!wxPyCheckForApp()) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= wxPyMake_wxObject(result
);
14789 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxMDIChildFrame
*result
;
14792 char *kwnames
[] = {
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14798 if (!wxPyCheckForApp()) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= wxPyMake_wxObject(result
);
14814 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14817 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14819 wxString
*arg4
= 0 ;
14820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14824 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14825 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14828 bool temp4
= False
;
14831 bool temp8
= False
;
14832 PyObject
* obj0
= 0 ;
14833 PyObject
* obj1
= 0 ;
14834 PyObject
* obj2
= 0 ;
14835 PyObject
* obj3
= 0 ;
14836 PyObject
* obj4
= 0 ;
14837 PyObject
* obj5
= 0 ;
14838 PyObject
* obj6
= 0 ;
14839 PyObject
* obj7
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 arg3
= (int const) SWIG_AsInt(obj2
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 arg4
= wxString_in_helper(obj3
);
14853 if (arg4
== NULL
) SWIG_fail
;
14859 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14865 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14869 arg7
= (long) SWIG_AsLong(obj6
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14874 arg8
= wxString_in_helper(obj7
);
14875 if (arg8
== NULL
) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14911 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 (arg1
)->Activate();
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 Py_INCREF(Py_None
); resultobj
= Py_None
;
14936 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self",(char *) "maximize", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 arg2
= (bool) SWIG_AsBool(obj1
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->Maximize(arg2
);
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 Py_INCREF(Py_None
); resultobj
= Py_None
;
14965 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 Py_INCREF(Py_None
); resultobj
= Py_None
;
14990 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14993 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14995 return Py_BuildValue((char *)"");
14997 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15000 long arg2
= (long) 0 ;
15001 wxMDIClientWindow
*result
;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "parent",(char *) "style", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 arg2
= (long) SWIG_AsLong(obj1
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15016 if (!wxPyCheckForApp()) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= wxPyMake_wxObject(result
);
15032 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxMDIClientWindow
*result
;
15035 char *kwnames
[] = {
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15041 if (!wxPyCheckForApp()) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= wxPyMake_wxObject(result
);
15057 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15060 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15061 long arg3
= (long) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 PyObject
* obj2
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self",(char *) "parent",(char *) "style", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 arg3
= (long) SWIG_AsLong(obj2
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15095 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15098 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15100 return Py_BuildValue((char *)"");
15102 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxWindow
*arg1
= (wxWindow
*) 0 ;
15106 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15107 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15108 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15109 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15110 long arg5
= (long) 0 ;
15111 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15112 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15113 wxPyWindow
*result
;
15116 bool temp6
= False
;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 PyObject
* obj2
= 0 ;
15120 PyObject
* obj3
= 0 ;
15121 PyObject
* obj4
= 0 ;
15122 PyObject
* obj5
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 arg2
= (int const) SWIG_AsInt(obj1
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15141 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15145 arg5
= (long) SWIG_AsLong(obj4
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15150 arg6
= wxString_in_helper(obj5
);
15151 if (arg6
== NULL
) SWIG_fail
;
15156 if (!wxPyCheckForApp()) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15178 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxPyWindow
*result
;
15181 char *kwnames
[] = {
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15187 if (!wxPyCheckForApp()) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (wxPyWindow
*)new wxPyWindow();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15201 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15204 PyObject
*arg2
= (PyObject
*) 0 ;
15205 PyObject
*arg3
= (PyObject
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 PyObject
* obj2
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self",(char *) "self",(char *) "_class", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 Py_INCREF(Py_None
); resultobj
= Py_None
;
15232 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self",(char *) "size", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15248 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 Py_INCREF(Py_None
); resultobj
= Py_None
;
15264 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 PyObject
* obj1
= 0 ;
15273 PyObject
* obj2
= 0 ;
15274 PyObject
* obj3
= 0 ;
15275 PyObject
* obj4
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15283 arg2
= (int) SWIG_AsInt(obj1
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15285 arg3
= (int) SWIG_AsInt(obj2
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15287 arg4
= (int) SWIG_AsInt(obj3
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15289 arg5
= (int) SWIG_AsInt(obj4
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15312 int arg6
= (int) wxSIZE_AUTO
;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 PyObject
* obj2
= 0 ;
15316 PyObject
* obj3
= 0 ;
15317 PyObject
* obj4
= 0 ;
15318 PyObject
* obj5
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15326 arg2
= (int) SWIG_AsInt(obj1
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15328 arg3
= (int) SWIG_AsInt(obj2
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15330 arg4
= (int) SWIG_AsInt(obj3
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15332 arg5
= (int) SWIG_AsInt(obj4
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 arg6
= (int) SWIG_AsInt(obj5
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 Py_INCREF(Py_None
); resultobj
= Py_None
;
15352 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 PyObject
* obj1
= 0 ;
15359 PyObject
* obj2
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self",(char *) "width",(char *) "height", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15367 arg2
= (int) SWIG_AsInt(obj1
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15369 arg3
= (int) SWIG_AsInt(obj2
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 Py_INCREF(Py_None
); resultobj
= Py_None
;
15385 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 PyObject
* obj2
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self",(char *) "x",(char *) "y", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15400 arg2
= (int) SWIG_AsInt(obj1
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15402 arg3
= (int) SWIG_AsInt(obj2
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 Py_INCREF(Py_None
); resultobj
= Py_None
;
15418 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15421 int *arg2
= (int *) 0 ;
15422 int *arg3
= (int *) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 Py_INCREF(Py_None
); resultobj
= Py_None
;
15444 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15445 resultobj
= t_output_helper(resultobj
,o
);
15448 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15449 resultobj
= t_output_helper(resultobj
,o
);
15457 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15460 int *arg2
= (int *) 0 ;
15461 int *arg3
= (int *) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15484 resultobj
= t_output_helper(resultobj
,o
);
15487 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15488 resultobj
= t_output_helper(resultobj
,o
);
15496 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15499 int *arg2
= (int *) 0 ;
15500 int *arg3
= (int *) 0 ;
15503 PyObject
* obj0
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15523 resultobj
= t_output_helper(resultobj
,o
);
15526 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15527 resultobj
= t_output_helper(resultobj
,o
);
15535 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 wxSize
* resultptr
;
15556 resultptr
= new wxSize((wxSize
&) result
);
15557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15565 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 char *kwnames
[] = {
15571 (char *) "self", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 wxSize
* resultptr
;
15586 resultptr
= new wxSize((wxSize
&) result
);
15587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15595 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15598 PyObject
* obj0
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 (arg1
)->base_InitDialog();
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 Py_INCREF(Py_None
); resultobj
= Py_None
;
15620 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (bool)(arg1
)->base_TransferDataToWindow();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15648 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15652 PyObject
* obj0
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15676 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (bool)(arg1
)->base_Validate();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15704 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15732 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15736 PyObject
* obj0
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15760 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 wxSize
* resultptr
;
15781 resultptr
= new wxSize((wxSize
&) result
);
15782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15790 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15793 wxWindow
*arg2
= (wxWindow
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self",(char *) "child", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 (arg1
)->base_AddChild(arg2
);
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15812 Py_INCREF(Py_None
); resultobj
= Py_None
;
15819 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15821 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15822 wxWindow
*arg2
= (wxWindow
*) 0 ;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self",(char *) "child", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 (arg1
)->base_RemoveChild(arg2
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 Py_INCREF(Py_None
); resultobj
= Py_None
;
15848 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15876 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15879 wxColour
*arg2
= 0 ;
15881 PyObject
* obj0
= 0 ;
15882 PyObject
* obj1
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self",(char *) "c", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15892 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 Py_INCREF(Py_None
); resultobj
= Py_None
;
15908 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15911 wxVisualAttributes result
;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (arg1
)->base_GetDefaultAttributes();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 wxVisualAttributes
* resultptr
;
15929 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15938 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15941 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15943 return Py_BuildValue((char *)"");
15945 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxWindow
*arg1
= (wxWindow
*) 0 ;
15949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15953 long arg5
= (long) 0 ;
15954 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15955 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15959 bool temp6
= False
;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 PyObject
* obj2
= 0 ;
15963 PyObject
* obj3
= 0 ;
15964 PyObject
* obj4
= 0 ;
15965 PyObject
* obj5
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 arg2
= (int const) SWIG_AsInt(obj1
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15988 arg5
= (long) SWIG_AsLong(obj4
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15993 arg6
= wxString_in_helper(obj5
);
15994 if (arg6
== NULL
) SWIG_fail
;
15999 if (!wxPyCheckForApp()) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16021 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16024 char *kwnames
[] = {
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16030 if (!wxPyCheckForApp()) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (wxPyPanel
*)new wxPyPanel();
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16044 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16047 PyObject
*arg2
= (PyObject
*) 0 ;
16048 PyObject
*arg3
= (PyObject
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 PyObject
* obj2
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "self",(char *) "_class", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16075 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "size", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 PyObject
* obj2
= 0 ;
16117 PyObject
* obj3
= 0 ;
16118 PyObject
* obj4
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 arg2
= (int) SWIG_AsInt(obj1
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16128 arg3
= (int) SWIG_AsInt(obj2
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16130 arg4
= (int) SWIG_AsInt(obj3
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16132 arg5
= (int) SWIG_AsInt(obj4
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 Py_INCREF(Py_None
); resultobj
= Py_None
;
16148 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16155 int arg6
= (int) wxSIZE_AUTO
;
16156 PyObject
* obj0
= 0 ;
16157 PyObject
* obj1
= 0 ;
16158 PyObject
* obj2
= 0 ;
16159 PyObject
* obj3
= 0 ;
16160 PyObject
* obj4
= 0 ;
16161 PyObject
* obj5
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16169 arg2
= (int) SWIG_AsInt(obj1
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16171 arg3
= (int) SWIG_AsInt(obj2
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16173 arg4
= (int) SWIG_AsInt(obj3
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16175 arg5
= (int) SWIG_AsInt(obj4
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 arg6
= (int) SWIG_AsInt(obj5
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 PyObject
* obj2
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self",(char *) "width",(char *) "height", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16210 arg2
= (int) SWIG_AsInt(obj1
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16212 arg3
= (int) SWIG_AsInt(obj2
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 Py_INCREF(Py_None
); resultobj
= Py_None
;
16228 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 PyObject
* obj2
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self",(char *) "x",(char *) "y", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16243 arg2
= (int) SWIG_AsInt(obj1
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16245 arg3
= (int) SWIG_AsInt(obj2
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 Py_INCREF(Py_None
); resultobj
= Py_None
;
16261 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16264 int *arg2
= (int *) 0 ;
16265 int *arg3
= (int *) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 Py_INCREF(Py_None
); resultobj
= Py_None
;
16287 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16288 resultobj
= t_output_helper(resultobj
,o
);
16291 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16292 resultobj
= t_output_helper(resultobj
,o
);
16300 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16303 int *arg2
= (int *) 0 ;
16304 int *arg3
= (int *) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16327 resultobj
= t_output_helper(resultobj
,o
);
16330 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16331 resultobj
= t_output_helper(resultobj
,o
);
16339 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16342 int *arg2
= (int *) 0 ;
16343 int *arg3
= (int *) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 Py_INCREF(Py_None
); resultobj
= Py_None
;
16365 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16366 resultobj
= t_output_helper(resultobj
,o
);
16369 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16370 resultobj
= t_output_helper(resultobj
,o
);
16378 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16382 PyObject
* obj0
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 wxSize
* resultptr
;
16399 resultptr
= new wxSize((wxSize
&) result
);
16400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16408 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16428 wxSize
* resultptr
;
16429 resultptr
= new wxSize((wxSize
&) result
);
16430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16438 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 (arg1
)->base_InitDialog();
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 Py_INCREF(Py_None
); resultobj
= Py_None
;
16463 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)(arg1
)->base_TransferDataToWindow();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16491 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16519 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (bool)(arg1
)->base_Validate();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16603 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 wxSize
* resultptr
;
16624 resultptr
= new wxSize((wxSize
&) result
);
16625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16633 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16636 wxWindow
*arg2
= (wxWindow
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 PyObject
* obj1
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self",(char *) "child", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 (arg1
)->base_AddChild(arg2
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 Py_INCREF(Py_None
); resultobj
= Py_None
;
16662 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16665 wxWindow
*arg2
= (wxWindow
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 PyObject
* obj1
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self",(char *) "child", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 (arg1
)->base_RemoveChild(arg2
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 Py_INCREF(Py_None
); resultobj
= Py_None
;
16691 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16695 PyObject
* obj0
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16719 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16722 wxColour
*arg2
= 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self",(char *) "c", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 Py_INCREF(Py_None
); resultobj
= Py_None
;
16751 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16754 wxVisualAttributes result
;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 result
= (arg1
)->base_GetDefaultAttributes();
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16771 wxVisualAttributes
* resultptr
;
16772 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16781 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16784 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16786 return Py_BuildValue((char *)"");
16788 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxWindow
*arg1
= (wxWindow
*) 0 ;
16792 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16793 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16794 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16795 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16796 long arg5
= (long) 0 ;
16797 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16798 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16799 wxPyScrolledWindow
*result
;
16802 bool temp6
= False
;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 PyObject
* obj2
= 0 ;
16806 PyObject
* obj3
= 0 ;
16807 PyObject
* obj4
= 0 ;
16808 PyObject
* obj5
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 arg2
= (int const) SWIG_AsInt(obj1
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16821 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16827 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16831 arg5
= (long) SWIG_AsLong(obj4
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16836 arg6
= wxString_in_helper(obj5
);
16837 if (arg6
== NULL
) SWIG_fail
;
16842 if (!wxPyCheckForApp()) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16864 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxPyScrolledWindow
*result
;
16867 char *kwnames
[] = {
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16873 if (!wxPyCheckForApp()) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16887 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16890 PyObject
*arg2
= (PyObject
*) 0 ;
16891 PyObject
*arg3
= (PyObject
*) 0 ;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 PyObject
* obj2
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self",(char *) "self",(char *) "_class", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16918 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self",(char *) "size", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16934 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 Py_INCREF(Py_None
); resultobj
= Py_None
;
16950 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 PyObject
* obj2
= 0 ;
16960 PyObject
* obj3
= 0 ;
16961 PyObject
* obj4
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16969 arg2
= (int) SWIG_AsInt(obj1
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16971 arg3
= (int) SWIG_AsInt(obj2
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16973 arg4
= (int) SWIG_AsInt(obj3
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16975 arg5
= (int) SWIG_AsInt(obj4
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 Py_INCREF(Py_None
); resultobj
= Py_None
;
16991 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16998 int arg6
= (int) wxSIZE_AUTO
;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 PyObject
* obj2
= 0 ;
17002 PyObject
* obj3
= 0 ;
17003 PyObject
* obj4
= 0 ;
17004 PyObject
* obj5
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17012 arg2
= (int) SWIG_AsInt(obj1
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17014 arg3
= (int) SWIG_AsInt(obj2
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17016 arg4
= (int) SWIG_AsInt(obj3
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17018 arg5
= (int) SWIG_AsInt(obj4
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 arg6
= (int) SWIG_AsInt(obj5
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 Py_INCREF(Py_None
); resultobj
= Py_None
;
17038 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 PyObject
* obj2
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self",(char *) "width",(char *) "height", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 arg2
= (int) SWIG_AsInt(obj1
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17055 arg3
= (int) SWIG_AsInt(obj2
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 Py_INCREF(Py_None
); resultobj
= Py_None
;
17071 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 PyObject
* obj2
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "x",(char *) "y", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17086 arg2
= (int) SWIG_AsInt(obj1
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17088 arg3
= (int) SWIG_AsInt(obj2
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 Py_INCREF(Py_None
); resultobj
= Py_None
;
17104 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17107 int *arg2
= (int *) 0 ;
17108 int *arg3
= (int *) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 Py_INCREF(Py_None
); resultobj
= Py_None
;
17130 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17131 resultobj
= t_output_helper(resultobj
,o
);
17134 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17135 resultobj
= t_output_helper(resultobj
,o
);
17143 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17146 int *arg2
= (int *) 0 ;
17147 int *arg3
= (int *) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17169 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17170 resultobj
= t_output_helper(resultobj
,o
);
17173 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17174 resultobj
= t_output_helper(resultobj
,o
);
17182 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17185 int *arg2
= (int *) 0 ;
17186 int *arg3
= (int *) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 Py_INCREF(Py_None
); resultobj
= Py_None
;
17208 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17209 resultobj
= t_output_helper(resultobj
,o
);
17212 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17213 resultobj
= t_output_helper(resultobj
,o
);
17221 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17241 wxSize
* resultptr
;
17242 resultptr
= new wxSize((wxSize
&) result
);
17243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17251 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 wxSize
* resultptr
;
17272 resultptr
= new wxSize((wxSize
&) result
);
17273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17281 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->base_InitDialog();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= (bool)(arg1
)->base_TransferDataToWindow();
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17334 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
;
17336 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17338 PyObject
* obj0
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17362 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17366 PyObject
* obj0
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= (bool)(arg1
)->base_Validate();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17390 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17418 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17446 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 wxSize
* resultptr
;
17467 resultptr
= new wxSize((wxSize
&) result
);
17468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17476 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17479 wxWindow
*arg2
= (wxWindow
*) 0 ;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self",(char *) "child", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 (arg1
)->base_AddChild(arg2
);
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 Py_INCREF(Py_None
); resultobj
= Py_None
;
17505 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17508 wxWindow
*arg2
= (wxWindow
*) 0 ;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self",(char *) "child", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 (arg1
)->base_RemoveChild(arg2
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 Py_INCREF(Py_None
); resultobj
= Py_None
;
17534 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17562 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17565 wxColour
*arg2
= 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self",(char *) "c", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 Py_INCREF(Py_None
); resultobj
= Py_None
;
17594 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17597 wxVisualAttributes result
;
17598 PyObject
* obj0
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (arg1
)->base_GetDefaultAttributes();
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 wxVisualAttributes
* resultptr
;
17615 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17624 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17627 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17629 return Py_BuildValue((char *)"");
17631 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17632 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17637 static PyObject
*_wrap_PrintoutTitleStr_get() {
17642 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17644 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17651 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17652 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17657 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17662 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17664 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17671 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxPrintData
*result
;
17674 char *kwnames
[] = {
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (wxPrintData
*)new wxPrintData();
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17693 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17696 PyObject
* obj0
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self", NULL
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 Py_INCREF(Py_None
); resultobj
= Py_None
;
17718 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (int)(arg1
)->GetNoCopies();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= SWIG_FromInt((int)result
);
17744 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 result
= (bool)(arg1
)->GetCollate();
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17772 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17776 PyObject
* obj0
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (int)(arg1
)->GetOrientation();
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_FromInt((int)result
);
17798 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (bool)(arg1
)->Ok();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17826 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17842 result
= (wxString
*) &_result_ref
;
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17861 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 result
= (bool)(arg1
)->GetColour();
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17889 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17890 PyObject
*resultobj
;
17891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 result
= (int)(arg1
)->GetDuplex();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_FromInt((int)result
);
17915 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (int)(arg1
)->GetPaperId();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= SWIG_FromInt((int)result
);
17941 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17957 result
= (wxSize
*) &_result_ref
;
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17970 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (int)(arg1
)->GetQuality();
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= SWIG_FromInt((int)result
);
17996 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "v", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 arg2
= (int) SWIG_AsInt(obj1
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->SetNoCopies(arg2
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 Py_INCREF(Py_None
); resultobj
= Py_None
;
18025 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 PyObject
* obj1
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "flag", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 arg2
= (bool) SWIG_AsBool(obj1
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 (arg1
)->SetCollate(arg2
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 Py_INCREF(Py_None
); resultobj
= Py_None
;
18054 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 PyObject
* obj1
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self",(char *) "orient", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18067 arg2
= (int) SWIG_AsInt(obj1
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->SetOrientation(arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 Py_INCREF(Py_None
); resultobj
= Py_None
;
18083 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18086 wxString
*arg2
= 0 ;
18087 bool temp2
= False
;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self",(char *) "name", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 arg2
= wxString_in_helper(obj1
);
18099 if (arg2
== NULL
) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 Py_INCREF(Py_None
); resultobj
= Py_None
;
18124 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "self",(char *) "colour", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18137 arg2
= (bool) SWIG_AsBool(obj1
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 (arg1
)->SetColour(arg2
);
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 Py_INCREF(Py_None
); resultobj
= Py_None
;
18153 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "duplex", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 Py_INCREF(Py_None
); resultobj
= Py_None
;
18182 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self",(char *) "sizeId", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 Py_INCREF(Py_None
); resultobj
= Py_None
;
18211 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self",(char *) "sz", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18227 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 Py_INCREF(Py_None
); resultobj
= Py_None
;
18243 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self",(char *) "quality", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18256 arg2
= (int) SWIG_AsInt(obj1
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 (arg1
)->SetQuality(arg2
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 Py_INCREF(Py_None
); resultobj
= Py_None
;
18272 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18288 result
= (wxString
*) &_result_ref
;
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18307 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18323 result
= (wxString
*) &_result_ref
;
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18342 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18358 result
= (wxString
*) &_result_ref
;
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18377 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 wxString
const &_result_ref
= (arg1
)->GetFilename();
18393 result
= (wxString
*) &_result_ref
;
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18401 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18403 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18412 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "self", NULL
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18428 result
= (wxString
*) &_result_ref
;
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18438 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18447 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18451 PyObject
* obj0
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (double)(arg1
)->GetPrinterScaleX();
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= SWIG_FromDouble((double)result
);
18473 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (double)(arg1
)->GetPrinterScaleY();
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 resultobj
= SWIG_FromDouble((double)result
);
18499 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 char *kwnames
[] = {
18505 (char *) "self", NULL
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (long)(arg1
)->GetPrinterTranslateX();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_FromLong((long)result
);
18525 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 result
= (long)(arg1
)->GetPrinterTranslateY();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_FromLong((long)result
);
18551 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (int)(arg1
)->GetPrintMode();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_FromInt((int)result
);
18577 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18580 wxString
*arg2
= 0 ;
18581 bool temp2
= False
;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "command", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 arg2
= wxString_in_helper(obj1
);
18593 if (arg2
== NULL
) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18621 wxString
*arg2
= 0 ;
18622 bool temp2
= False
;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj1
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self",(char *) "options", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 arg2
= wxString_in_helper(obj1
);
18634 if (arg2
== NULL
) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 Py_INCREF(Py_None
); resultobj
= Py_None
;
18659 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18662 wxString
*arg2
= 0 ;
18663 bool temp2
= False
;
18664 PyObject
* obj0
= 0 ;
18665 PyObject
* obj1
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self",(char *) "command", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 arg2
= wxString_in_helper(obj1
);
18675 if (arg2
== NULL
) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 Py_INCREF(Py_None
); resultobj
= Py_None
;
18700 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18703 wxString
*arg2
= 0 ;
18704 bool temp2
= False
;
18705 PyObject
* obj0
= 0 ;
18706 PyObject
* obj1
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self",(char *) "filename", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 arg2
= wxString_in_helper(obj1
);
18716 if (arg2
== NULL
) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->SetFilename((wxString
const &)*arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18741 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18744 wxString
*arg2
= 0 ;
18745 bool temp2
= False
;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self",(char *) "path", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 arg2
= wxString_in_helper(obj1
);
18757 if (arg2
== NULL
) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18782 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "x", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 arg2
= (double) SWIG_AsDouble(obj1
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 (arg1
)->SetPrinterScaleX(arg2
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 Py_INCREF(Py_None
); resultobj
= Py_None
;
18811 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self",(char *) "y", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18824 arg2
= (double) SWIG_AsDouble(obj1
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 (arg1
)->SetPrinterScaleY(arg2
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18840 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 PyObject
* obj2
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self",(char *) "x",(char *) "y", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18855 arg2
= (double) SWIG_AsDouble(obj1
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18857 arg3
= (double) SWIG_AsDouble(obj2
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18873 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 PyObject
* obj1
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self",(char *) "x", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18886 arg2
= (long) SWIG_AsLong(obj1
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 (arg1
)->SetPrinterTranslateX(arg2
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 Py_INCREF(Py_None
); resultobj
= Py_None
;
18902 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self",(char *) "y", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18915 arg2
= (long) SWIG_AsLong(obj1
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 (arg1
)->SetPrinterTranslateY(arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 Py_INCREF(Py_None
); resultobj
= Py_None
;
18931 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 PyObject
* obj2
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "x",(char *) "y", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 arg2
= (long) SWIG_AsLong(obj1
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18948 arg3
= (long) SWIG_AsLong(obj2
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18964 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18968 PyObject
* obj0
= 0 ;
18969 PyObject
* obj1
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self",(char *) "printMode", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18996 wxOutputStream
*result
;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19019 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19022 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 PyObject
* obj1
= 0 ;
19025 char *kwnames
[] = {
19026 (char *) "self",(char *) "outputstream", NULL
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->SetOutputStream(arg2
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 Py_INCREF(Py_None
); resultobj
= Py_None
;
19048 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19051 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19053 return Py_BuildValue((char *)"");
19055 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxPageSetupDialogData
*result
;
19058 char *kwnames
[] = {
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19077 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 Py_INCREF(Py_None
); resultobj
= Py_None
;
19102 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self",(char *) "flag", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19115 arg2
= (bool) SWIG_AsBool(obj1
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 (arg1
)->EnableHelp(arg2
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 Py_INCREF(Py_None
); resultobj
= Py_None
;
19131 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "flag", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 arg2
= (bool) SWIG_AsBool(obj1
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 (arg1
)->EnableMargins(arg2
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 Py_INCREF(Py_None
); resultobj
= Py_None
;
19160 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "flag", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 arg2
= (bool) SWIG_AsBool(obj1
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 (arg1
)->EnableOrientation(arg2
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 Py_INCREF(Py_None
); resultobj
= Py_None
;
19189 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "flag", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19202 arg2
= (bool) SWIG_AsBool(obj1
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 (arg1
)->EnablePaper(arg2
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 Py_INCREF(Py_None
); resultobj
= Py_None
;
19218 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self",(char *) "flag", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19231 arg2
= (bool) SWIG_AsBool(obj1
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 (arg1
)->EnablePrinter(arg2
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 Py_INCREF(Py_None
); resultobj
= Py_None
;
19247 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19251 PyObject
* obj0
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (bool)(arg1
)->GetDefaultMinMargins();
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19275 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (bool)(arg1
)->GetEnableMargins();
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19303 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= (bool)(arg1
)->GetEnableOrientation();
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19331 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (bool)(arg1
)->GetEnablePaper();
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19359 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (bool)(arg1
)->GetEnablePrinter();
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19387 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 result
= (bool)(arg1
)->GetEnableHelp();
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19415 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (bool)(arg1
)->GetDefaultInfo();
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19443 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (arg1
)->GetMarginTopLeft();
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19463 wxPoint
* resultptr
;
19464 resultptr
= new wxPoint((wxPoint
&) result
);
19465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19473 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (arg1
)->GetMarginBottomRight();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19493 wxPoint
* resultptr
;
19494 resultptr
= new wxPoint((wxPoint
&) result
);
19495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19503 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 result
= (arg1
)->GetMinMarginTopLeft();
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19523 wxPoint
* resultptr
;
19524 resultptr
= new wxPoint((wxPoint
&) result
);
19525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19533 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (arg1
)->GetMinMarginBottomRight();
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19553 wxPoint
* resultptr
;
19554 resultptr
= new wxPoint((wxPoint
&) result
);
19555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19563 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19567 PyObject
* obj0
= 0 ;
19568 char *kwnames
[] = {
19569 (char *) "self", NULL
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 result
= (int)(arg1
)->GetPaperId();
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_FromInt((int)result
);
19589 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19593 PyObject
* obj0
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= (arg1
)->GetPaperSize();
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19609 wxSize
* resultptr
;
19610 resultptr
= new wxSize((wxSize
&) result
);
19611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19619 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19622 wxPrintData
*result
;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19635 result
= (wxPrintData
*) &_result_ref
;
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19648 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (bool)(arg1
)->Ok();
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19676 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self",(char *) "flag", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 arg2
= (bool) SWIG_AsBool(obj1
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 (arg1
)->SetDefaultInfo(arg2
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 Py_INCREF(Py_None
); resultobj
= Py_None
;
19705 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19709 PyObject
* obj0
= 0 ;
19710 PyObject
* obj1
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self",(char *) "flag", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19718 arg2
= (bool) SWIG_AsBool(obj1
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 (arg1
)->SetDefaultMinMargins(arg2
);
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 Py_INCREF(Py_None
); resultobj
= Py_None
;
19734 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19737 wxPoint
*arg2
= 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "pt", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 Py_INCREF(Py_None
); resultobj
= Py_None
;
19766 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19769 wxPoint
*arg2
= 0 ;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self",(char *) "pt", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 Py_INCREF(Py_None
); resultobj
= Py_None
;
19798 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19801 wxPoint
*arg2
= 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "pt", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19833 wxPoint
*arg2
= 0 ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "pt", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 Py_INCREF(Py_None
); resultobj
= Py_None
;
19862 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj1
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self",(char *) "id", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 Py_INCREF(Py_None
); resultobj
= Py_None
;
19891 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "size", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 Py_INCREF(Py_None
); resultobj
= Py_None
;
19923 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19926 wxPrintData
*arg2
= 0 ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self",(char *) "printData", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19939 if (arg2
== NULL
) {
19940 PyErr_SetString(PyExc_TypeError
,"null reference");
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19960 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19962 return Py_BuildValue((char *)"");
19964 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxWindow
*arg1
= (wxWindow
*) 0 ;
19967 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19968 wxPageSetupDialog
*result
;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "parent",(char *) "data", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19983 if (!wxPyCheckForApp()) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19997 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20000 wxPageSetupDialogData
*result
;
20001 PyObject
* obj0
= 0 ;
20002 char *kwnames
[] = {
20003 (char *) "self", NULL
20006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20013 result
= (wxPageSetupDialogData
*) &_result_ref
;
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20026 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (int)(arg1
)->ShowModal();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= SWIG_FromInt((int)result
);
20052 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20055 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20057 return Py_BuildValue((char *)"");
20059 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20060 PyObject
*resultobj
;
20061 wxPrintDialogData
*result
;
20063 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20078 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20079 PyObject
*resultobj
;
20080 wxPrintData
*arg1
= 0 ;
20081 wxPrintDialogData
*result
;
20082 PyObject
* obj0
= 0 ;
20084 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20088 if (arg1
== NULL
) {
20089 PyErr_SetString(PyExc_TypeError
,"null reference");
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20106 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20111 argc
= PyObject_Length(args
);
20112 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20113 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20116 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20122 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20130 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20134 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20139 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
;
20141 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 Py_INCREF(Py_None
); resultobj
= Py_None
;
20164 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20168 PyObject
* obj0
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= SWIG_FromInt((int)result
);
20190 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= SWIG_FromInt((int)result
);
20216 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 char *kwnames
[] = {
20222 (char *) "self", NULL
20225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= SWIG_FromInt((int)result
);
20242 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_FromInt((int)result
);
20268 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_FromInt((int)result
);
20294 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 char *kwnames
[] = {
20300 (char *) "self", NULL
20303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20322 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20324 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20326 PyObject
* obj0
= 0 ;
20327 char *kwnames
[] = {
20328 (char *) "self", NULL
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20350 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20378 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20406 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20434 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self",(char *) "v", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 arg2
= (int) SWIG_AsInt(obj1
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 (arg1
)->SetFromPage(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 Py_INCREF(Py_None
); resultobj
= Py_None
;
20463 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self",(char *) "v", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20476 arg2
= (int) SWIG_AsInt(obj1
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 (arg1
)->SetToPage(arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 Py_INCREF(Py_None
); resultobj
= Py_None
;
20492 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "self",(char *) "v", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 arg2
= (int) SWIG_AsInt(obj1
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 (arg1
)->SetMinPage(arg2
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 Py_INCREF(Py_None
); resultobj
= Py_None
;
20521 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20523 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self",(char *) "v", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 arg2
= (int) SWIG_AsInt(obj1
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 (arg1
)->SetMaxPage(arg2
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 Py_INCREF(Py_None
); resultobj
= Py_None
;
20550 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self",(char *) "v", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 arg2
= (int) SWIG_AsInt(obj1
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 (arg1
)->SetNoCopies(arg2
);
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 Py_INCREF(Py_None
); resultobj
= Py_None
;
20579 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self",(char *) "flag", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20592 arg2
= (bool) SWIG_AsBool(obj1
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 (arg1
)->SetAllPages(arg2
);
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 Py_INCREF(Py_None
); resultobj
= Py_None
;
20608 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20610 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20612 PyObject
* obj0
= 0 ;
20613 PyObject
* obj1
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self",(char *) "flag", NULL
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20621 arg2
= (bool) SWIG_AsBool(obj1
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 (arg1
)->SetSelection(arg2
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 Py_INCREF(Py_None
); resultobj
= Py_None
;
20637 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
;
20639 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self",(char *) "flag", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 arg2
= (bool) SWIG_AsBool(obj1
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 (arg1
)->SetCollate(arg2
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 Py_INCREF(Py_None
); resultobj
= Py_None
;
20666 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "flag", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 arg2
= (bool) SWIG_AsBool(obj1
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 (arg1
)->SetPrintToFile(arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 Py_INCREF(Py_None
); resultobj
= Py_None
;
20695 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 PyObject
* obj1
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self",(char *) "flag", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20708 arg2
= (bool) SWIG_AsBool(obj1
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->SetSetupDialog(arg2
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 Py_INCREF(Py_None
); resultobj
= Py_None
;
20724 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self",(char *) "flag", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20737 arg2
= (bool) SWIG_AsBool(obj1
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 (arg1
)->EnablePrintToFile(arg2
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 Py_INCREF(Py_None
); resultobj
= Py_None
;
20753 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self",(char *) "flag", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20766 arg2
= (bool) SWIG_AsBool(obj1
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 (arg1
)->EnableSelection(arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 Py_INCREF(Py_None
); resultobj
= Py_None
;
20782 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20786 PyObject
* obj0
= 0 ;
20787 PyObject
* obj1
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "self",(char *) "flag", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 arg2
= (bool) SWIG_AsBool(obj1
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 (arg1
)->EnablePageNumbers(arg2
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 Py_INCREF(Py_None
); resultobj
= Py_None
;
20811 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self",(char *) "flag", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20824 arg2
= (bool) SWIG_AsBool(obj1
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 (arg1
)->EnableHelp(arg2
);
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 Py_INCREF(Py_None
); resultobj
= Py_None
;
20840 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20868 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20872 PyObject
* obj0
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20896 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20924 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20952 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20980 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20983 wxPrintData
*result
;
20984 PyObject
* obj0
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20996 result
= (wxPrintData
*) &_result_ref
;
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21009 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21012 wxPrintData
*arg2
= 0 ;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self",(char *) "printData", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21025 if (arg2
== NULL
) {
21026 PyErr_SetString(PyExc_TypeError
,"null reference");
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 Py_INCREF(Py_None
); resultobj
= Py_None
;
21043 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21046 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21048 return Py_BuildValue((char *)"");
21050 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxWindow
*arg1
= (wxWindow
*) 0 ;
21053 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21054 wxPrintDialog
*result
;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "parent",(char *) "data", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 if (!wxPyCheckForApp()) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21083 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21086 wxPrintDialogData
*result
;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21099 result
= (wxPrintDialogData
*) &_result_ref
;
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21112 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "self", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (wxDC
*)(arg1
)->GetPrintDC();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= wxPyMake_wxObject(result
);
21140 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
;
21142 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21144 PyObject
* obj0
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (int)(arg1
)->ShowModal();
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= SWIG_FromInt((int)result
);
21166 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21169 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21171 return Py_BuildValue((char *)"");
21173 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21177 PyObject
* obj0
= 0 ;
21178 char *kwnames
[] = {
21179 (char *) "data", NULL
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21188 if (!wxPyCheckForApp()) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (wxPrinter
*)new wxPrinter(arg1
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21202 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
;
21204 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21205 PyObject
* obj0
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 Py_INCREF(Py_None
); resultobj
= Py_None
;
21227 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21230 wxWindow
*arg2
= (wxWindow
*) 0 ;
21231 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21232 PyObject
* obj0
= 0 ;
21233 PyObject
* obj1
= 0 ;
21234 PyObject
* obj2
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self",(char *) "parent",(char *) "printout", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21244 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 Py_INCREF(Py_None
); resultobj
= Py_None
;
21260 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21263 wxPrintDialogData
*result
;
21264 PyObject
* obj0
= 0 ;
21265 char *kwnames
[] = {
21266 (char *) "self", NULL
21269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21276 result
= (wxPrintDialogData
*) &_result_ref
;
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21289 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21290 PyObject
*resultobj
;
21291 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21292 wxWindow
*arg2
= (wxWindow
*) 0 ;
21293 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21294 int arg4
= (int) True
;
21296 PyObject
* obj0
= 0 ;
21297 PyObject
* obj1
= 0 ;
21298 PyObject
* obj2
= 0 ;
21299 PyObject
* obj3
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21309 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21312 arg4
= (int) SWIG_AsInt(obj3
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21331 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21334 wxWindow
*arg2
= (wxWindow
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "parent", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= wxPyMake_wxObject(result
);
21363 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21366 wxWindow
*arg2
= (wxWindow
*) 0 ;
21367 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21368 wxString
*arg4
= 0 ;
21369 bool temp4
= False
;
21370 PyObject
* obj0
= 0 ;
21371 PyObject
* obj1
= 0 ;
21372 PyObject
* obj2
= 0 ;
21373 PyObject
* obj3
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21383 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 arg4
= wxString_in_helper(obj3
);
21387 if (arg4
== NULL
) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 Py_INCREF(Py_None
); resultobj
= Py_None
;
21412 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
;
21414 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21415 wxWindow
*arg2
= (wxWindow
*) 0 ;
21417 PyObject
* obj0
= 0 ;
21418 PyObject
* obj1
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "self",(char *) "parent", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (bool)(arg1
)->Setup(arg2
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21444 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (bool)(arg1
)->GetAbort();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21472 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21475 char *kwnames
[] = {
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (int)wxPrinter::GetLastError();
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_FromInt((int)result
);
21494 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21497 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21499 return Py_BuildValue((char *)"");
21501 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21504 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21505 wxPyPrintout
*result
;
21506 bool temp1
= False
;
21507 PyObject
* obj0
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "title", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21515 arg1
= wxString_in_helper(obj0
);
21516 if (arg1
== NULL
) SWIG_fail
;
21521 if (!wxPyCheckForApp()) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= wxPyMake_wxObject(result
);
21545 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21548 PyObject
*arg2
= (PyObject
*) 0 ;
21549 PyObject
*arg3
= (PyObject
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 PyObject
* obj2
= 0 ;
21553 char *kwnames
[] = {
21554 (char *) "self",(char *) "self",(char *) "_class", NULL
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 Py_INCREF(Py_None
); resultobj
= Py_None
;
21576 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21580 PyObject
* obj0
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21608 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21612 PyObject
* obj0
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (wxDC
*)(arg1
)->GetDC();
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= wxPyMake_wxObject(result
);
21636 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21639 wxDC
*arg2
= (wxDC
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self",(char *) "dc", NULL
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 (arg1
)->SetDC(arg2
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 Py_INCREF(Py_None
); resultobj
= Py_None
;
21665 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21666 PyObject
*resultobj
;
21667 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 PyObject
* obj2
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "w",(char *) "h", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21680 arg2
= (int) SWIG_AsInt(obj1
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21682 arg3
= (int) SWIG_AsInt(obj2
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 Py_INCREF(Py_None
); resultobj
= Py_None
;
21698 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21701 int *arg2
= (int *) 0 ;
21702 int *arg3
= (int *) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 Py_INCREF(Py_None
); resultobj
= Py_None
;
21724 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21725 resultobj
= t_output_helper(resultobj
,o
);
21728 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21729 resultobj
= t_output_helper(resultobj
,o
);
21737 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
;
21739 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 PyObject
* obj1
= 0 ;
21744 PyObject
* obj2
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self",(char *) "w",(char *) "h", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21752 arg2
= (int) SWIG_AsInt(obj1
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21754 arg3
= (int) SWIG_AsInt(obj2
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 Py_INCREF(Py_None
); resultobj
= Py_None
;
21770 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21773 int *arg2
= (int *) 0 ;
21774 int *arg3
= (int *) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21797 resultobj
= t_output_helper(resultobj
,o
);
21800 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21801 resultobj
= t_output_helper(resultobj
,o
);
21809 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 PyObject
* obj2
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self",(char *) "x",(char *) "y", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 arg2
= (int) SWIG_AsInt(obj1
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21826 arg3
= (int) SWIG_AsInt(obj2
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 (arg1
)->SetPPIScreen(arg2
,arg3
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 Py_INCREF(Py_None
); resultobj
= Py_None
;
21842 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21845 int *arg2
= (int *) 0 ;
21846 int *arg3
= (int *) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->GetPPIScreen(arg2
,arg3
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 Py_INCREF(Py_None
); resultobj
= Py_None
;
21868 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21869 resultobj
= t_output_helper(resultobj
,o
);
21872 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21873 resultobj
= t_output_helper(resultobj
,o
);
21881 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 PyObject
* obj2
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self",(char *) "x",(char *) "y", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21896 arg2
= (int) SWIG_AsInt(obj1
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21898 arg3
= (int) SWIG_AsInt(obj2
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 Py_INCREF(Py_None
); resultobj
= Py_None
;
21914 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21917 int *arg2
= (int *) 0 ;
21918 int *arg3
= (int *) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 Py_INCREF(Py_None
); resultobj
= Py_None
;
21940 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21941 resultobj
= t_output_helper(resultobj
,o
);
21944 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21945 resultobj
= t_output_helper(resultobj
,o
);
21953 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 result
= (bool)(arg1
)->IsPreview();
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21981 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21985 PyObject
* obj0
= 0 ;
21986 PyObject
* obj1
= 0 ;
21987 char *kwnames
[] = {
21988 (char *) "self",(char *) "p", NULL
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21994 arg2
= (bool) SWIG_AsBool(obj1
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->SetIsPreview(arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22010 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 PyObject
* obj2
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22026 arg2
= (int) SWIG_AsInt(obj1
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22028 arg3
= (int) SWIG_AsInt(obj2
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22046 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22049 PyObject
* obj0
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 (arg1
)->base_OnEndDocument();
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 Py_INCREF(Py_None
); resultobj
= Py_None
;
22071 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
;
22073 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 char *kwnames
[] = {
22076 (char *) "self", NULL
22079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 (arg1
)->base_OnBeginPrinting();
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 Py_INCREF(Py_None
); resultobj
= Py_None
;
22096 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22098 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22099 PyObject
* obj0
= 0 ;
22100 char *kwnames
[] = {
22101 (char *) "self", NULL
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 (arg1
)->base_OnEndPrinting();
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 Py_INCREF(Py_None
); resultobj
= Py_None
;
22121 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22124 PyObject
* obj0
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 (arg1
)->base_OnPreparePrinting();
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 Py_INCREF(Py_None
); resultobj
= Py_None
;
22146 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "page", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 arg2
= (int) SWIG_AsInt(obj1
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)(arg1
)->base_HasPage(arg2
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22178 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22181 int *arg2
= (int *) 0 ;
22182 int *arg3
= (int *) 0 ;
22183 int *arg4
= (int *) 0 ;
22184 int *arg5
= (int *) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self", NULL
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 Py_INCREF(Py_None
); resultobj
= Py_None
;
22210 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22211 resultobj
= t_output_helper(resultobj
,o
);
22214 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22215 resultobj
= t_output_helper(resultobj
,o
);
22218 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22219 resultobj
= t_output_helper(resultobj
,o
);
22222 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22223 resultobj
= t_output_helper(resultobj
,o
);
22231 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22234 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22236 return Py_BuildValue((char *)"");
22238 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22241 wxWindow
*arg2
= (wxWindow
*) 0 ;
22242 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22243 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22244 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22245 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22246 long arg5
= (long) 0 ;
22247 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22248 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22249 wxPreviewCanvas
*result
;
22252 bool temp6
= False
;
22253 PyObject
* obj0
= 0 ;
22254 PyObject
* obj1
= 0 ;
22255 PyObject
* obj2
= 0 ;
22256 PyObject
* obj3
= 0 ;
22257 PyObject
* obj4
= 0 ;
22258 PyObject
* obj5
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22277 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22281 arg5
= (long) SWIG_AsLong(obj4
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22286 arg6
= wxString_in_helper(obj5
);
22287 if (arg6
== NULL
) SWIG_fail
;
22292 if (!wxPyCheckForApp()) SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22314 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22317 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22319 return Py_BuildValue((char *)"");
22321 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22324 wxFrame
*arg2
= (wxFrame
*) 0 ;
22325 wxString
*arg3
= 0 ;
22326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22330 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22331 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22333 wxPreviewFrame
*result
;
22334 bool temp3
= False
;
22337 bool temp7
= False
;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 PyObject
* obj2
= 0 ;
22341 PyObject
* obj3
= 0 ;
22342 PyObject
* obj4
= 0 ;
22343 PyObject
* obj5
= 0 ;
22344 PyObject
* obj6
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22355 arg3
= wxString_in_helper(obj2
);
22356 if (arg3
== NULL
) SWIG_fail
;
22362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22372 arg6
= (long) SWIG_AsLong(obj5
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22377 arg7
= wxString_in_helper(obj6
);
22378 if (arg7
== NULL
) SWIG_fail
;
22383 if (!wxPyCheckForApp()) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22413 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 (arg1
)->Initialize();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 Py_INCREF(Py_None
); resultobj
= Py_None
;
22438 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 (arg1
)->CreateControlBar();
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 Py_INCREF(Py_None
); resultobj
= Py_None
;
22463 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->CreateCanvas();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22491 wxPreviewControlBar
*result
;
22492 PyObject
* obj0
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22514 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22517 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22519 return Py_BuildValue((char *)"");
22521 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22525 wxWindow
*arg3
= (wxWindow
*) 0 ;
22526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22530 long arg6
= (long) wxTAB_TRAVERSAL
;
22531 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22532 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22533 wxPreviewControlBar
*result
;
22536 bool temp7
= False
;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 PyObject
* obj2
= 0 ;
22540 PyObject
* obj3
= 0 ;
22541 PyObject
* obj4
= 0 ;
22542 PyObject
* obj5
= 0 ;
22543 PyObject
* obj6
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 arg2
= (long) SWIG_AsLong(obj1
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22553 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22568 arg6
= (long) SWIG_AsLong(obj5
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22573 arg7
= wxString_in_helper(obj6
);
22574 if (arg7
== NULL
) SWIG_fail
;
22579 if (!wxPyCheckForApp()) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22601 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (int)(arg1
)->GetZoomControl();
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= SWIG_FromInt((int)result
);
22627 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self",(char *) "zoom", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 arg2
= (int) SWIG_AsInt(obj1
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 (arg1
)->SetZoomControl(arg2
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 Py_INCREF(Py_None
); resultobj
= Py_None
;
22656 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22659 wxPrintPreview
*result
;
22660 PyObject
* obj0
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22682 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 (arg1
)->OnPrevious();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 Py_INCREF(Py_None
); resultobj
= Py_None
;
22732 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 Py_INCREF(Py_None
); resultobj
= Py_None
;
22757 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22760 PyObject
* obj0
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 Py_INCREF(Py_None
); resultobj
= Py_None
;
22782 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22800 Py_INCREF(Py_None
); resultobj
= Py_None
;
22807 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22810 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22812 return Py_BuildValue((char *)"");
22814 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22815 PyObject
*resultobj
;
22816 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22817 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22818 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22819 wxPrintPreview
*result
;
22820 PyObject
* obj0
= 0 ;
22821 PyObject
* obj1
= 0 ;
22822 PyObject
* obj2
= 0 ;
22824 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 if (!wxPyCheckForApp()) SWIG_fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22848 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22849 PyObject
*resultobj
;
22850 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22851 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22852 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22853 wxPrintPreview
*result
;
22854 PyObject
* obj0
= 0 ;
22855 PyObject
* obj1
= 0 ;
22856 PyObject
* obj2
= 0 ;
22858 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 if (!wxPyCheckForApp()) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22880 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22885 argc
= PyObject_Length(args
);
22886 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22887 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22889 if ((argc
>= 2) && (argc
<= 3)) {
22893 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22903 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22912 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22916 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22924 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22933 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22943 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22953 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22961 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22967 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22972 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self",(char *) "pageNum", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22986 arg2
= (int) SWIG_AsInt(obj1
);
22987 if (PyErr_Occurred()) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23004 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (int)(arg1
)->GetCurrentPage();
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= SWIG_FromInt((int)result
);
23030 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23033 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self",(char *) "printout", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 (arg1
)->SetPrintout(arg2
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 Py_INCREF(Py_None
); resultobj
= Py_None
;
23059 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23062 wxPyPrintout
*result
;
23063 PyObject
* obj0
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= wxPyMake_wxObject(result
);
23087 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23090 wxPyPrintout
*result
;
23091 PyObject
* obj0
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= wxPyMake_wxObject(result
);
23115 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23118 wxFrame
*arg2
= (wxFrame
*) 0 ;
23119 PyObject
* obj0
= 0 ;
23120 PyObject
* obj1
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self",(char *) "frame", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 (arg1
)->SetFrame(arg2
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 Py_INCREF(Py_None
); resultobj
= Py_None
;
23144 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23147 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 PyObject
* obj1
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self",(char *) "canvas", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 (arg1
)->SetCanvas(arg2
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 Py_INCREF(Py_None
); resultobj
= Py_None
;
23173 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= (wxFrame
*)(arg1
)->GetFrame();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= wxPyMake_wxObject(result
);
23201 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23204 wxPreviewCanvas
*result
;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23227 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23230 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 PyObject
* obj2
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23248 if (arg3
== NULL
) {
23249 PyErr_SetString(PyExc_TypeError
,"null reference");
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23268 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23271 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23274 PyObject
* obj0
= 0 ;
23275 PyObject
* obj1
= 0 ;
23276 PyObject
* obj2
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23286 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23289 if (arg3
== NULL
) {
23290 PyErr_SetString(PyExc_TypeError
,"null reference");
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23309 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char *kwnames
[] = {
23317 (char *) "self",(char *) "pageNum", NULL
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23323 arg2
= (int) SWIG_AsInt(obj1
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (bool)(arg1
)->RenderPage(arg2
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23341 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23344 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "canvas", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 (arg1
)->AdjustScrollbars(arg2
);
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 Py_INCREF(Py_None
); resultobj
= Py_None
;
23370 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
;
23372 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23373 wxPrintDialogData
*result
;
23374 PyObject
* obj0
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23386 result
= (wxPrintDialogData
*) &_result_ref
;
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23399 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 PyObject
* obj1
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "self",(char *) "percent", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23412 arg2
= (int) SWIG_AsInt(obj1
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 (arg1
)->SetZoom(arg2
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 Py_INCREF(Py_None
); resultobj
= Py_None
;
23428 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23432 PyObject
* obj0
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (int)(arg1
)->GetZoom();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_FromInt((int)result
);
23454 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (int)(arg1
)->GetMaxPage();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_FromInt((int)result
);
23480 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (int)(arg1
)->GetMinPage();
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_FromInt((int)result
);
23506 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23510 PyObject
* obj0
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (bool)(arg1
)->Ok();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23534 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "ok", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23547 arg2
= (bool) SWIG_AsBool(obj1
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 (arg1
)->SetOk(arg2
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 Py_INCREF(Py_None
); resultobj
= Py_None
;
23563 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self",(char *) "interactive", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23577 arg2
= (bool) SWIG_AsBool(obj1
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= (bool)(arg1
)->Print(arg2
);
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23595 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23597 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 (arg1
)->DetermineScaling();
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 Py_INCREF(Py_None
); resultobj
= Py_None
;
23620 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23623 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23625 return Py_BuildValue((char *)"");
23627 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23628 PyObject
*resultobj
;
23629 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23630 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23631 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23632 wxPyPrintPreview
*result
;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 PyObject
* obj2
= 0 ;
23637 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23647 if (!wxPyCheckForApp()) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23661 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23662 PyObject
*resultobj
;
23663 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23664 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23665 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23666 wxPyPrintPreview
*result
;
23667 PyObject
* obj0
= 0 ;
23668 PyObject
* obj1
= 0 ;
23669 PyObject
* obj2
= 0 ;
23671 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23676 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23679 if (!wxPyCheckForApp()) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23693 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23698 argc
= PyObject_Length(args
);
23699 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23702 if ((argc
>= 2) && (argc
<= 3)) {
23706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23716 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23725 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23729 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23737 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23746 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23756 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23766 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23774 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23780 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23785 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23788 PyObject
*arg2
= (PyObject
*) 0 ;
23789 PyObject
*arg3
= (PyObject
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 PyObject
* obj2
= 0 ;
23793 char *kwnames
[] = {
23794 (char *) "self",(char *) "self",(char *) "_class", NULL
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 Py_INCREF(Py_None
); resultobj
= Py_None
;
23816 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23821 PyObject
* obj0
= 0 ;
23822 PyObject
* obj1
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self",(char *) "pageNum", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 arg2
= (int) SWIG_AsInt(obj1
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23848 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
;
23850 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23851 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 PyObject
* obj2
= 0 ;
23857 char *kwnames
[] = {
23858 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23866 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23869 if (arg3
== NULL
) {
23870 PyErr_SetString(PyExc_TypeError
,"null reference");
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23889 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23891 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23892 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23897 PyObject
* obj2
= 0 ;
23898 char *kwnames
[] = {
23899 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23907 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23910 if (arg3
== NULL
) {
23911 PyErr_SetString(PyExc_TypeError
,"null reference");
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23930 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
;
23932 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self",(char *) "pageNum", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23944 arg2
= (int) SWIG_AsInt(obj1
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23962 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 char *kwnames
[] = {
23969 (char *) "self",(char *) "percent", NULL
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23975 arg2
= (int) SWIG_AsInt(obj1
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 (arg1
)->base_SetZoom(arg2
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 Py_INCREF(Py_None
); resultobj
= Py_None
;
23991 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
;
23993 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self",(char *) "interactive", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24005 arg2
= (bool) SWIG_AsBool(obj1
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= (bool)(arg1
)->base_Print(arg2
);
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24023 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->base_DetermineScaling();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24051 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24053 return Py_BuildValue((char *)"");
24055 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24058 wxFrame
*arg2
= (wxFrame
*) 0 ;
24059 wxString
*arg3
= 0 ;
24060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24064 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24065 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24067 wxPyPreviewFrame
*result
;
24068 bool temp3
= False
;
24071 bool temp7
= False
;
24072 PyObject
* obj0
= 0 ;
24073 PyObject
* obj1
= 0 ;
24074 PyObject
* obj2
= 0 ;
24075 PyObject
* obj3
= 0 ;
24076 PyObject
* obj4
= 0 ;
24077 PyObject
* obj5
= 0 ;
24078 PyObject
* obj6
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24089 arg3
= wxString_in_helper(obj2
);
24090 if (arg3
== NULL
) SWIG_fail
;
24096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24106 arg6
= (long) SWIG_AsLong(obj5
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24111 arg7
= wxString_in_helper(obj6
);
24112 if (arg7
== NULL
) SWIG_fail
;
24117 if (!wxPyCheckForApp()) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24147 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24150 PyObject
*arg2
= (PyObject
*) 0 ;
24151 PyObject
*arg3
= (PyObject
*) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 PyObject
* obj2
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "self",(char *) "_class", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 Py_INCREF(Py_None
); resultobj
= Py_None
;
24178 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
;
24180 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24181 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24182 PyObject
* obj0
= 0 ;
24183 PyObject
* obj1
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self",(char *) "canvas", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 (arg1
)->SetPreviewCanvas(arg2
);
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 Py_INCREF(Py_None
); resultobj
= Py_None
;
24207 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24210 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "bar", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->SetControlBar(arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 (arg1
)->base_Initialize();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 Py_INCREF(Py_None
); resultobj
= Py_None
;
24261 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 (arg1
)->base_CreateCanvas();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 Py_INCREF(Py_None
); resultobj
= Py_None
;
24286 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 (arg1
)->base_CreateControlBar();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 Py_INCREF(Py_None
); resultobj
= Py_None
;
24311 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24314 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24316 return Py_BuildValue((char *)"");
24318 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24322 wxWindow
*arg3
= (wxWindow
*) 0 ;
24323 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24324 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24325 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24326 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24327 long arg6
= (long) 0 ;
24328 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24329 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24330 wxPyPreviewControlBar
*result
;
24333 bool temp7
= False
;
24334 PyObject
* obj0
= 0 ;
24335 PyObject
* obj1
= 0 ;
24336 PyObject
* obj2
= 0 ;
24337 PyObject
* obj3
= 0 ;
24338 PyObject
* obj4
= 0 ;
24339 PyObject
* obj5
= 0 ;
24340 PyObject
* obj6
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24348 arg2
= (long) SWIG_AsLong(obj1
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24350 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24355 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24361 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24365 arg6
= (long) SWIG_AsLong(obj5
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24370 arg7
= wxString_in_helper(obj6
);
24371 if (arg7
== NULL
) SWIG_fail
;
24376 if (!wxPyCheckForApp()) SWIG_fail
;
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24398 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24401 PyObject
*arg2
= (PyObject
*) 0 ;
24402 PyObject
*arg3
= (PyObject
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 PyObject
* obj2
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "self",(char *) "_class", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 Py_INCREF(Py_None
); resultobj
= Py_None
;
24429 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24432 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24433 PyObject
* obj0
= 0 ;
24434 PyObject
* obj1
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self",(char *) "preview", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 (arg1
)->SetPrintPreview(arg2
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 Py_INCREF(Py_None
); resultobj
= Py_None
;
24458 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 (arg1
)->base_CreateButtons();
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 Py_INCREF(Py_None
); resultobj
= Py_None
;
24483 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "zoom", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 arg2
= (int) SWIG_AsInt(obj1
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 (arg1
)->base_SetZoomControl(arg2
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 Py_INCREF(Py_None
); resultobj
= Py_None
;
24512 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24515 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24517 return Py_BuildValue((char *)"");
24519 static PyMethodDef SwigMethods
[] = {
24520 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24526 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24541 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24542 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24550 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24566 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24590 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24602 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24606 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24610 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24615 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24631 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24659 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24666 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24689 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24697 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24709 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24715 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24724 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24730 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24733 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24736 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24740 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24758 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24784 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24792 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24796 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24798 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24807 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24810 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24817 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24835 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24839 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24844 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24848 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24864 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24867 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24869 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24873 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24882 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24891 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24897 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24909 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24916 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24920 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24946 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24972 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24998 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25044 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25076 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25080 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25081 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25114 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25119 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25130 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25153 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25155 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25161 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25171 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25172 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25195 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25196 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25205 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25213 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25223 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25225 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25226 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25228 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25229 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25231 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25232 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25234 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25235 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25237 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25238 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25240 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25241 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25243 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25244 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25246 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25247 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25249 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25250 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25252 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25253 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25255 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25258 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25259 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25261 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25264 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25265 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25267 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25268 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25270 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25271 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25273 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25274 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25276 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25277 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25279 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25280 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25282 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25283 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25285 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25286 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25288 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25289 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25291 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25292 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25294 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25295 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25297 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25298 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25300 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25301 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25303 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25304 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25306 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25307 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25309 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25310 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25312 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25313 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25315 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25316 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25318 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25319 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25321 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25324 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25325 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25327 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25328 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25330 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25331 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25333 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25336 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25339 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25340 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25342 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25343 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25345 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25346 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25348 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25349 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25351 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25352 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25354 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25357 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25360 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25363 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25364 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25366 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25367 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25369 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25370 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25372 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25373 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25375 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25378 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25381 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25384 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25387 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25390 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25393 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25396 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25397 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25399 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25400 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25402 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25405 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25408 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25411 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25412 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25414 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25417 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25418 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25420 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25421 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25423 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25424 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25426 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25427 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25429 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25432 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25433 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25435 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25438 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25441 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25442 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25444 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25447 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25450 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25453 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25454 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25456 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25459 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25460 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25462 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25465 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25468 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25471 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25474 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25477 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25478 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25480 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25483 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25486 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25489 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25492 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25495 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25498 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25501 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25504 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25505 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25507 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25508 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25510 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25511 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25513 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25514 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25516 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25517 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25519 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25520 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25522 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25523 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25525 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25526 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25528 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25529 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25531 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25532 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25534 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25535 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25537 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25540 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25543 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25544 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25546 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25547 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25549 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25552 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25553 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25555 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25556 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25558 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25559 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25561 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25562 return (void *)((wxObject
*) ((wxSizer
*) x
));
25564 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25565 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25567 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25570 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25573 static void *_p_wxEventTo_p_wxObject(void *x
) {
25574 return (void *)((wxObject
*) ((wxEvent
*) x
));
25576 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25577 return (void *)((wxObject
*) ((wxFontData
*) x
));
25579 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25580 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25582 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25583 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25585 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25586 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25588 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25589 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25591 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25592 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25594 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25597 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25598 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25600 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25601 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25603 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25604 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25606 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25607 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25609 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25610 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25612 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25613 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25615 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25616 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25618 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25621 static void *_p_wxControlTo_p_wxObject(void *x
) {
25622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25624 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25625 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25627 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25630 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25631 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25633 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25634 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25636 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25637 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25639 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25642 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25643 return (void *)((wxObject
*) ((wxColourData
*) x
));
25645 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25646 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25648 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25651 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25654 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25657 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25660 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25663 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25666 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25669 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25672 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25675 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25678 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25679 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25681 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25682 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25684 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25685 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25687 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25688 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25690 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25693 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25694 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25696 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25697 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25699 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25700 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25702 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25703 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25705 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25706 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25708 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25709 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25711 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25712 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25714 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25715 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25717 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25720 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25723 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25726 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25729 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25730 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25732 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25733 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25735 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25736 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25738 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25741 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25742 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25744 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25747 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25748 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25750 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25751 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25753 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25756 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25759 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25760 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25762 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25765 static void *_p_wxImageTo_p_wxObject(void *x
) {
25766 return (void *)((wxObject
*) ((wxImage
*) x
));
25768 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25771 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25772 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25774 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25775 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25777 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25778 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25780 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25783 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25786 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25789 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25790 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25792 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25793 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25795 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25796 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25798 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25799 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25801 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25804 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25807 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25810 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25813 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25816 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25819 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25822 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25825 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25828 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25831 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25834 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25837 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25840 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25843 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25844 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25846 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25847 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25849 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25852 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25855 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25858 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25861 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25864 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25867 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25870 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25871 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25873 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25876 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25877 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25879 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25880 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25882 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25883 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25885 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25886 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25888 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25889 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25891 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25894 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25895 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25897 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25900 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25903 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25904 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25906 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25907 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25909 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25912 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25915 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25916 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25918 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25919 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25921 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25924 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25925 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25927 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25928 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25930 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25931 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25933 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25934 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25936 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25937 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25939 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25940 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25942 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25943 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25945 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25946 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25948 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25949 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25951 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25952 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25954 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25955 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25957 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25958 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25960 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25961 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25963 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25964 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25966 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
25967 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
25969 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25970 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25972 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25973 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25975 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25976 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25978 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25979 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25981 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25982 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25984 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25985 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25987 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25988 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25990 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25991 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25993 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25994 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25996 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25997 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25999 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26000 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26002 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26003 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26005 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26006 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26008 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26009 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26011 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26012 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26014 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26015 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26017 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26018 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26020 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26021 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26023 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26024 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26026 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26027 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26029 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26030 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26032 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26033 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26035 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26036 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26038 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26039 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26041 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26042 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26044 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26045 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26047 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26048 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26050 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26051 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26053 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26054 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26056 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26057 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26059 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26060 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26062 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26063 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26065 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26066 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26068 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26069 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26071 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26072 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26074 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26075 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26077 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26078 return (void *)((wxWindow
*) ((wxControl
*) x
));
26080 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26081 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26083 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26084 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26086 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26087 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26089 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26090 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26092 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26093 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26095 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26096 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26098 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26099 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26101 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26102 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26104 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26105 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26107 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26108 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26110 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26111 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26113 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26114 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26116 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26117 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26119 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26120 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26122 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26123 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26125 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26126 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26128 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26129 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26131 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26132 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26134 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26135 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26137 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26138 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26140 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26141 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26143 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26144 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26146 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26147 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26149 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26150 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26152 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26153 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26155 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26156 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26158 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26159 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26161 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26162 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26164 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26165 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26167 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26168 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26170 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26171 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26173 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26174 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26176 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26177 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26179 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26180 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26182 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26183 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26185 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26186 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26188 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26189 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26191 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26192 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26194 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26195 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26197 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26198 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26200 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26201 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26203 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26204 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26206 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26207 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26209 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26210 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26212 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26213 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26215 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26216 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26218 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26219 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26221 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26222 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26224 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26225 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26227 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26228 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26230 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26231 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26233 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26234 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26236 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26237 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26239 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26240 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26241 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26242 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26243 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26244 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26245 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26246 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26247 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26248 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26249 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26250 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26251 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26252 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26253 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26254 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26255 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26256 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26257 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26258 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26259 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26260 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26261 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26262 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26263 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26264 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26265 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26266 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26267 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26268 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26269 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26270 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26271 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26272 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26273 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26274 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26275 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26276 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26277 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26278 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26279 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26280 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26281 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26282 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26283 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26284 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26285 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26286 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26287 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26288 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26289 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26290 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26291 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26292 static swig_type_info _swigt__p_wxPyScrolledWindow
[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26293 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26294 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26295 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26296 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26297 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26298 static swig_type_info _swigt__p_wxPyVScrolledWindow
[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26299 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26300 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26301 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26302 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26303 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26304 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26305 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26306 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26307 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26308 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26309 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26310 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26311 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26312 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26313 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26314 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26315 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26316 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26317 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26318 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26319 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26320 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26321 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26322 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26323 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26324 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26325 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26327 static swig_type_info
*swig_types_initial
[] = {
26328 _swigt__p_wxQueryLayoutInfoEvent
,
26329 _swigt__p_wxPreviewFrame
,
26330 _swigt__p_wxPyPreviewFrame
,
26331 _swigt__p_wxPyPanel
,
26333 _swigt__p_wxFontData
,
26335 _swigt__p_wxPrintData
,
26336 _swigt__p_wxTaskBarIcon
,
26337 _swigt__p_wxIconBundle
,
26338 _swigt__p_wxLayoutAlgorithm
,
26339 _swigt__p_wxFindDialogEvent
,
26340 _swigt__p_wxPreviewCanvas
,
26342 _swigt__p_wxSplitterEvent
,
26343 _swigt__p_wxRegion
,
26344 _swigt__p_wxFindReplaceData
,
26349 _swigt__p_wxVisualAttributes
,
26350 _swigt__p_wxMDIChildFrame
,
26351 _swigt__p_wxColourData
,
26352 _swigt__p_wxNotifyEvent
,
26353 _swigt__p_wxPyWindow
,
26354 _swigt__p_wxSplashScreen
,
26355 _swigt__p_wxFindReplaceDialog
,
26356 _swigt__p_wxProgressDialog
,
26357 _swigt__p_wxMessageDialog
,
26358 _swigt__p_wxTextEntryDialog
,
26359 _swigt__p_wxSingleChoiceDialog
,
26360 _swigt__p_wxMultiChoiceDialog
,
26361 _swigt__p_wxFileDialog
,
26362 _swigt__p_wxPrinter
,
26363 _swigt__p_wxArrayInt
,
26364 _swigt__p_wxEvtHandler
,
26365 _swigt__p_wxCalculateLayoutEvent
,
26366 _swigt__p_wxPyHtmlListBox
,
26367 _swigt__p_wxPyVListBox
,
26370 _swigt__p_wxMiniFrame
,
26372 _swigt__p_wxPyPrintout
,
26373 _swigt__p_wxTaskBarIconEvent
,
26374 _swigt__p_wxScrollWinEvent
,
26375 _swigt__p_wxStatusBar
,
26376 _swigt__p_wxMDIParentFrame
,
26378 _swigt__p_wxObject
,
26379 _swigt__p_wxOutputStream
,
26380 _swigt__p_unsigned_long
,
26381 _swigt__p_wxPyScrolledWindow
,
26382 _swigt__p_wxMDIClientWindow
,
26383 _swigt__p_wxTipWindow
,
26384 _swigt__p_wxPyPopupTransientWindow
,
26385 _swigt__p_wxSashLayoutWindow
,
26386 _swigt__p_wxSplitterWindow
,
26387 _swigt__p_wxPyVScrolledWindow
,
26388 _swigt__p_wxPopupWindow
,
26389 _swigt__p_wxSashWindow
,
26390 _swigt__p_wxTopLevelWindow
,
26391 _swigt__p_wxWindow
,
26392 _swigt__p_wxScrolledWindow
,
26393 _swigt__p_wxSplashScreenWindow
,
26394 _swigt__p_wxMenuBar
,
26395 _swigt__p_wxPrintPreview
,
26396 _swigt__p_wxSashEvent
,
26397 _swigt__p_wxString
,
26398 _swigt__p_wxPyPrintPreview
,
26399 _swigt__p_wxFontDialog
,
26400 _swigt__p_wxDirDialog
,
26401 _swigt__p_wxColourDialog
,
26402 _swigt__p_wxDialog
,
26404 _swigt__p_wxPageSetupDialog
,
26405 _swigt__p_wxPrintDialog
,
26406 _swigt__p_wxFileSystem
,
26407 _swigt__p_wxBitmap
,
26408 _swigt__p_wxCommandEvent
,
26409 _swigt__p_wxPreviewControlBar
,
26410 _swigt__p_wxPyPreviewControlBar
,
26411 _swigt__p_wxColour
,
26412 _swigt__p_wxToolBar
,
26413 _swigt__p_wxPageSetupDialogData
,
26414 _swigt__p_wxPrintDialogData
,
26419 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26421 static swig_const_info swig_const_table
[] = {
26431 SWIGEXPORT(void) SWIG_init(void) {
26432 static PyObject
*SWIG_globals
= 0;
26433 static int typeinit
= 0;
26436 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26437 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26438 d
= PyModule_GetDict(m
);
26441 for (i
= 0; swig_types_initial
[i
]; i
++) {
26442 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26446 SWIG_InstallConstants(d
,swig_const_table
);
26448 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26449 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26450 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26451 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26452 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26453 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26454 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26455 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26456 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26457 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26458 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26459 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26460 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26461 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26462 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26463 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26464 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26465 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26466 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26467 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26468 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26469 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26470 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26471 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26472 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26473 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26474 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26475 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26476 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26477 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26478 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26479 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26480 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26481 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26482 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26483 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26484 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26485 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26486 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26487 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26488 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26489 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26490 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26491 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26492 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26493 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26494 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26495 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26496 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26497 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26498 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26499 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26500 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26501 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26502 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26503 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26504 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26505 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26506 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26507 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26508 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26509 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26510 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26511 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26512 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26513 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26514 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26515 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26516 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26517 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26518 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26519 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26520 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26521 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26522 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26523 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26524 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26525 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26526 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26527 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26528 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26529 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26530 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26531 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26532 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26533 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26534 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26535 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26536 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26537 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26538 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26539 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26540 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26542 // Map renamed classes back to their common name for OOR
26543 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26544 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26545 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26547 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26548 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26549 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26550 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26551 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26552 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26553 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26554 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26555 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26556 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26557 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26558 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26559 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26560 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26561 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26562 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26563 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26564 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26565 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26566 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26567 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26568 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26569 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26570 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26571 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26572 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26573 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26574 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26575 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26576 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26577 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26578 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26579 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26580 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26581 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26582 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26583 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26584 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26585 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26586 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26587 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26588 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26589 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26590 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26591 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26592 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26593 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26594 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26595 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26596 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26597 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26598 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26599 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26600 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26601 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26602 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26603 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26604 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26605 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26606 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26608 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");