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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxIconBundle swig_types[9]
221 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226 #define SWIGTYPE_p_wxRegion swig_types[15]
227 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxSize swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxIcon swig_types[20]
232 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
234 #define SWIGTYPE_p_wxColourData swig_types[23]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
236 #define SWIGTYPE_p_wxPyWindow swig_types[25]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxFileDialog swig_types[33]
245 #define SWIGTYPE_p_wxPrinter swig_types[34]
246 #define SWIGTYPE_p_wxArrayInt swig_types[35]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
251 #define SWIGTYPE_p_wxRect swig_types[40]
252 #define SWIGTYPE_p_char swig_types[41]
253 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
254 #define SWIGTYPE_p_wxFrame swig_types[43]
255 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
256 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
257 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
258 #define SWIGTYPE_p_wxStatusBar swig_types[47]
259 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
260 #define SWIGTYPE_p_wxPoint swig_types[49]
261 #define SWIGTYPE_p_wxObject swig_types[50]
262 #define SWIGTYPE_p_wxOutputStream swig_types[51]
263 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
278 #define SWIGTYPE_p_wxSashEvent swig_types[67]
279 #define SWIGTYPE_p_wxString swig_types[68]
280 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
281 #define SWIGTYPE_p_wxFontDialog swig_types[70]
282 #define SWIGTYPE_p_wxDirDialog swig_types[71]
283 #define SWIGTYPE_p_wxColourDialog swig_types[72]
284 #define SWIGTYPE_p_wxDialog swig_types[73]
285 #define SWIGTYPE_p_wxPanel swig_types[74]
286 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
287 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
288 #define SWIGTYPE_p_wxFileSystem swig_types[77]
289 #define SWIGTYPE_p_wxBitmap swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
292 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxColour swig_types[82]
294 #define SWIGTYPE_p_wxToolBar swig_types[83]
295 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
296 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
297 static swig_type_info
*swig_types
[87];
299 /* -------- TYPES TABLE (END) -------- */
302 /*-----------------------------------------------
303 @(target):= _windows_.so
304 ------------------------------------------------*/
305 #define SWIG_init init_windows_
307 #define SWIG_name "_windows_"
309 /* Auxiliar swig macros that appear in the header */
311 #define SWIG_OLDOBJ 1
312 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313 #define SWIG_PYSTR SWIG_NEWOBJ + 1
316 #define SWIGSTATICINLINE(a) static inline a
317 #define SWIGSTATIC(a) static a
318 #define swig_new_array(size,Type) (new Type[(size)])
319 #define swig_delete(cptr) delete cptr
320 #define swig_delete_array(cptr) delete[] cptr
321 #define swig_const_cast(a,Type) const_cast<Type >(a)
322 #define swig_static_cast(a,Type) static_cast<Type >(a)
323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324 #define swig_new_copy(ptr,Type) (new Type(*ptr))
325 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
329 #define SWIGSTATICINLINE(a) static a
330 #define SWIGSTATIC(a) static a
331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332 #define swig_delete(cptr) free((char*)cptr)
333 #define swig_delete_array(cptr) free((char*)cptr)
334 #define swig_const_cast(a,Type) (Type)(a)
335 #define swig_static_cast(a,Type) (Type)(a)
336 #define swig_reinterpret_cast(a,Type) (Type)(a)
337 #define swig_numeric_cast(a,Type) (Type)(a)
338 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340 #endif /* __cplusplus */
343 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
352 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
358 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
361 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
364 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
373 static const wxString
wxPyEmptyString(wxEmptyString
);
374 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
385 if (value
< min_value
) {
387 PyErr_Format(PyExc_OverflowError
,
388 "value %ld is less than '%s' minimum %ld",
389 value
, errmsg
, min_value
);
392 } else if (value
> max_value
) {
394 PyErr_Format(PyExc_OverflowError
,
395 "value %ld is greater than '%s' maximum %ld",
396 value
, errmsg
, max_value
);
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject
* obj
, long* val
)
408 if (PyNumber_Check(obj
)) {
409 if (val
) *val
= PyInt_AsLong(obj
);
413 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
414 obj
->ob_type
->tp_name
);
415 PyErr_SetObject(PyExc_TypeError
, errmsg
);
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject
*obj
, int *val
)
426 const char* errmsg
= val
? "int" : 0;
428 if (SWIG_AsVal_long(obj
, &v
)) {
429 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
430 if (val
) *val
= swig_numeric_cast(v
, int);
439 PyErr_SetString(PyExc_TypeError
, "an int is expected");
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject
*obj
, int *val
)
447 return SWIG_AsVal_long(obj
,(long*)val
);
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject
* obj
)
456 if (!SWIG_AsVal_int(obj
, &v
)) {
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
462 memset((void*)&v
, 0, sizeof(int));
468 SWIGSTATICINLINE(long)
469 SWIG_As_long(PyObject
* obj
)
472 if (!SWIG_AsVal_long(obj
, &v
)) {
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
478 memset((void*)&v
, 0, sizeof(long));
484 SWIGSTATICINLINE(int)
485 SWIG_Check_int(PyObject
* obj
)
487 return SWIG_AsVal_int(obj
, (int*)0);
491 SWIGSTATICINLINE(int)
492 SWIG_Check_long(PyObject
* obj
)
494 return SWIG_AsVal_long(obj
, (long*)0);
498 SWIGSTATICINLINE(int)
499 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj
== Py_True
) {
503 if (val
) *val
= true;
506 if (obj
== Py_False
) {
507 if (val
) *val
= false;
511 if (SWIG_AsVal_int(obj
, &res
)) {
512 if (val
) *val
= (bool)res
;
516 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
522 SWIGSTATICINLINE(bool)
523 SWIG_As_bool(PyObject
* obj
)
526 if (!SWIG_AsVal_bool(obj
, &v
)) {
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
532 memset((void*)&v
, 0, sizeof(bool));
538 SWIGSTATICINLINE(int)
539 SWIG_Check_bool(PyObject
* obj
)
541 return SWIG_AsVal_bool(obj
, (bool*)0);
545 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
551 } else if (target
== Py_None
) {
555 if (!PyTuple_Check(target
)) {
557 target
= PyTuple_New(1);
558 PyTuple_SetItem(target
, 0, o2
);
561 PyTuple_SetItem(o3
, 0, o
);
564 target
= PySequence_Concat(o2
, o3
);
573 // See my_fragments.i
574 SWIGSTATICINLINE(int)
575 SWIG_AsVal_double(PyObject
*obj
, double* val
)
577 if (PyNumber_Check(obj
)) {
578 if (val
) *val
= PyFloat_AsDouble(obj
);
582 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
583 obj
->ob_type
->tp_name
);
584 PyErr_SetObject(PyExc_TypeError
, errmsg
);
591 SWIGSTATICINLINE(double)
592 SWIG_As_double(PyObject
* obj
)
595 if (!SWIG_AsVal_double(obj
, &v
)) {
597 this is needed to make valgrind/purify happier. the other
598 solution is throw an exception, but since this code should work
601 memset((void*)&v
, 0, sizeof(double));
607 SWIGSTATICINLINE(int)
608 SWIG_Check_double(PyObject
* obj
)
610 return SWIG_AsVal_double(obj
, (double*)0);
613 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
614 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
615 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
616 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
619 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
621 self
->GetFieldRect(i
, r
);
624 static const wxString
wxPySplitterNameStr(wxT("splitter"));
625 static const wxString
wxPySashNameStr(wxT("sashWindow"));
626 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
628 #include <wx/popupwin.h>
631 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
634 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
635 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
636 : wxPopupTransientWindow(parent
, style
) {}
638 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
639 DEC_PYCALLBACK__(OnDismiss
);
640 DEC_PYCALLBACK_BOOL_(CanDismiss
);
645 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
646 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
647 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
650 #include <wx/tipwin.h>
652 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
653 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
656 #include <wx/tipwin.h>
659 #include <wx/vscroll.h>
662 class wxPyVScrolledWindow
: public wxVScrolledWindow
664 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
666 wxPyVScrolledWindow() : wxVScrolledWindow() {}
668 wxPyVScrolledWindow(wxWindow
*parent
,
669 wxWindowID id
= wxID_ANY
,
670 const wxPoint
& pos
= wxDefaultPosition
,
671 const wxSize
& size
= wxDefaultSize
,
673 const wxString
& name
= wxPyPanelNameStr
)
674 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
677 // Overridable virtuals
679 // this function must be overridden in the derived class and it should
680 // return the height of the given line in pixels
681 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
684 // this function doesn't have to be overridden but it may be useful to do
685 // it if calculating the lines heights is a relatively expensive operation
686 // as it gives the user code a possibility to calculate several of them at
689 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
690 // shouldn't rely on the latter being called for all lines in the interval
691 // specified here. It is also possible that OnGetLineHeight() will be
692 // called for the lines outside of this interval, so this is really just a
693 // hint, not a promise.
695 // finally note that lineMin is inclusive, while lineMax is exclusive, as
697 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
700 // when the number of lines changes, we try to estimate the total height
701 // of all lines which is a rather expensive operation in terms of lines
702 // access, so if the user code may estimate the average height
703 // better/faster than we do, it should override this function to implement
706 // this function should return the best guess for the total height it may
708 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
711 // Also expose some other interesting protected methods
714 // find the index of the line we need to show at the top of the window such
715 // that the last (fully or partially) visible line is the given one
716 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
717 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
719 // get the total height of the lines between lineMin (inclusive) and
720 // lineMax (exclusive)
721 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
722 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
730 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
731 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
732 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
740 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
741 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
745 *val
= (unsigned long)v
;
750 SWIGSTATICINLINE(unsigned long)
751 SWIG_As_unsigned_SS_long(PyObject
* obj
)
754 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
756 this is needed to make valgrind/purify happier. the other
757 solution is throw an exception, but since this code should work
760 memset((void*)&v
, 0, sizeof(unsigned long));
766 SWIGSTATICINLINE(int)
767 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
769 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
773 SWIGSTATICINLINE(PyObject
* )
774 SWIG_From_unsigned_SS_long(unsigned long value
)
776 return (value
> LONG_MAX
) ?
777 PyLong_FromUnsignedLong(value
)
778 : PyInt_FromLong(swig_numeric_cast(value
,long));
782 #include <wx/vlbox.h>
784 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
786 class wxPyVListBox
: public wxVListBox
788 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
790 wxPyVListBox() : wxVListBox() {}
792 wxPyVListBox(wxWindow
*parent
,
793 wxWindowID id
= wxID_ANY
,
794 const wxPoint
& pos
= wxDefaultPosition
,
795 const wxSize
& size
= wxDefaultSize
,
797 const wxString
& name
= wxPyVListBoxNameStr
)
798 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
801 // Overridable virtuals
803 // the derived class must implement this function to actually draw the item
804 // with the given index on the provided DC
805 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
806 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
809 // the derived class must implement this method to return the height of the
811 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
812 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
815 // this method may be used to draw separators between the lines; note that
816 // the rectangle may be modified, typically to deflate it a bit before
817 // passing to OnDrawItem()
819 // the base class version doesn't do anything
820 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
821 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
824 // this method is used to draw the items background and, maybe, a border
827 // the base class version implements a reasonable default behaviour which
828 // consists in drawing the selected item with the standard background
829 // colour and drawing a border around the item if it is either selected or
831 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
832 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
838 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
840 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
841 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
842 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
843 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
846 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
847 unsigned long cookie
= 0;
848 int selected
= self
->GetFirstSelected(cookie
);
849 bool blocked
= wxPyBeginBlockThreads();
850 PyObject
* tup
= PyTuple_New(2);
851 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
852 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
853 wxPyEndBlockThreads(blocked
);
856 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
857 int selected
= self
->GetNextSelected(cookie
);
858 bool blocked
= wxPyBeginBlockThreads();
859 PyObject
* tup
= PyTuple_New(2);
860 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
861 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
862 wxPyEndBlockThreads(blocked
);
866 #include <wx/htmllbox.h>
869 class wxPyHtmlListBox
: public wxHtmlListBox
871 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
873 wxPyHtmlListBox() : wxHtmlListBox() {}
875 wxPyHtmlListBox(wxWindow
*parent
,
876 wxWindowID id
= wxID_ANY
,
877 const wxPoint
& pos
= wxDefaultPosition
,
878 const wxSize
& size
= wxDefaultSize
,
880 const wxString
& name
= wxPyVListBoxNameStr
)
881 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
884 // Overridable virtuals
886 // this method must be implemented in the derived class and should return
887 // the body (i.e. without <html>) of the HTML for the given item
888 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
890 // this function may be overridden to decorate HTML returned by OnGetItem()
891 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
894 // // this method allows to customize the selection appearance: it may be used
895 // // to specify the colour of the text which normally has the given colour
896 // // colFg when it is inside the selection
898 // // by default, the original colour is not used at all and all text has the
899 // // same (default for this system) colour inside selection
900 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
902 // // this is the same as GetSelectedTextColour() but allows to customize the
903 // // background colour -- this is even more rarely used as you can change it
904 // // globally using SetSelectionBackground()
905 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
912 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
914 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
915 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
922 // implement dummy classes and such for wxMac
924 class wxTaskBarIcon
: public wxEvtHandler
927 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
931 class wxTaskBarIconEvent
: public wxEvent
934 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
935 { wxPyRaiseNotImplemented(); }
936 virtual wxEvent
* Clone() const { return NULL
; }
940 wxEVT_TASKBAR_MOVE
= 0,
941 wxEVT_TASKBAR_LEFT_DOWN
= 0,
942 wxEVT_TASKBAR_LEFT_UP
= 0,
943 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
944 wxEVT_TASKBAR_RIGHT_UP
= 0,
945 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
946 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
951 // // Otherwise make a class that can virtualize CreatePopupMenu
952 // class wxPyTaskBarIcon : public wxTaskBarIcon
954 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
956 // wxPyTaskBarIcon() : wxTaskBarIcon()
959 // wxMenu* CreatePopupMenu() {
960 // wxMenu *rval = NULL;
962 // bool blocked = wxPyBeginBlockThreads();
963 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
966 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
968 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
973 // wxPyEndBlockThreads(blocked);
975 // rval = wxTaskBarIcon::CreatePopupMenu();
982 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
986 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
991 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
992 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
993 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
994 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
995 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
996 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
997 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
999 self
->GetFilenames(arr
);
1000 return wxArrayString2PyList_helper(arr
);
1002 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1004 self
->GetPaths(arr
);
1005 return wxArrayString2PyList_helper(arr
);
1007 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1008 return wxArrayInt2PyList_helper(self
->GetSelections());
1010 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1011 return new wxSingleChoiceDialog(parent
, message
, caption
,
1012 choices
, choices_array
, NULL
, style
, pos
);
1017 // C++ version of Python aware wxWindow
1018 class wxPyWindow
: public wxWindow
1020 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1022 wxPyWindow() : wxWindow() {}
1023 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1024 const wxPoint
& pos
= wxDefaultPosition
,
1025 const wxSize
& size
= wxDefaultSize
,
1027 const wxString
& name
= wxPyPanelNameStr
)
1028 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1030 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1032 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1033 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1041 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1042 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1044 DEC_PYCALLBACK__(InitDialog
);
1045 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1046 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1047 DEC_PYCALLBACK_BOOL_(Validate
);
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1051 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1053 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1054 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1056 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1057 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1058 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1063 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1065 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1066 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1067 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1070 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1074 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1077 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1078 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1082 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1084 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1086 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1089 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1090 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1091 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1094 // C++ version of Python aware wxPanel
1095 class wxPyPanel
: public wxPanel
1097 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1099 wxPyPanel() : wxPanel() {}
1100 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1101 const wxPoint
& pos
= wxDefaultPosition
,
1102 const wxSize
& size
= wxDefaultSize
,
1104 const wxString
& name
= wxPyPanelNameStr
)
1105 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1107 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1110 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1111 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1119 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1120 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1122 DEC_PYCALLBACK__(InitDialog
);
1123 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1124 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1125 DEC_PYCALLBACK_BOOL_(Validate
);
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1129 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1131 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1132 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1134 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1135 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1136 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1141 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1143 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1144 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1145 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1152 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1155 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1156 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1160 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1162 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1167 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1168 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1169 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1172 // C++ version of Python aware wxScrolledWindow
1173 class wxPyScrolledWindow
: public wxScrolledWindow
1175 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1177 wxPyScrolledWindow() : wxScrolledWindow() {}
1178 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1179 const wxPoint
& pos
= wxDefaultPosition
,
1180 const wxSize
& size
= wxDefaultSize
,
1182 const wxString
& name
= wxPyPanelNameStr
)
1183 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1185 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1187 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1188 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1196 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1197 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1199 DEC_PYCALLBACK__(InitDialog
);
1200 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1201 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1202 DEC_PYCALLBACK_BOOL_(Validate
);
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1206 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1208 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1209 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1211 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1212 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1218 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1220 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1221 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1222 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1229 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1232 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1233 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1237 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1239 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1244 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1245 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1246 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1250 #include "wx/wxPython/printfw.h"
1253 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1254 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1258 // Since this one would be tough and ugly to do with the Macros...
1259 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1260 bool hadErr
= False
;
1263 bool blocked
= wxPyBeginBlockThreads();
1264 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1265 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1266 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1269 val
= PyTuple_GetItem(result
, 0);
1270 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1273 val
= PyTuple_GetItem(result
, 1);
1274 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1277 val
= PyTuple_GetItem(result
, 2);
1278 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1281 val
= PyTuple_GetItem(result
, 3);
1282 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1289 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1294 wxPyEndBlockThreads(blocked
);
1296 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1299 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1300 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1304 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1305 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1306 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1307 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1308 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1309 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1310 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1316 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1317 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1318 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1321 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1322 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1325 bool blocked = wxPyBeginBlockThreads(); \
1326 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1327 PyObject* win = wxPyMake_wxObject(a,false); \
1328 PyObject* dc = wxPyMake_wxObject(&b,false); \
1329 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1333 wxPyEndBlockThreads(blocked); \
1335 rval = PCLASS::CBNAME(a, b); \
1338 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1339 return PCLASS::CBNAME(a, b); \
1345 class wxPyPrintPreview
: public wxPrintPreview
1347 DECLARE_CLASS(wxPyPrintPreview
)
1349 wxPyPrintPreview(wxPyPrintout
* printout
,
1350 wxPyPrintout
* printoutForPrinting
,
1351 wxPrintDialogData
* data
=NULL
)
1352 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1354 wxPyPrintPreview(wxPyPrintout
* printout
,
1355 wxPyPrintout
* printoutForPrinting
,
1356 wxPrintData
* data
=NULL
)
1357 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1360 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1362 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1363 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1364 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1365 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1366 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1371 // Stupid renamed classes... Fix this in 2.5...
1372 #if defined(__WXMSW__)
1373 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1374 #elif defined(__WXMAC__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1377 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1380 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1381 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1382 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1383 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1384 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1385 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1386 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1389 class wxPyPreviewFrame
: public wxPreviewFrame
1391 DECLARE_CLASS(wxPyPreviewFrame
);
1393 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1394 const wxString
& title
,
1395 const wxPoint
& pos
= wxDefaultPosition
,
1396 const wxSize
& size
= wxDefaultSize
,
1397 long style
= wxDEFAULT_FRAME_STYLE
,
1398 const wxString
& name
= wxPyFrameNameStr
)
1399 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1402 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1403 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1405 DEC_PYCALLBACK_VOID_(Initialize
);
1406 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1407 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1412 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1414 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1415 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1419 class wxPyPreviewControlBar
: public wxPreviewControlBar
1421 DECLARE_CLASS(wxPyPreviewControlBar
);
1423 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1426 const wxPoint
& pos
= wxDefaultPosition
,
1427 const wxSize
& size
= wxDefaultSize
,
1429 const wxString
& name
= wxPyPanelNameStr
)
1430 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1433 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1435 DEC_PYCALLBACK_VOID_(CreateButtons
);
1436 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1441 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1442 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1443 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1448 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxWindow
*arg1
= (wxWindow
*) 0 ;
1451 int arg2
= (int) (int)-1 ;
1452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1456 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1457 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1458 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1462 bool temp6
= False
;
1463 PyObject
* obj0
= 0 ;
1464 PyObject
* obj1
= 0 ;
1465 PyObject
* obj2
= 0 ;
1466 PyObject
* obj3
= 0 ;
1467 PyObject
* obj4
= 0 ;
1468 PyObject
* obj5
= 0 ;
1470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 arg2
= (int)SWIG_As_int(obj1
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1493 arg5
= (long)SWIG_As_long(obj4
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1498 arg6
= wxString_in_helper(obj5
);
1499 if (arg6
== NULL
) SWIG_fail
;
1504 if (!wxPyCheckForApp()) SWIG_fail
;
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1526 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
*resultobj
;
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1535 if (!wxPyCheckForApp()) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (wxPanel
*)new wxPanel();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1549 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxPanel
*arg1
= (wxPanel
*) 0 ;
1552 wxWindow
*arg2
= (wxWindow
*) 0 ;
1553 int arg3
= (int) (int)-1 ;
1554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1558 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1559 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1560 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1564 bool temp7
= False
;
1565 PyObject
* obj0
= 0 ;
1566 PyObject
* obj1
= 0 ;
1567 PyObject
* obj2
= 0 ;
1568 PyObject
* obj3
= 0 ;
1569 PyObject
* obj4
= 0 ;
1570 PyObject
* obj5
= 0 ;
1571 PyObject
* obj6
= 0 ;
1573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1582 arg3
= (int)SWIG_As_int(obj2
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1598 arg6
= (long)SWIG_As_long(obj5
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1603 arg7
= wxString_in_helper(obj6
);
1604 if (arg7
== NULL
) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1632 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxPanel
*arg1
= (wxPanel
*) 0 ;
1635 PyObject
* obj0
= 0 ;
1637 (char *) "self", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 (arg1
)->InitDialog();
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1650 Py_INCREF(Py_None
); resultobj
= Py_None
;
1657 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
*resultobj
;
1659 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1660 wxVisualAttributes result
;
1661 PyObject
* obj0
= 0 ;
1663 (char *) "variant", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1668 arg1
= (int)SWIG_As_int(obj0
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 if (!wxPyCheckForApp()) SWIG_fail
;
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1680 wxVisualAttributes
* resultptr
;
1681 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1690 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1695 return Py_BuildValue((char *)"");
1697 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxWindow
*arg1
= (wxWindow
*) 0 ;
1700 int arg2
= (int) (int)-1 ;
1701 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1702 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1703 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1704 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1705 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1706 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1707 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1708 wxScrolledWindow
*result
;
1711 bool temp6
= False
;
1712 PyObject
* obj0
= 0 ;
1713 PyObject
* obj1
= 0 ;
1714 PyObject
* obj2
= 0 ;
1715 PyObject
* obj3
= 0 ;
1716 PyObject
* obj4
= 0 ;
1717 PyObject
* obj5
= 0 ;
1719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 arg2
= (int)SWIG_As_int(obj1
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1742 arg5
= (long)SWIG_As_long(obj4
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1747 arg6
= wxString_in_helper(obj5
);
1748 if (arg6
== NULL
) SWIG_fail
;
1753 if (!wxPyCheckForApp()) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1775 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxScrolledWindow
*result
;
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1784 if (!wxPyCheckForApp()) SWIG_fail
;
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1798 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1801 wxWindow
*arg2
= (wxWindow
*) 0 ;
1802 int arg3
= (int) (int)-1 ;
1803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1807 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1808 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1809 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1813 bool temp7
= False
;
1814 PyObject
* obj0
= 0 ;
1815 PyObject
* obj1
= 0 ;
1816 PyObject
* obj2
= 0 ;
1817 PyObject
* obj3
= 0 ;
1818 PyObject
* obj4
= 0 ;
1819 PyObject
* obj5
= 0 ;
1820 PyObject
* obj6
= 0 ;
1822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 arg3
= (int)SWIG_As_int(obj2
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1847 arg6
= (long)SWIG_As_long(obj5
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1852 arg7
= wxString_in_helper(obj6
);
1853 if (arg7
== NULL
) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1881 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1888 int arg6
= (int) 0 ;
1889 int arg7
= (int) 0 ;
1890 bool arg8
= (bool) False
;
1891 PyObject
* obj0
= 0 ;
1892 PyObject
* obj1
= 0 ;
1893 PyObject
* obj2
= 0 ;
1894 PyObject
* obj3
= 0 ;
1895 PyObject
* obj4
= 0 ;
1896 PyObject
* obj5
= 0 ;
1897 PyObject
* obj6
= 0 ;
1898 PyObject
* obj7
= 0 ;
1900 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1906 arg2
= (int)SWIG_As_int(obj1
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1908 arg3
= (int)SWIG_As_int(obj2
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1910 arg4
= (int)SWIG_As_int(obj3
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1912 arg5
= (int)SWIG_As_int(obj4
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 arg6
= (int)SWIG_As_int(obj5
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1919 arg7
= (int)SWIG_As_int(obj6
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1923 arg8
= (bool)SWIG_As_bool(obj7
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 Py_INCREF(Py_None
); resultobj
= Py_None
;
1940 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1945 PyObject
* obj0
= 0 ;
1946 PyObject
* obj1
= 0 ;
1947 PyObject
* obj2
= 0 ;
1949 (char *) "self",(char *) "x",(char *) "y", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1955 arg2
= (int)SWIG_As_int(obj1
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1957 arg3
= (int)SWIG_As_int(obj2
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 (arg1
)->Scroll(arg2
,arg3
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) SWIG_fail
;
1966 Py_INCREF(Py_None
); resultobj
= Py_None
;
1973 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
*resultobj
;
1975 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1979 PyObject
* obj1
= 0 ;
1981 (char *) "self",(char *) "orient", NULL
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1987 arg2
= (int)SWIG_As_int(obj1
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= SWIG_From_int((int)result
);
2003 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2012 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int)SWIG_As_int(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int)SWIG_As_int(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2041 PyObject
* obj0
= 0 ;
2042 PyObject
* obj1
= 0 ;
2043 PyObject
* obj2
= 0 ;
2045 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2051 arg2
= (int)SWIG_As_int(obj1
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2053 arg3
= (int)SWIG_As_int(obj2
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 (arg1
)->SetScrollRate(arg2
,arg3
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 Py_INCREF(Py_None
); resultobj
= Py_None
;
2069 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2072 int *arg2
= (int *) 0 ;
2073 int *arg3
= (int *) 0 ;
2078 PyObject
* obj0
= 0 ;
2080 (char *) "self", NULL
2083 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2084 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2095 Py_INCREF(Py_None
); resultobj
= Py_None
;
2096 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2097 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2098 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2099 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2106 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2113 PyObject
* obj2
= 0 ;
2115 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 arg2
= (bool)SWIG_As_bool(obj1
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2123 arg3
= (bool)SWIG_As_bool(obj2
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 (arg1
)->EnableScrolling(arg2
,arg3
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 Py_INCREF(Py_None
); resultobj
= Py_None
;
2139 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2142 int *arg2
= (int *) 0 ;
2143 int *arg3
= (int *) 0 ;
2148 PyObject
* obj0
= 0 ;
2150 (char *) "self", NULL
2153 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2154 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2167 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2168 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2169 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2176 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2182 PyObject
* obj1
= 0 ;
2183 PyObject
* obj2
= 0 ;
2185 (char *) "self",(char *) "xs",(char *) "ys", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 arg2
= (double)SWIG_As_double(obj1
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2193 arg3
= (double)SWIG_As_double(obj2
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 (arg1
)->SetScale(arg2
,arg3
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2228 resultobj
= SWIG_From_double((double)result
);
2235 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2239 PyObject
* obj0
= 0 ;
2241 (char *) "self", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= SWIG_From_double((double)result
);
2261 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2262 PyObject
*resultobj
;
2263 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2285 wxPoint
* resultptr
;
2286 resultptr
= new wxPoint((wxPoint
&) result
);
2287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2295 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2296 PyObject
*resultobj
;
2297 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2300 int *arg4
= (int *) 0 ;
2301 int *arg5
= (int *) 0 ;
2306 PyObject
* obj0
= 0 ;
2307 PyObject
* obj1
= 0 ;
2308 PyObject
* obj2
= 0 ;
2310 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2311 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2312 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 arg2
= (int)SWIG_As_int(obj1
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2317 arg3
= (int)SWIG_As_int(obj2
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 Py_INCREF(Py_None
); resultobj
= Py_None
;
2327 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2328 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2329 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2330 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2337 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2342 argc
= PyObject_Length(args
);
2343 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2344 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2350 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2359 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2362 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2370 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2378 _v
= SWIG_Check_int(argv
[1]);
2380 _v
= SWIG_Check_int(argv
[2]);
2382 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2388 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2393 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2394 PyObject
*resultobj
;
2395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2400 PyObject
* obj1
= 0 ;
2402 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2417 wxPoint
* resultptr
;
2418 resultptr
= new wxPoint((wxPoint
&) result
);
2419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2427 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2428 PyObject
*resultobj
;
2429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2432 int *arg4
= (int *) 0 ;
2433 int *arg5
= (int *) 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2440 PyObject
* obj2
= 0 ;
2442 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2443 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2444 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 arg2
= (int)SWIG_As_int(obj1
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2449 arg3
= (int)SWIG_As_int(obj2
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2459 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2460 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2461 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2462 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2469 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2474 argc
= PyObject_Length(args
);
2475 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2476 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2482 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2491 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2494 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2510 _v
= SWIG_Check_int(argv
[1]);
2512 _v
= SWIG_Check_int(argv
[2]);
2514 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2520 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2525 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2530 (char *) "self", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 (arg1
)->AdjustScrollbars();
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 Py_INCREF(Py_None
); resultobj
= Py_None
;
2550 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2553 wxScrollWinEvent
*arg2
= 0 ;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 (char *) "self",(char *) "event", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2568 PyErr_SetString(PyExc_TypeError
,"null reference");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 resultobj
= SWIG_From_int((int)result
);
2585 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2588 wxWindow
*arg2
= (wxWindow
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2592 (char *) "self",(char *) "target", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 (arg1
)->SetTargetWindow(arg2
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 Py_INCREF(Py_None
); resultobj
= Py_None
;
2614 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "self", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= wxPyMake_wxObject(result
, 0);
2642 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2648 PyObject
* obj1
= 0 ;
2650 (char *) "self",(char *) "rect", NULL
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2658 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 Py_INCREF(Py_None
); resultobj
= Py_None
;
2674 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2695 resultptr
= new wxRect((wxRect
&) result
);
2696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2704 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2706 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2708 PyObject
* obj0
= 0 ;
2709 PyObject
* obj1
= 0 ;
2711 (char *) "self",(char *) "dc", NULL
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2721 PyErr_SetString(PyExc_TypeError
,"null reference");
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 (arg1
)->DoPrepareDC(*arg2
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2731 Py_INCREF(Py_None
); resultobj
= Py_None
;
2738 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2741 wxVisualAttributes result
;
2742 PyObject
* obj0
= 0 ;
2744 (char *) "variant", NULL
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2749 arg1
= (int)SWIG_As_int(obj0
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2753 if (!wxPyCheckForApp()) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2761 wxVisualAttributes
* resultptr
;
2762 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2771 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2774 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2776 return Py_BuildValue((char *)"");
2778 static int _wrap_FrameNameStr_set(PyObject
*) {
2779 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2784 static PyObject
*_wrap_FrameNameStr_get() {
2789 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2791 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2798 static int _wrap_DialogNameStr_set(PyObject
*) {
2799 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2804 static PyObject
*_wrap_DialogNameStr_get() {
2809 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2811 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2818 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2819 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2824 static PyObject
*_wrap_StatusLineNameStr_get() {
2829 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2831 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2838 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2839 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2844 static PyObject
*_wrap_ToolBarNameStr_get() {
2849 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2851 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2858 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2861 bool arg2
= (bool) True
;
2862 PyObject
* obj0
= 0 ;
2863 PyObject
* obj1
= 0 ;
2865 (char *) "self",(char *) "maximize", NULL
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2872 arg2
= (bool)SWIG_As_bool(obj1
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 (arg1
)->Maximize(arg2
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2882 Py_INCREF(Py_None
); resultobj
= Py_None
;
2889 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
*resultobj
;
2891 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2894 (char *) "self", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 Py_INCREF(Py_None
); resultobj
= Py_None
;
2914 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
*resultobj
;
2916 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2917 bool arg2
= (bool) True
;
2918 PyObject
* obj0
= 0 ;
2919 PyObject
* obj1
= 0 ;
2921 (char *) "self",(char *) "iconize", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2928 arg2
= (bool)SWIG_As_bool(obj1
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 (arg1
)->Iconize(arg2
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2938 Py_INCREF(Py_None
); resultobj
= Py_None
;
2945 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2949 PyObject
* obj0
= 0 ;
2951 (char *) "self", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2973 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2977 PyObject
* obj0
= 0 ;
2979 (char *) "self", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3007 (char *) "self", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3022 resultptr
= new wxIcon((wxIcon
&) result
);
3023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3031 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3035 PyObject
* obj0
= 0 ;
3036 PyObject
* obj1
= 0 ;
3038 (char *) "self",(char *) "icon", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3048 PyErr_SetString(PyExc_TypeError
,"null reference");
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3058 Py_INCREF(Py_None
); resultobj
= Py_None
;
3065 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3068 wxIconBundle
*arg2
= 0 ;
3069 PyObject
* obj0
= 0 ;
3070 PyObject
* obj1
= 0 ;
3072 (char *) "self",(char *) "icons", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3082 PyErr_SetString(PyExc_TypeError
,"null reference");
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 Py_INCREF(Py_None
); resultobj
= Py_None
;
3099 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3103 long arg3
= (long) wxFULLSCREEN_ALL
;
3105 PyObject
* obj0
= 0 ;
3106 PyObject
* obj1
= 0 ;
3107 PyObject
* obj2
= 0 ;
3109 (char *) "self",(char *) "show",(char *) "style", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 arg2
= (bool)SWIG_As_bool(obj1
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 arg3
= (long)SWIG_As_long(obj2
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3137 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3143 (char *) "self", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3165 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3168 wxString
*arg2
= 0 ;
3169 bool temp2
= False
;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3173 (char *) "self",(char *) "title", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3180 arg2
= wxString_in_helper(obj1
);
3181 if (arg2
== NULL
) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 (arg1
)->SetTitle((wxString
const &)*arg2
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 Py_INCREF(Py_None
); resultobj
= Py_None
;
3206 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3238 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3241 wxRegion
*arg2
= 0 ;
3243 PyObject
* obj0
= 0 ;
3244 PyObject
* obj1
= 0 ;
3246 (char *) "self",(char *) "region", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3256 PyErr_SetString(PyExc_TypeError
,"null reference");
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3275 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3278 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3279 PyObject
* obj0
= 0 ;
3280 PyObject
* obj1
= 0 ;
3282 (char *) "self",(char *) "flags", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3289 arg2
= (int)SWIG_As_int(obj1
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 (arg1
)->RequestUserAttention(arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3309 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3311 return Py_BuildValue((char *)"");
3313 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxWindow
*arg1
= (wxWindow
*) 0 ;
3316 int arg2
= (int) (int)-1 ;
3317 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3318 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3323 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3324 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3325 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3327 bool temp3
= False
;
3330 bool temp7
= False
;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3333 PyObject
* obj2
= 0 ;
3334 PyObject
* obj3
= 0 ;
3335 PyObject
* obj4
= 0 ;
3336 PyObject
* obj5
= 0 ;
3337 PyObject
* obj6
= 0 ;
3339 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3346 arg2
= (int)SWIG_As_int(obj1
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3351 arg3
= wxString_in_helper(obj2
);
3352 if (arg3
== NULL
) SWIG_fail
;
3359 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3365 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3369 arg6
= (long)SWIG_As_long(obj5
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3374 arg7
= wxString_in_helper(obj6
);
3375 if (arg7
== NULL
) SWIG_fail
;
3380 if (!wxPyCheckForApp()) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3410 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3419 if (!wxPyCheckForApp()) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 result
= (wxFrame
*)new wxFrame();
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3433 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxFrame
*arg1
= (wxFrame
*) 0 ;
3436 wxWindow
*arg2
= (wxWindow
*) 0 ;
3437 int arg3
= (int) (int)-1 ;
3438 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3439 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3440 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3441 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3442 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3443 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3444 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3445 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3446 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3448 bool temp4
= False
;
3451 bool temp8
= False
;
3452 PyObject
* obj0
= 0 ;
3453 PyObject
* obj1
= 0 ;
3454 PyObject
* obj2
= 0 ;
3455 PyObject
* obj3
= 0 ;
3456 PyObject
* obj4
= 0 ;
3457 PyObject
* obj5
= 0 ;
3458 PyObject
* obj6
= 0 ;
3459 PyObject
* obj7
= 0 ;
3461 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 arg3
= (int)SWIG_As_int(obj2
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3475 arg4
= wxString_in_helper(obj3
);
3476 if (arg4
== NULL
) SWIG_fail
;
3483 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3489 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3493 arg7
= (long)SWIG_As_long(obj6
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3498 arg8
= wxString_in_helper(obj7
);
3499 if (arg8
== NULL
) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3535 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
*resultobj
;
3537 wxFrame
*arg1
= (wxFrame
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3541 (char *) "self", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3555 wxPoint
* resultptr
;
3556 resultptr
= new wxPoint((wxPoint
&) result
);
3557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3565 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxFrame
*arg1
= (wxFrame
*) 0 ;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "self", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 (arg1
)->SendSizeEvent();
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxFrame
*arg1
= (wxFrame
*) 0 ;
3593 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3594 PyObject
* obj0
= 0 ;
3595 PyObject
* obj1
= 0 ;
3597 (char *) "self",(char *) "menubar", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 (arg1
)->SetMenuBar(arg2
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 Py_INCREF(Py_None
); resultobj
= Py_None
;
3619 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxFrame
*arg1
= (wxFrame
*) 0 ;
3623 PyObject
* obj0
= 0 ;
3625 (char *) "self", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3639 resultobj
= wxPyMake_wxObject(result
, 0);
3647 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxFrame
*arg1
= (wxFrame
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3655 (char *) "self",(char *) "winid", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 arg2
= (int)SWIG_As_int(obj1
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxFrame
*arg1
= (wxFrame
*) 0 ;
3682 int arg2
= (int) 1 ;
3683 long arg3
= (long) wxST_SIZEGRIP
;
3684 int arg4
= (int) 0 ;
3685 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3686 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3687 wxStatusBar
*result
;
3688 bool temp5
= False
;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3691 PyObject
* obj2
= 0 ;
3692 PyObject
* obj3
= 0 ;
3693 PyObject
* obj4
= 0 ;
3695 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3702 arg2
= (int)SWIG_As_int(obj1
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3706 arg3
= (long)SWIG_As_long(obj2
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3710 arg4
= (int)SWIG_As_int(obj3
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3715 arg5
= wxString_in_helper(obj4
);
3716 if (arg5
== NULL
) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= wxPyMake_wxObject(result
, 0);
3744 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxFrame
*arg1
= (wxFrame
*) 0 ;
3747 wxStatusBar
*result
;
3748 PyObject
* obj0
= 0 ;
3750 (char *) "self", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= wxPyMake_wxObject(result
, 0);
3772 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxFrame
*arg1
= (wxFrame
*) 0 ;
3775 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3779 (char *) "self",(char *) "statBar", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 (arg1
)->SetStatusBar(arg2
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 Py_INCREF(Py_None
); resultobj
= Py_None
;
3801 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3803 wxFrame
*arg1
= (wxFrame
*) 0 ;
3804 wxString
*arg2
= 0 ;
3805 int arg3
= (int) 0 ;
3806 bool temp2
= False
;
3807 PyObject
* obj0
= 0 ;
3808 PyObject
* obj1
= 0 ;
3809 PyObject
* obj2
= 0 ;
3811 (char *) "self",(char *) "text",(char *) "number", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3818 arg2
= wxString_in_helper(obj1
);
3819 if (arg2
== NULL
) SWIG_fail
;
3823 arg3
= (int)SWIG_As_int(obj2
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxFrame
*arg1
= (wxFrame
*) 0 ;
3852 int *arg3
= (int *) 0 ;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3856 (char *) "self",(char *) "widths", NULL
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3863 arg2
= PyList_Size(obj1
);
3864 arg3
= int_LIST_helper(obj1
);
3865 if (arg3
== NULL
) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 Py_INCREF(Py_None
); resultobj
= Py_None
;
3876 if (arg3
) delete [] arg3
;
3881 if (arg3
) delete [] arg3
;
3887 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxFrame
*arg1
= (wxFrame
*) 0 ;
3890 wxString
*arg2
= 0 ;
3891 int arg3
= (int) 0 ;
3892 bool temp2
= False
;
3893 PyObject
* obj0
= 0 ;
3894 PyObject
* obj1
= 0 ;
3895 PyObject
* obj2
= 0 ;
3897 (char *) "self",(char *) "text",(char *) "number", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3904 arg2
= wxString_in_helper(obj1
);
3905 if (arg2
== NULL
) SWIG_fail
;
3909 arg3
= (int)SWIG_As_int(obj2
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 Py_INCREF(Py_None
); resultobj
= Py_None
;
3934 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxFrame
*arg1
= (wxFrame
*) 0 ;
3937 int arg2
= (int) 0 ;
3938 PyObject
* obj0
= 0 ;
3939 PyObject
* obj1
= 0 ;
3941 (char *) "self",(char *) "number", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3948 arg2
= (int)SWIG_As_int(obj1
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 (arg1
)->PopStatusText(arg2
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxFrame
*arg1
= (wxFrame
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3970 PyObject
* obj1
= 0 ;
3972 (char *) "self",(char *) "n", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (int)SWIG_As_int(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 (arg1
)->SetStatusBarPane(arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxFrame
*arg1
= (wxFrame
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_From_int((int)result
);
4020 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxFrame
*arg1
= (wxFrame
*) 0 ;
4023 long arg2
= (long) -1 ;
4024 int arg3
= (int) -1 ;
4025 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4028 bool temp4
= False
;
4029 PyObject
* obj0
= 0 ;
4030 PyObject
* obj1
= 0 ;
4031 PyObject
* obj2
= 0 ;
4032 PyObject
* obj3
= 0 ;
4034 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 arg2
= (long)SWIG_As_long(obj1
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4045 arg3
= (int)SWIG_As_int(obj2
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4050 arg4
= wxString_in_helper(obj3
);
4051 if (arg4
== NULL
) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= wxPyMake_wxObject(result
, 0);
4079 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxFrame
*arg1
= (wxFrame
*) 0 ;
4083 PyObject
* obj0
= 0 ;
4085 (char *) "self", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= wxPyMake_wxObject(result
, 0);
4107 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxFrame
*arg1
= (wxFrame
*) 0 ;
4110 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4114 (char *) "self",(char *) "toolbar", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->SetToolBar(arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxFrame
*arg1
= (wxFrame
*) 0 ;
4139 wxString
*arg2
= 0 ;
4141 bool temp2
= False
;
4142 PyObject
* obj0
= 0 ;
4143 PyObject
* obj1
= 0 ;
4144 PyObject
* obj2
= 0 ;
4146 (char *) "self",(char *) "text",(char *) "show", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 arg2
= wxString_in_helper(obj1
);
4154 if (arg2
== NULL
) SWIG_fail
;
4157 arg3
= (bool)SWIG_As_bool(obj2
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 Py_INCREF(Py_None
); resultobj
= Py_None
;
4181 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxFrame
*arg1
= (wxFrame
*) 0 ;
4184 wxMenu
*arg2
= (wxMenu
*) NULL
;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4188 (char *) "self",(char *) "menu", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 (arg1
)->DoMenuUpdates(arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4215 wxVisualAttributes result
;
4216 PyObject
* obj0
= 0 ;
4218 (char *) "variant", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4223 arg1
= (int)SWIG_As_int(obj0
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 if (!wxPyCheckForApp()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4235 wxVisualAttributes
* resultptr
;
4236 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4245 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4248 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4250 return Py_BuildValue((char *)"");
4252 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxWindow
*arg1
= (wxWindow
*) 0 ;
4255 int arg2
= (int) (int)-1 ;
4256 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4257 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4262 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4263 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4264 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4266 bool temp3
= False
;
4269 bool temp7
= False
;
4270 PyObject
* obj0
= 0 ;
4271 PyObject
* obj1
= 0 ;
4272 PyObject
* obj2
= 0 ;
4273 PyObject
* obj3
= 0 ;
4274 PyObject
* obj4
= 0 ;
4275 PyObject
* obj5
= 0 ;
4276 PyObject
* obj6
= 0 ;
4278 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4285 arg2
= (int)SWIG_As_int(obj1
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4290 arg3
= wxString_in_helper(obj2
);
4291 if (arg3
== NULL
) SWIG_fail
;
4298 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4304 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4308 arg6
= (long)SWIG_As_long(obj5
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4313 arg7
= wxString_in_helper(obj6
);
4314 if (arg7
== NULL
) SWIG_fail
;
4319 if (!wxPyCheckForApp()) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4349 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4358 if (!wxPyCheckForApp()) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 result
= (wxDialog
*)new wxDialog();
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4372 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxDialog
*arg1
= (wxDialog
*) 0 ;
4375 wxWindow
*arg2
= (wxWindow
*) 0 ;
4376 int arg3
= (int) (int)-1 ;
4377 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4378 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4379 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4380 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4381 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4382 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4383 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4384 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4387 bool temp4
= False
;
4390 bool temp8
= False
;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 PyObject
* obj2
= 0 ;
4394 PyObject
* obj3
= 0 ;
4395 PyObject
* obj4
= 0 ;
4396 PyObject
* obj5
= 0 ;
4397 PyObject
* obj6
= 0 ;
4398 PyObject
* obj7
= 0 ;
4400 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4409 arg3
= (int)SWIG_As_int(obj2
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4414 arg4
= wxString_in_helper(obj3
);
4415 if (arg4
== NULL
) SWIG_fail
;
4422 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4428 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4432 arg7
= (long)SWIG_As_long(obj6
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4437 arg8
= wxString_in_helper(obj7
);
4438 if (arg8
== NULL
) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4474 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxDialog
*arg1
= (wxDialog
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4481 (char *) "self",(char *) "returnCode", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 arg2
= (int)SWIG_As_int(obj1
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 (arg1
)->SetReturnCode(arg2
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 Py_INCREF(Py_None
); resultobj
= Py_None
;
4503 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxDialog
*arg1
= (wxDialog
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "self", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= SWIG_From_int((int)result
);
4529 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxDialog
*arg1
= (wxDialog
*) 0 ;
4532 wxString
*arg2
= 0 ;
4534 bool temp2
= False
;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "message", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4545 arg2
= wxString_in_helper(obj1
);
4546 if (arg2
== NULL
) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= wxPyMake_wxSizer(result
, 0);
4573 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
;
4575 wxDialog
*arg1
= (wxDialog
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4581 (char *) "self",(char *) "flags", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4587 arg2
= (long)SWIG_As_long(obj1
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= wxPyMake_wxSizer(result
, 0);
4605 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxDialog
*arg1
= (wxDialog
*) 0 ;
4609 PyObject
* obj0
= 0 ;
4611 (char *) "self", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4633 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxDialog
*arg1
= (wxDialog
*) 0 ;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (int)(arg1
)->ShowModal();
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= SWIG_From_int((int)result
);
4659 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxDialog
*arg1
= (wxDialog
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4664 PyObject
* obj1
= 0 ;
4666 (char *) "self",(char *) "retCode", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 arg2
= (int)SWIG_As_int(obj1
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 (arg1
)->EndModal(arg2
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4688 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4691 wxVisualAttributes result
;
4692 PyObject
* obj0
= 0 ;
4694 (char *) "variant", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4699 arg1
= (int)SWIG_As_int(obj0
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4703 if (!wxPyCheckForApp()) SWIG_fail
;
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4711 wxVisualAttributes
* resultptr
;
4712 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4721 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4724 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4726 return Py_BuildValue((char *)"");
4728 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxWindow
*arg1
= (wxWindow
*) 0 ;
4731 int arg2
= (int) (int)-1 ;
4732 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4733 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4738 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4739 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4740 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4741 wxMiniFrame
*result
;
4742 bool temp3
= False
;
4745 bool temp7
= False
;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4748 PyObject
* obj2
= 0 ;
4749 PyObject
* obj3
= 0 ;
4750 PyObject
* obj4
= 0 ;
4751 PyObject
* obj5
= 0 ;
4752 PyObject
* obj6
= 0 ;
4754 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4761 arg2
= (int)SWIG_As_int(obj1
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4766 arg3
= wxString_in_helper(obj2
);
4767 if (arg3
== NULL
) SWIG_fail
;
4774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4784 arg6
= (long)SWIG_As_long(obj5
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4789 arg7
= wxString_in_helper(obj6
);
4790 if (arg7
== NULL
) SWIG_fail
;
4795 if (!wxPyCheckForApp()) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4825 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxMiniFrame
*result
;
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4834 if (!wxPyCheckForApp()) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (wxMiniFrame
*)new wxMiniFrame();
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4848 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4851 wxWindow
*arg2
= (wxWindow
*) 0 ;
4852 int arg3
= (int) (int)-1 ;
4853 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4854 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4855 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4856 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4857 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4858 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4859 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4860 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4861 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4863 bool temp4
= False
;
4866 bool temp8
= False
;
4867 PyObject
* obj0
= 0 ;
4868 PyObject
* obj1
= 0 ;
4869 PyObject
* obj2
= 0 ;
4870 PyObject
* obj3
= 0 ;
4871 PyObject
* obj4
= 0 ;
4872 PyObject
* obj5
= 0 ;
4873 PyObject
* obj6
= 0 ;
4874 PyObject
* obj7
= 0 ;
4876 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4885 arg3
= (int)SWIG_As_int(obj2
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4890 arg4
= wxString_in_helper(obj3
);
4891 if (arg4
== NULL
) SWIG_fail
;
4898 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4904 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4908 arg7
= (long)SWIG_As_long(obj6
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4913 arg8
= wxString_in_helper(obj7
);
4914 if (arg8
== NULL
) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4950 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4953 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4955 return Py_BuildValue((char *)"");
4957 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxBitmap
*arg1
= 0 ;
4960 wxWindow
*arg2
= (wxWindow
*) 0 ;
4962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4966 long arg6
= (long) wxNO_BORDER
;
4967 wxSplashScreenWindow
*result
;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4972 PyObject
* obj2
= 0 ;
4973 PyObject
* obj3
= 0 ;
4974 PyObject
* obj4
= 0 ;
4975 PyObject
* obj5
= 0 ;
4977 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4985 PyErr_SetString(PyExc_TypeError
,"null reference");
4988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4990 arg3
= (int)SWIG_As_int(obj2
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5005 arg6
= (long)SWIG_As_long(obj5
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5009 if (!wxPyCheckForApp()) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5023 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5026 wxBitmap
*arg2
= 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5030 (char *) "self",(char *) "bitmap", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5040 PyErr_SetString(PyExc_TypeError
,"null reference");
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 Py_INCREF(Py_None
); resultobj
= Py_None
;
5057 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
;
5059 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5063 (char *) "self", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5073 result
= (wxBitmap
*) &_result_ref
;
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5080 wxBitmap
* resultptr
= new wxBitmap(*result
);
5081 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5089 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5092 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5094 return Py_BuildValue((char *)"");
5096 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxBitmap
*arg1
= 0 ;
5101 wxWindow
*arg4
= (wxWindow
*) 0 ;
5102 int arg5
= (int) -1 ;
5103 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5104 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5105 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5106 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5107 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5108 wxSplashScreen
*result
;
5111 PyObject
* obj0
= 0 ;
5112 PyObject
* obj1
= 0 ;
5113 PyObject
* obj2
= 0 ;
5114 PyObject
* obj3
= 0 ;
5115 PyObject
* obj4
= 0 ;
5116 PyObject
* obj5
= 0 ;
5117 PyObject
* obj6
= 0 ;
5118 PyObject
* obj7
= 0 ;
5120 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5128 PyErr_SetString(PyExc_TypeError
,"null reference");
5131 arg2
= (long)SWIG_As_long(obj1
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5133 arg3
= (int)SWIG_As_int(obj2
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5135 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5138 arg5
= (int)SWIG_As_int(obj4
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5144 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5150 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5154 arg8
= (long)SWIG_As_long(obj7
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5158 if (!wxPyCheckForApp()) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5172 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5178 (char *) "self", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 resultobj
= SWIG_From_long((long)result
);
5198 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5201 wxSplashScreenWindow
*result
;
5202 PyObject
* obj0
= 0 ;
5204 (char *) "self", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5224 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5230 (char *) "self", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_From_int((int)result
);
5250 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5253 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5255 return Py_BuildValue((char *)"");
5257 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxWindow
*arg1
= (wxWindow
*) 0 ;
5260 int arg2
= (int) -1 ;
5261 long arg3
= (long) wxST_SIZEGRIP
;
5262 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5263 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5264 wxStatusBar
*result
;
5265 bool temp4
= False
;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5268 PyObject
* obj2
= 0 ;
5269 PyObject
* obj3
= 0 ;
5271 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5278 arg2
= (int)SWIG_As_int(obj1
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 arg3
= (long)SWIG_As_long(obj2
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5287 arg4
= wxString_in_helper(obj3
);
5288 if (arg4
== NULL
) SWIG_fail
;
5293 if (!wxPyCheckForApp()) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5315 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxStatusBar
*result
;
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5324 if (!wxPyCheckForApp()) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= (wxStatusBar
*)new wxStatusBar();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5338 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5341 wxWindow
*arg2
= (wxWindow
*) 0 ;
5342 int arg3
= (int) -1 ;
5343 long arg4
= (long) wxST_SIZEGRIP
;
5344 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5345 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5347 bool temp5
= False
;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 PyObject
* obj2
= 0 ;
5351 PyObject
* obj3
= 0 ;
5352 PyObject
* obj4
= 0 ;
5354 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5363 arg3
= (int)SWIG_As_int(obj2
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 arg4
= (long)SWIG_As_long(obj3
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5372 arg5
= wxString_in_helper(obj4
);
5373 if (arg5
== NULL
) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5401 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5404 int arg2
= (int) 1 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5408 (char *) "self",(char *) "number", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5415 arg2
= (int)SWIG_As_int(obj1
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 (arg1
)->SetFieldsCount(arg2
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 Py_INCREF(Py_None
); resultobj
= Py_None
;
5432 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5438 (char *) "self", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_From_int((int)result
);
5458 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5461 wxString
*arg2
= 0 ;
5462 int arg3
= (int) 0 ;
5463 bool temp2
= False
;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5466 PyObject
* obj2
= 0 ;
5468 (char *) "self",(char *) "text",(char *) "number", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 arg2
= wxString_in_helper(obj1
);
5476 if (arg2
== NULL
) SWIG_fail
;
5480 arg3
= (int)SWIG_As_int(obj2
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 Py_INCREF(Py_None
); resultobj
= Py_None
;
5505 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5508 int arg2
= (int) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5513 (char *) "self",(char *) "number", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5520 arg2
= (int)SWIG_As_int(obj1
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5543 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5546 wxString
*arg2
= 0 ;
5547 int arg3
= (int) 0 ;
5548 bool temp2
= False
;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5551 PyObject
* obj2
= 0 ;
5553 (char *) "self",(char *) "text",(char *) "number", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 arg2
= wxString_in_helper(obj1
);
5561 if (arg2
== NULL
) SWIG_fail
;
5565 arg3
= (int)SWIG_As_int(obj2
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 Py_INCREF(Py_None
); resultobj
= Py_None
;
5590 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5593 int arg2
= (int) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5597 (char *) "self",(char *) "number", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5604 arg2
= (int)SWIG_As_int(obj1
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 (arg1
)->PopStatusText(arg2
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5625 int *arg3
= (int *) 0 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5629 (char *) "self",(char *) "widths", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 arg2
= PyList_Size(obj1
);
5637 arg3
= int_LIST_helper(obj1
);
5638 if (arg3
== NULL
) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 Py_INCREF(Py_None
); resultobj
= Py_None
;
5649 if (arg3
) delete [] arg3
;
5654 if (arg3
) delete [] arg3
;
5660 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5664 int *arg3
= (int *) 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5668 (char *) "self",(char *) "styles", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 arg2
= PyList_Size(obj1
);
5676 arg3
= int_LIST_helper(obj1
);
5677 if (arg3
== NULL
) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 Py_INCREF(Py_None
); resultobj
= Py_None
;
5688 if (arg3
) delete [] arg3
;
5693 if (arg3
) delete [] arg3
;
5699 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5704 PyObject
* obj0
= 0 ;
5705 PyObject
* obj1
= 0 ;
5707 (char *) "self",(char *) "i", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5713 arg2
= (int)SWIG_As_int(obj1
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5724 resultptr
= new wxRect((wxRect
&) result
);
5725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5733 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5738 PyObject
* obj1
= 0 ;
5740 (char *) "self",(char *) "height", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 arg2
= (int)SWIG_As_int(obj1
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 (arg1
)->SetMinHeight(arg2
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 Py_INCREF(Py_None
); resultobj
= Py_None
;
5762 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
;
5764 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5768 (char *) "self", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= SWIG_From_int((int)result
);
5788 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= SWIG_From_int((int)result
);
5814 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5817 wxVisualAttributes result
;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "variant", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5825 arg1
= (int)SWIG_As_int(obj0
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5829 if (!wxPyCheckForApp()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 wxVisualAttributes
* resultptr
;
5838 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5847 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5850 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5852 return Py_BuildValue((char *)"");
5854 static int _wrap_SplitterNameStr_set(PyObject
*) {
5855 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5860 static PyObject
*_wrap_SplitterNameStr_get() {
5865 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5867 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5874 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxWindow
*arg1
= (wxWindow
*) 0 ;
5877 int arg2
= (int) -1 ;
5878 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5879 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5880 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5881 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5882 long arg5
= (long) wxSP_3D
;
5883 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5884 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5885 wxSplitterWindow
*result
;
5888 bool temp6
= False
;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5891 PyObject
* obj2
= 0 ;
5892 PyObject
* obj3
= 0 ;
5893 PyObject
* obj4
= 0 ;
5894 PyObject
* obj5
= 0 ;
5896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 arg2
= (int)SWIG_As_int(obj1
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5915 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5919 arg5
= (long)SWIG_As_long(obj4
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5924 arg6
= wxString_in_helper(obj5
);
5925 if (arg6
== NULL
) SWIG_fail
;
5930 if (!wxPyCheckForApp()) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5952 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxSplitterWindow
*result
;
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5961 if (!wxPyCheckForApp()) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5975 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5978 wxWindow
*arg2
= (wxWindow
*) 0 ;
5979 int arg3
= (int) -1 ;
5980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5984 long arg6
= (long) wxSP_3D
;
5985 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5990 bool temp7
= False
;
5991 PyObject
* obj0
= 0 ;
5992 PyObject
* obj1
= 0 ;
5993 PyObject
* obj2
= 0 ;
5994 PyObject
* obj3
= 0 ;
5995 PyObject
* obj4
= 0 ;
5996 PyObject
* obj5
= 0 ;
5997 PyObject
* obj6
= 0 ;
5999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6008 arg3
= (int)SWIG_As_int(obj2
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6014 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6020 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6024 arg6
= (long)SWIG_As_long(obj5
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6029 arg7
= wxString_in_helper(obj6
);
6030 if (arg7
== NULL
) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6062 PyObject
* obj0
= 0 ;
6064 (char *) "self", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= wxPyMake_wxObject(result
, 0);
6086 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6088 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "self", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6106 resultobj
= wxPyMake_wxObject(result
, 0);
6114 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6121 (char *) "self",(char *) "mode", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 arg2
= (int)SWIG_As_int(obj1
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 (arg1
)->SetSplitMode(arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 Py_INCREF(Py_None
); resultobj
= Py_None
;
6143 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "self", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_From_int((int)result
);
6169 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6172 wxWindow
*arg2
= (wxWindow
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6176 (char *) "self",(char *) "window", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 (arg1
)->Initialize(arg2
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 Py_INCREF(Py_None
); resultobj
= Py_None
;
6198 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6201 wxWindow
*arg2
= (wxWindow
*) 0 ;
6202 wxWindow
*arg3
= (wxWindow
*) 0 ;
6203 int arg4
= (int) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 PyObject
* obj2
= 0 ;
6208 PyObject
* obj3
= 0 ;
6210 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6218 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6221 arg4
= (int)SWIG_As_int(obj3
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6240 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6243 wxWindow
*arg2
= (wxWindow
*) 0 ;
6244 wxWindow
*arg3
= (wxWindow
*) 0 ;
6245 int arg4
= (int) 0 ;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj1
= 0 ;
6249 PyObject
* obj2
= 0 ;
6250 PyObject
* obj3
= 0 ;
6252 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6260 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 arg4
= (int)SWIG_As_int(obj3
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6282 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6285 wxWindow
*arg2
= (wxWindow
*) NULL
;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "toRemove", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (bool)(arg1
)->Unsplit(arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6316 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6319 wxWindow
*arg2
= (wxWindow
*) 0 ;
6320 wxWindow
*arg3
= (wxWindow
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 PyObject
* obj2
= 0 ;
6326 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6352 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6357 (char *) "self", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 (arg1
)->UpdateSize();
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 Py_INCREF(Py_None
); resultobj
= Py_None
;
6377 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6383 (char *) "self", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6412 (char *) "self",(char *) "width", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 arg2
= (int)SWIG_As_int(obj1
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 (arg1
)->SetSashSize(arg2
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 Py_INCREF(Py_None
); resultobj
= Py_None
;
6434 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6441 (char *) "self",(char *) "width", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 arg2
= (int)SWIG_As_int(obj1
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 (arg1
)->SetBorderSize(arg2
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= SWIG_From_int((int)result
);
6489 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_From_int((int)result
);
6515 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6519 bool arg3
= (bool) True
;
6520 PyObject
* obj0
= 0 ;
6521 PyObject
* obj1
= 0 ;
6522 PyObject
* obj2
= 0 ;
6524 (char *) "self",(char *) "position",(char *) "redraw", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 arg2
= (int)SWIG_As_int(obj1
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 arg3
= (bool)SWIG_As_bool(obj2
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 (arg1
)->SetSashPosition(arg2
,arg3
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 Py_INCREF(Py_None
); resultobj
= Py_None
;
6550 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6556 (char *) "self", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= SWIG_From_int((int)result
);
6576 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
;
6578 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6580 PyObject
* obj0
= 0 ;
6581 PyObject
* obj1
= 0 ;
6583 (char *) "self",(char *) "min", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 arg2
= (int)SWIG_As_int(obj1
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 (arg1
)->SetMinimumPaneSize(arg2
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 Py_INCREF(Py_None
); resultobj
= Py_None
;
6605 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6611 (char *) "self", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_From_int((int)result
);
6631 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6636 int arg4
= (int) 5 ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 PyObject
* obj2
= 0 ;
6641 PyObject
* obj3
= 0 ;
6643 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 arg2
= (int)SWIG_As_int(obj1
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6651 arg3
= (int)SWIG_As_int(obj2
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 arg4
= (int)SWIG_As_int(obj3
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6673 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6678 (char *) "self", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 (arg1
)->SizeWindows();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 Py_INCREF(Py_None
); resultobj
= Py_None
;
6698 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6703 PyObject
* obj1
= 0 ;
6705 (char *) "self",(char *) "needUpdating", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6711 arg2
= (bool)SWIG_As_bool(obj1
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 (arg1
)->SetNeedUpdating(arg2
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 Py_INCREF(Py_None
); resultobj
= Py_None
;
6727 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6733 (char *) "self", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6755 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6758 wxVisualAttributes result
;
6759 PyObject
* obj0
= 0 ;
6761 (char *) "variant", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6766 arg1
= (int)SWIG_As_int(obj0
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6770 if (!wxPyCheckForApp()) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6778 wxVisualAttributes
* resultptr
;
6779 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6788 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6791 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6793 return Py_BuildValue((char *)"");
6795 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6798 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6799 wxSplitterEvent
*result
;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6803 (char *) "type",(char *) "splitter", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6829 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "pos", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 arg2
= (int)SWIG_As_int(obj1
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 (arg1
)->SetSashPosition(arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_From_int((int)result
);
6884 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= wxPyMake_wxObject(result
, 0);
6912 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= SWIG_From_int((int)result
);
6938 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_From_int((int)result
);
6964 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6967 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6969 return Py_BuildValue((char *)"");
6971 static int _wrap_SashNameStr_set(PyObject
*) {
6972 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6977 static PyObject
*_wrap_SashNameStr_get() {
6982 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6984 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6991 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6992 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6997 static PyObject
*_wrap_SashLayoutNameStr_get() {
7002 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7004 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7011 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxWindow
*arg1
= (wxWindow
*) 0 ;
7014 int arg2
= (int) -1 ;
7015 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7016 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7017 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7018 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7019 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7020 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7021 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7022 wxSashWindow
*result
;
7025 bool temp6
= False
;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7028 PyObject
* obj2
= 0 ;
7029 PyObject
* obj3
= 0 ;
7030 PyObject
* obj4
= 0 ;
7031 PyObject
* obj5
= 0 ;
7033 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7040 arg2
= (int)SWIG_As_int(obj1
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7046 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7052 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7056 arg5
= (long)SWIG_As_long(obj4
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7061 arg6
= wxString_in_helper(obj5
);
7062 if (arg6
== NULL
) SWIG_fail
;
7067 if (!wxPyCheckForApp()) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7089 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxSashWindow
*result
;
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7098 if (!wxPyCheckForApp()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (wxSashWindow
*)new wxSashWindow();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7112 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7115 wxWindow
*arg2
= (wxWindow
*) 0 ;
7116 int arg3
= (int) -1 ;
7117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7121 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7122 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7123 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7127 bool temp7
= False
;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7130 PyObject
* obj2
= 0 ;
7131 PyObject
* obj3
= 0 ;
7132 PyObject
* obj4
= 0 ;
7133 PyObject
* obj5
= 0 ;
7134 PyObject
* obj6
= 0 ;
7136 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7145 arg3
= (int)SWIG_As_int(obj2
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7161 arg6
= (long)SWIG_As_long(obj5
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7166 arg7
= wxString_in_helper(obj6
);
7167 if (arg7
== NULL
) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7195 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7201 PyObject
* obj1
= 0 ;
7202 PyObject
* obj2
= 0 ;
7204 (char *) "self",(char *) "edge",(char *) "sash", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7210 arg2
= (int)SWIG_As_int(obj1
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7212 arg3
= (bool)SWIG_As_bool(obj2
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7236 (char *) "self",(char *) "edge", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7242 arg2
= (int)SWIG_As_int(obj1
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7260 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7269 (char *) "self",(char *) "edge",(char *) "border", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7275 arg2
= (int)SWIG_As_int(obj1
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7277 arg3
= (bool)SWIG_As_bool(obj2
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 Py_INCREF(Py_None
); resultobj
= Py_None
;
7293 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7301 (char *) "self",(char *) "edge", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7307 arg2
= (int)SWIG_As_int(obj1
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7325 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7333 (char *) "self",(char *) "edge", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg2
= (int)SWIG_As_int(obj1
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= SWIG_From_int((int)result
);
7355 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7360 PyObject
* obj1
= 0 ;
7362 (char *) "self",(char *) "width", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 arg2
= (int)SWIG_As_int(obj1
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 (arg1
)->SetDefaultBorderSize(arg2
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7388 PyObject
* obj0
= 0 ;
7390 (char *) "self", NULL
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= SWIG_From_int((int)result
);
7410 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7417 (char *) "self",(char *) "width", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7423 arg2
= (int)SWIG_As_int(obj1
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 (arg1
)->SetExtraBorderSize(arg2
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 Py_INCREF(Py_None
); resultobj
= Py_None
;
7439 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7443 PyObject
* obj0
= 0 ;
7445 (char *) "self", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_From_int((int)result
);
7465 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7472 (char *) "self",(char *) "min", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7478 arg2
= (int)SWIG_As_int(obj1
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 (arg1
)->SetMinimumSizeX(arg2
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7501 (char *) "self",(char *) "min", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7507 arg2
= (int)SWIG_As_int(obj1
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 (arg1
)->SetMinimumSizeY(arg2
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 Py_INCREF(Py_None
); resultobj
= Py_None
;
7523 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_From_int((int)result
);
7549 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7555 (char *) "self", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_From_int((int)result
);
7575 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7580 PyObject
* obj1
= 0 ;
7582 (char *) "self",(char *) "max", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7588 arg2
= (int)SWIG_As_int(obj1
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 (arg1
)->SetMaximumSizeX(arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 Py_INCREF(Py_None
); resultobj
= Py_None
;
7604 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7609 PyObject
* obj1
= 0 ;
7611 (char *) "self",(char *) "max", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7617 arg2
= (int)SWIG_As_int(obj1
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 (arg1
)->SetMaximumSizeY(arg2
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 Py_INCREF(Py_None
); resultobj
= Py_None
;
7633 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "self", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_From_int((int)result
);
7659 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7665 (char *) "self", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= SWIG_From_int((int)result
);
7685 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7690 int arg4
= (int) 2 ;
7692 PyObject
* obj0
= 0 ;
7693 PyObject
* obj1
= 0 ;
7694 PyObject
* obj2
= 0 ;
7695 PyObject
* obj3
= 0 ;
7697 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 arg2
= (int)SWIG_As_int(obj1
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7705 arg3
= (int)SWIG_As_int(obj2
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 arg4
= (int)SWIG_As_int(obj3
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= SWIG_From_int((int)result
);
7725 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 (arg1
)->SizeWindows();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 Py_INCREF(Py_None
); resultobj
= Py_None
;
7750 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7753 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7755 return Py_BuildValue((char *)"");
7757 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 int arg1
= (int) 0 ;
7760 int arg2
= (int) wxSASH_NONE
;
7761 wxSashEvent
*result
;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7765 (char *) "id",(char *) "edge", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7770 arg1
= (int)SWIG_As_int(obj0
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7774 arg2
= (int)SWIG_As_int(obj1
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7791 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "edge", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7804 arg2
= (int)SWIG_As_int(obj1
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 Py_INCREF(Py_None
); resultobj
= Py_None
;
7820 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7826 (char *) "self", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_From_int((int)result
);
7846 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7854 (char *) "self",(char *) "rect", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 Py_INCREF(Py_None
); resultobj
= Py_None
;
7878 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7899 resultptr
= new wxRect((wxRect
&) result
);
7900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7908 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7915 (char *) "self",(char *) "status", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 arg2
= (int)SWIG_As_int(obj1
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 Py_INCREF(Py_None
); resultobj
= Py_None
;
7937 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7943 (char *) "self", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_From_int((int)result
);
7963 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7966 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7968 return Py_BuildValue((char *)"");
7970 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 int arg1
= (int) 0 ;
7973 wxQueryLayoutInfoEvent
*result
;
7974 PyObject
* obj0
= 0 ;
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7981 arg1
= (int)SWIG_As_int(obj0
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7998 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8005 (char *) "self",(char *) "length", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 arg2
= (int)SWIG_As_int(obj1
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 (arg1
)->SetRequestedLength(arg2
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 Py_INCREF(Py_None
); resultobj
= Py_None
;
8027 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8031 PyObject
* obj0
= 0 ;
8033 (char *) "self", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_From_int((int)result
);
8053 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8060 (char *) "self",(char *) "flags", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8066 arg2
= (int)SWIG_As_int(obj1
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 (arg1
)->SetFlags(arg2
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 Py_INCREF(Py_None
); resultobj
= Py_None
;
8082 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "self", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= SWIG_From_int((int)result
);
8108 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8116 (char *) "self",(char *) "size", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 (arg1
)->SetSize((wxSize
const &)*arg2
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 Py_INCREF(Py_None
); resultobj
= Py_None
;
8140 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8144 PyObject
* obj0
= 0 ;
8146 (char *) "self", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8161 resultptr
= new wxSize((wxSize
&) result
);
8162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8170 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8177 (char *) "self",(char *) "orient", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 arg2
= (int)SWIG_As_int(obj1
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 Py_INCREF(Py_None
); resultobj
= Py_None
;
8199 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8203 PyObject
* obj0
= 0 ;
8205 (char *) "self", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_From_int((int)result
);
8225 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8232 (char *) "self",(char *) "align", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 arg2
= (int)SWIG_As_int(obj1
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_From_int((int)result
);
8280 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8283 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8285 return Py_BuildValue((char *)"");
8287 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 int arg1
= (int) 0 ;
8290 wxCalculateLayoutEvent
*result
;
8291 PyObject
* obj0
= 0 ;
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8298 arg1
= (int)SWIG_As_int(obj0
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8315 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8322 (char *) "self",(char *) "flags", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 arg2
= (int)SWIG_As_int(obj1
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 (arg1
)->SetFlags(arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 Py_INCREF(Py_None
); resultobj
= Py_None
;
8344 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_From_int((int)result
);
8370 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8378 (char *) "self",(char *) "rect", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 (arg1
)->SetRect((wxRect
const &)*arg2
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 Py_INCREF(Py_None
); resultobj
= Py_None
;
8402 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8406 PyObject
* obj0
= 0 ;
8408 (char *) "self", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8423 resultptr
= new wxRect((wxRect
&) result
);
8424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8432 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8435 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8437 return Py_BuildValue((char *)"");
8439 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxWindow
*arg1
= (wxWindow
*) 0 ;
8442 int arg2
= (int) -1 ;
8443 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8444 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8445 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8446 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8447 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8448 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8449 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8450 wxSashLayoutWindow
*result
;
8453 bool temp6
= False
;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8456 PyObject
* obj2
= 0 ;
8457 PyObject
* obj3
= 0 ;
8458 PyObject
* obj4
= 0 ;
8459 PyObject
* obj5
= 0 ;
8461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8468 arg2
= (int)SWIG_As_int(obj1
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8474 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8480 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8484 arg5
= (long)SWIG_As_long(obj4
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8489 arg6
= wxString_in_helper(obj5
);
8490 if (arg6
== NULL
) SWIG_fail
;
8495 if (!wxPyCheckForApp()) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8517 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxSashLayoutWindow
*result
;
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8526 if (!wxPyCheckForApp()) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8540 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8543 wxWindow
*arg2
= (wxWindow
*) 0 ;
8544 int arg3
= (int) -1 ;
8545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8549 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8550 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8555 bool temp7
= False
;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8558 PyObject
* obj2
= 0 ;
8559 PyObject
* obj3
= 0 ;
8560 PyObject
* obj4
= 0 ;
8561 PyObject
* obj5
= 0 ;
8562 PyObject
* obj6
= 0 ;
8564 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8573 arg3
= (int)SWIG_As_int(obj2
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8589 arg6
= (long)SWIG_As_long(obj5
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8594 arg7
= wxString_in_helper(obj6
);
8595 if (arg7
== NULL
) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8623 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8627 PyObject
* obj0
= 0 ;
8629 (char *) "self", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (int)(arg1
)->GetAlignment();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_From_int((int)result
);
8649 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "self", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (int)(arg1
)->GetOrientation();
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= SWIG_From_int((int)result
);
8675 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8682 (char *) "self",(char *) "alignment", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8688 arg2
= (int)SWIG_As_int(obj1
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8712 (char *) "self",(char *) "size", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8720 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8743 (char *) "self",(char *) "orientation", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8749 arg2
= (int)SWIG_As_int(obj1
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 Py_INCREF(Py_None
); resultobj
= Py_None
;
8765 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8768 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8770 return Py_BuildValue((char *)"");
8772 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxLayoutAlgorithm
*result
;
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8794 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8797 PyObject
* obj0
= 0 ;
8799 (char *) "self", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 Py_INCREF(Py_None
); resultobj
= Py_None
;
8819 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8822 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8823 wxRect
*arg3
= (wxRect
*) NULL
;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8827 PyObject
* obj2
= 0 ;
8829 (char *) "self",(char *) "frame",(char *) "rect", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8838 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8857 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8860 wxFrame
*arg2
= (wxFrame
*) 0 ;
8861 wxWindow
*arg3
= (wxWindow
*) NULL
;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8867 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8876 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8895 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8898 wxWindow
*arg2
= (wxWindow
*) 0 ;
8899 wxWindow
*arg3
= (wxWindow
*) NULL
;
8901 PyObject
* obj0
= 0 ;
8902 PyObject
* obj1
= 0 ;
8903 PyObject
* obj2
= 0 ;
8905 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8914 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8933 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8936 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8938 return Py_BuildValue((char *)"");
8940 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxWindow
*arg1
= (wxWindow
*) 0 ;
8943 int arg2
= (int) wxBORDER_NONE
;
8944 wxPopupWindow
*result
;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8948 (char *) "parent",(char *) "flags", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8955 arg2
= (int)SWIG_As_int(obj1
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8959 if (!wxPyCheckForApp()) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8973 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxPopupWindow
*result
;
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8982 if (!wxPyCheckForApp()) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (wxPopupWindow
*)new wxPopupWindow();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8996 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8999 wxWindow
*arg2
= (wxWindow
*) 0 ;
9000 int arg3
= (int) wxBORDER_NONE
;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 PyObject
* obj2
= 0 ;
9006 (char *) "self",(char *) "parent",(char *) "flags", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 arg3
= (int)SWIG_As_int(obj2
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9034 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9045 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9057 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 Py_INCREF(Py_None
); resultobj
= Py_None
;
9073 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9076 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9078 return Py_BuildValue((char *)"");
9080 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxWindow
*arg1
= (wxWindow
*) 0 ;
9083 int arg2
= (int) wxBORDER_NONE
;
9084 wxPyPopupTransientWindow
*result
;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9088 (char *) "parent",(char *) "style", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9095 arg2
= (int)SWIG_As_int(obj1
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9099 if (!wxPyCheckForApp()) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9113 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxPyPopupTransientWindow
*result
;
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9122 if (!wxPyCheckForApp()) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9136 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9139 PyObject
*arg2
= (PyObject
*) 0 ;
9140 PyObject
*arg3
= (PyObject
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9143 PyObject
* obj2
= 0 ;
9145 (char *) "self",(char *) "self",(char *) "_class", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 Py_INCREF(Py_None
); resultobj
= Py_None
;
9167 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9170 wxWindow
*arg2
= (wxWindow
*) NULL
;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9174 (char *) "self",(char *) "focus", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 (arg1
)->Popup(arg2
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 Py_INCREF(Py_None
); resultobj
= Py_None
;
9198 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9203 (char *) "self", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 Py_INCREF(Py_None
); resultobj
= Py_None
;
9223 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9226 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9228 return Py_BuildValue((char *)"");
9230 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxWindow
*arg1
= (wxWindow
*) 0 ;
9233 wxString
*arg2
= 0 ;
9234 int arg3
= (int) 100 ;
9235 wxRect
*arg4
= (wxRect
*) NULL
;
9236 wxTipWindow
*result
;
9237 bool temp2
= False
;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 PyObject
* obj2
= 0 ;
9241 PyObject
* obj3
= 0 ;
9243 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9250 arg2
= wxString_in_helper(obj1
);
9251 if (arg2
== NULL
) SWIG_fail
;
9255 arg3
= (int)SWIG_As_int(obj2
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9259 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9263 if (!wxPyCheckForApp()) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9285 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9293 (char *) "self",(char *) "rectBound", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9301 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 Py_INCREF(Py_None
); resultobj
= Py_None
;
9317 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9322 (char *) "self", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 Py_INCREF(Py_None
); resultobj
= Py_None
;
9342 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9345 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9347 return Py_BuildValue((char *)"");
9349 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxWindow
*arg1
= (wxWindow
*) 0 ;
9352 int arg2
= (int) wxID_ANY
;
9353 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9354 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9355 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9356 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9357 long arg5
= (long) 0 ;
9358 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9359 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9360 wxPyVScrolledWindow
*result
;
9363 bool temp6
= False
;
9364 PyObject
* obj0
= 0 ;
9365 PyObject
* obj1
= 0 ;
9366 PyObject
* obj2
= 0 ;
9367 PyObject
* obj3
= 0 ;
9368 PyObject
* obj4
= 0 ;
9369 PyObject
* obj5
= 0 ;
9371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 arg2
= (int)SWIG_As_int(obj1
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9384 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9390 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9394 arg5
= (long)SWIG_As_long(obj4
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9399 arg6
= wxString_in_helper(obj5
);
9400 if (arg6
== NULL
) SWIG_fail
;
9405 if (!wxPyCheckForApp()) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9427 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxPyVScrolledWindow
*result
;
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9436 if (!wxPyCheckForApp()) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9450 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9453 PyObject
*arg2
= (PyObject
*) 0 ;
9454 PyObject
*arg3
= (PyObject
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9457 PyObject
* obj2
= 0 ;
9459 (char *) "self",(char *) "self",(char *) "_class", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 Py_INCREF(Py_None
); resultobj
= Py_None
;
9481 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9484 wxWindow
*arg2
= (wxWindow
*) 0 ;
9485 int arg3
= (int) wxID_ANY
;
9486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9490 long arg6
= (long) 0 ;
9491 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9492 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9496 bool temp7
= False
;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9500 PyObject
* obj3
= 0 ;
9501 PyObject
* obj4
= 0 ;
9502 PyObject
* obj5
= 0 ;
9503 PyObject
* obj6
= 0 ;
9505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9514 arg3
= (int)SWIG_As_int(obj2
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9530 arg6
= (long)SWIG_As_long(obj5
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9535 arg7
= wxString_in_helper(obj6
);
9536 if (arg7
== NULL
) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9564 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9571 (char *) "self",(char *) "count", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->SetLineCount(arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9593 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9601 (char *) "self",(char *) "line", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9625 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9633 (char *) "self",(char *) "lines", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 arg2
= (int)SWIG_As_int(obj1
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (bool)(arg1
)->ScrollLines(arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9657 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9665 (char *) "self",(char *) "pages", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= (int)SWIG_As_int(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (bool)(arg1
)->ScrollPages(arg2
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9689 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "line", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9702 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 (arg1
)->RefreshLine(arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 Py_INCREF(Py_None
); resultobj
= Py_None
;
9718 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9725 PyObject
* obj2
= 0 ;
9727 (char *) "self",(char *) "from",(char *) "to", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9733 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9735 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 (arg1
)->RefreshLines(arg2
,arg3
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 PyObject
* obj2
= 0 ;
9761 (char *) "self",(char *) "x",(char *) "y", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9767 arg2
= (int)SWIG_As_int(obj1
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9769 arg3
= (int)SWIG_As_int(obj2
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_From_int((int)result
);
9785 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9792 PyObject
* obj1
= 0 ;
9794 (char *) "self",(char *) "pt", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_From_int((int)result
);
9818 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "self", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 (arg1
)->RefreshAll();
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 Py_INCREF(Py_None
); resultobj
= Py_None
;
9843 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9869 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9895 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9921 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9929 (char *) "self",(char *) "line", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9935 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9953 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9956 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9958 return Py_BuildValue((char *)"");
9960 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9961 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9966 static PyObject
*_wrap_VListBoxNameStr_get() {
9971 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9973 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9980 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxWindow
*arg1
= (wxWindow
*) 0 ;
9983 int arg2
= (int) wxID_ANY
;
9984 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9985 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9986 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9987 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9988 long arg5
= (long) 0 ;
9989 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9990 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9991 wxPyVListBox
*result
;
9994 bool temp6
= False
;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9997 PyObject
* obj2
= 0 ;
9998 PyObject
* obj3
= 0 ;
9999 PyObject
* obj4
= 0 ;
10000 PyObject
* obj5
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10009 arg2
= (int)SWIG_As_int(obj1
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10021 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10025 arg5
= (long)SWIG_As_long(obj4
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10030 arg6
= wxString_in_helper(obj5
);
10031 if (arg6
== NULL
) SWIG_fail
;
10036 if (!wxPyCheckForApp()) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10058 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxPyVListBox
*result
;
10061 char *kwnames
[] = {
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10067 if (!wxPyCheckForApp()) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (wxPyVListBox
*)new wxPyVListBox();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10081 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10084 PyObject
*arg2
= (PyObject
*) 0 ;
10085 PyObject
*arg3
= (PyObject
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 PyObject
* obj2
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self",(char *) "self",(char *) "_class", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 Py_INCREF(Py_None
); resultobj
= Py_None
;
10112 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10115 wxWindow
*arg2
= (wxWindow
*) 0 ;
10116 int arg3
= (int) wxID_ANY
;
10117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10121 long arg6
= (long) 0 ;
10122 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10123 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10127 bool temp7
= False
;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10131 PyObject
* obj3
= 0 ;
10132 PyObject
* obj4
= 0 ;
10133 PyObject
* obj5
= 0 ;
10134 PyObject
* obj6
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 arg3
= (int)SWIG_As_int(obj2
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10161 arg6
= (long)SWIG_As_long(obj5
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10166 arg7
= wxString_in_helper(obj6
);
10167 if (arg7
== NULL
) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10195 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10199 PyObject
* obj0
= 0 ;
10200 char *kwnames
[] = {
10201 (char *) "self", NULL
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10221 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10249 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10253 PyObject
* obj0
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_From_int((int)result
);
10275 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "self",(char *) "item", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10307 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "item", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10339 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10365 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= result
;
10391 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10394 unsigned long arg2
;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "cookie", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= result
;
10421 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 wxPoint
* resultptr
;
10442 resultptr
= new wxPoint((wxPoint
&) result
);
10443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10451 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10467 result
= (wxColour
*) &_result_ref
;
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10480 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self",(char *) "count", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10493 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->SetItemCount(arg2
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 Py_INCREF(Py_None
); resultobj
= Py_None
;
10509 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "selection", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 arg2
= (int)SWIG_As_int(obj1
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 (arg1
)->SetSelection(arg2
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10567 bool arg3
= (bool) True
;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 PyObject
* obj2
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "item",(char *) "select", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10579 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 arg3
= (bool)SWIG_As_bool(obj2
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10601 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 PyObject
* obj2
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self",(char *) "from",(char *) "to", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10619 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10637 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "item", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 (arg1
)->Toggle(arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10670 PyObject
* obj0
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 result
= (bool)(arg1
)->SelectAll();
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10694 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (bool)(arg1
)->DeselectAll();
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10722 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10725 wxPoint
*arg2
= 0 ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "pt", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 Py_INCREF(Py_None
); resultobj
= Py_None
;
10754 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 PyObject
* obj2
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self",(char *) "x",(char *) "y", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10769 arg2
= (int)SWIG_As_int(obj1
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10771 arg3
= (int)SWIG_As_int(obj2
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->SetMargins(arg2
,arg3
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10790 wxColour
*arg2
= 0 ;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self",(char *) "col", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10803 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10819 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10822 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10824 return Py_BuildValue((char *)"");
10826 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxWindow
*arg1
= (wxWindow
*) 0 ;
10829 int arg2
= (int) wxID_ANY
;
10830 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10831 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10832 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10833 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10834 long arg5
= (long) 0 ;
10835 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10836 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10837 wxPyHtmlListBox
*result
;
10840 bool temp6
= False
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 PyObject
* obj3
= 0 ;
10845 PyObject
* obj4
= 0 ;
10846 PyObject
* obj5
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 arg2
= (int)SWIG_As_int(obj1
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10867 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10871 arg5
= (long)SWIG_As_long(obj4
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10876 arg6
= wxString_in_helper(obj5
);
10877 if (arg6
== NULL
) SWIG_fail
;
10882 if (!wxPyCheckForApp()) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10904 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
;
10906 wxPyHtmlListBox
*result
;
10907 char *kwnames
[] = {
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10913 if (!wxPyCheckForApp()) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10927 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10930 PyObject
*arg2
= (PyObject
*) 0 ;
10931 PyObject
*arg3
= (PyObject
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 PyObject
* obj1
= 0 ;
10934 PyObject
* obj2
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self",(char *) "self",(char *) "_class", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 Py_INCREF(Py_None
); resultobj
= Py_None
;
10958 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10961 wxWindow
*arg2
= (wxWindow
*) 0 ;
10962 int arg3
= (int) wxID_ANY
;
10963 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10964 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10965 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10966 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10967 long arg6
= (long) 0 ;
10968 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10969 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10973 bool temp7
= False
;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 PyObject
* obj2
= 0 ;
10977 PyObject
* obj3
= 0 ;
10978 PyObject
* obj4
= 0 ;
10979 PyObject
* obj5
= 0 ;
10980 PyObject
* obj6
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 arg3
= (int)SWIG_As_int(obj2
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10997 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11003 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11007 arg6
= (long)SWIG_As_long(obj5
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11012 arg7
= wxString_in_helper(obj6
);
11013 if (arg7
== NULL
) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11041 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->RefreshAll();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "count", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 (arg1
)->SetItemCount(arg2
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11098 wxFileSystem
*result
;
11099 PyObject
* obj0
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11111 result
= (wxFileSystem
*) &_result_ref
;
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11124 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11127 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11129 return Py_BuildValue((char *)"");
11131 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxTaskBarIcon
*result
;
11134 char *kwnames
[] = {
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11140 if (!wxPyCheckForApp()) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
11154 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 Py_INCREF(Py_None
); resultobj
= Py_None
;
11179 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 wxTaskBarIcon_Destroy(arg1
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11260 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11264 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11267 bool temp3
= False
;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 PyObject
* obj2
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11281 if (arg2
== NULL
) {
11282 PyErr_SetString(PyExc_TypeError
,"null reference");
11287 arg3
= wxString_in_helper(obj2
);
11288 if (arg3
== NULL
) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11316 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11320 PyObject
* obj0
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (bool)(arg1
)->RemoveIcon();
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11344 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11346 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11347 wxMenu
*arg2
= (wxMenu
*) 0 ;
11349 PyObject
* obj0
= 0 ;
11350 PyObject
* obj1
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self",(char *) "menu", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (bool)(arg1
)->PopupMenu(arg2
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11376 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11379 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11381 return Py_BuildValue((char *)"");
11383 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
;
11386 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11387 wxTaskBarIconEvent
*result
;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 char *kwnames
[] = {
11391 (char *) "evtType",(char *) "tbIcon", NULL
11394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11395 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11413 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11416 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11418 return Py_BuildValue((char *)"");
11420 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11421 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11426 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11431 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11433 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11440 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11441 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11446 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11451 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11453 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11460 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11461 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11466 static PyObject
*_wrap_DirDialogNameStr_get() {
11471 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11473 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11480 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11481 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11486 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11491 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11493 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11500 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11501 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11506 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11511 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11513 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11520 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11521 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11526 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11531 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11533 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11540 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxColourData
*result
;
11543 char *kwnames
[] = {
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (wxColourData
*)new wxColourData();
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11562 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxColourData
*arg1
= (wxColourData
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 Py_INCREF(Py_None
); resultobj
= Py_None
;
11587 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxColourData
*arg1
= (wxColourData
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (bool)(arg1
)->GetChooseFull();
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11615 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxColourData
*arg1
= (wxColourData
*) 0 ;
11619 PyObject
* obj0
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "self", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (arg1
)->GetColour();
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11635 wxColour
* resultptr
;
11636 resultptr
= new wxColour((wxColour
&) result
);
11637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11645 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxColourData
*arg1
= (wxColourData
*) 0 ;
11650 PyObject
* obj0
= 0 ;
11651 PyObject
* obj1
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "self",(char *) "i", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11659 arg2
= (int)SWIG_As_int(obj1
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (arg1
)->GetCustomColour(arg2
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 wxColour
* resultptr
;
11670 resultptr
= new wxColour((wxColour
&) result
);
11671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11679 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxColourData
*arg1
= (wxColourData
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "flag", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11692 arg2
= (int)SWIG_As_int(obj1
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 (arg1
)->SetChooseFull(arg2
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 Py_INCREF(Py_None
); resultobj
= Py_None
;
11708 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxColourData
*arg1
= (wxColourData
*) 0 ;
11711 wxColour
*arg2
= 0 ;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self",(char *) "colour", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11724 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 (arg1
)->SetColour((wxColour
const &)*arg2
);
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11733 Py_INCREF(Py_None
); resultobj
= Py_None
;
11740 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxColourData
*arg1
= (wxColourData
*) 0 ;
11744 wxColour
*arg3
= 0 ;
11746 PyObject
* obj0
= 0 ;
11747 PyObject
* obj1
= 0 ;
11748 PyObject
* obj2
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self",(char *) "i",(char *) "colour", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11756 arg2
= (int)SWIG_As_int(obj1
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 Py_INCREF(Py_None
); resultobj
= Py_None
;
11776 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11781 return Py_BuildValue((char *)"");
11783 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxWindow
*arg1
= (wxWindow
*) 0 ;
11786 wxColourData
*arg2
= (wxColourData
*) NULL
;
11787 wxColourDialog
*result
;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "parent",(char *) "data", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 if (!wxPyCheckForApp()) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11816 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11819 wxColourData
*result
;
11820 PyObject
* obj0
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11832 result
= (wxColourData
*) &_result_ref
;
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11845 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11848 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11850 return Py_BuildValue((char *)"");
11852 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxWindow
*arg1
= (wxWindow
*) 0 ;
11855 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11856 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11857 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11858 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11859 long arg4
= (long) 0 ;
11860 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11861 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11862 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11863 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11864 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11865 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11866 wxDirDialog
*result
;
11867 bool temp2
= False
;
11868 bool temp3
= False
;
11871 bool temp7
= False
;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj1
= 0 ;
11874 PyObject
* obj2
= 0 ;
11875 PyObject
* obj3
= 0 ;
11876 PyObject
* obj4
= 0 ;
11877 PyObject
* obj5
= 0 ;
11878 PyObject
* obj6
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11888 arg2
= wxString_in_helper(obj1
);
11889 if (arg2
== NULL
) SWIG_fail
;
11895 arg3
= wxString_in_helper(obj2
);
11896 if (arg3
== NULL
) SWIG_fail
;
11901 arg4
= (long)SWIG_As_long(obj3
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11907 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11913 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11918 arg7
= wxString_in_helper(obj6
);
11919 if (arg7
== NULL
) SWIG_fail
;
11924 if (!wxPyCheckForApp()) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11962 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 char *kwnames
[] = {
11968 (char *) "self", NULL
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (arg1
)->GetPath();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11994 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (arg1
)->GetMessage();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12026 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
;
12028 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 char *kwnames
[] = {
12032 (char *) "self", NULL
12035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 result
= (long)(arg1
)->GetStyle();
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_From_long((long)result
);
12052 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12055 wxString
*arg2
= 0 ;
12056 bool temp2
= False
;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "message", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12067 arg2
= wxString_in_helper(obj1
);
12068 if (arg2
== NULL
) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 (arg1
)->SetMessage((wxString
const &)*arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12096 wxString
*arg2
= 0 ;
12097 bool temp2
= False
;
12098 PyObject
* obj0
= 0 ;
12099 PyObject
* obj1
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self",(char *) "path", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12108 arg2
= wxString_in_helper(obj1
);
12109 if (arg2
== NULL
) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 (arg1
)->SetPath((wxString
const &)*arg2
);
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 Py_INCREF(Py_None
); resultobj
= Py_None
;
12134 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12137 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12139 return Py_BuildValue((char *)"");
12141 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxWindow
*arg1
= (wxWindow
*) 0 ;
12144 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12145 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12148 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12149 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12150 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12151 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12152 long arg6
= (long) 0 ;
12153 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12154 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12155 wxFileDialog
*result
;
12156 bool temp2
= False
;
12157 bool temp3
= False
;
12158 bool temp4
= False
;
12159 bool temp5
= False
;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 PyObject
* obj2
= 0 ;
12164 PyObject
* obj3
= 0 ;
12165 PyObject
* obj4
= 0 ;
12166 PyObject
* obj5
= 0 ;
12167 PyObject
* obj6
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12177 arg2
= wxString_in_helper(obj1
);
12178 if (arg2
== NULL
) SWIG_fail
;
12184 arg3
= wxString_in_helper(obj2
);
12185 if (arg3
== NULL
) SWIG_fail
;
12191 arg4
= wxString_in_helper(obj3
);
12192 if (arg4
== NULL
) SWIG_fail
;
12198 arg5
= wxString_in_helper(obj4
);
12199 if (arg5
== NULL
) SWIG_fail
;
12204 arg6
= (long)SWIG_As_long(obj5
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12210 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12214 if (!wxPyCheckForApp()) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12260 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12263 wxString
*arg2
= 0 ;
12264 bool temp2
= False
;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "message", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 arg2
= wxString_in_helper(obj1
);
12276 if (arg2
== NULL
) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 (arg1
)->SetMessage((wxString
const &)*arg2
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 Py_INCREF(Py_None
); resultobj
= Py_None
;
12301 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12304 wxString
*arg2
= 0 ;
12305 bool temp2
= False
;
12306 PyObject
* obj0
= 0 ;
12307 PyObject
* obj1
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self",(char *) "path", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 arg2
= wxString_in_helper(obj1
);
12317 if (arg2
== NULL
) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 (arg1
)->SetPath((wxString
const &)*arg2
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 Py_INCREF(Py_None
); resultobj
= Py_None
;
12342 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12345 wxString
*arg2
= 0 ;
12346 bool temp2
= False
;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self",(char *) "dir", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12357 arg2
= wxString_in_helper(obj1
);
12358 if (arg2
== NULL
) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 Py_INCREF(Py_None
); resultobj
= Py_None
;
12383 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12386 wxString
*arg2
= 0 ;
12387 bool temp2
= False
;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self",(char *) "name", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12398 arg2
= wxString_in_helper(obj1
);
12399 if (arg2
== NULL
) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 (arg1
)->SetFilename((wxString
const &)*arg2
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 Py_INCREF(Py_None
); resultobj
= Py_None
;
12424 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12427 wxString
*arg2
= 0 ;
12428 bool temp2
= False
;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self",(char *) "wildCard", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12439 arg2
= wxString_in_helper(obj1
);
12440 if (arg2
== NULL
) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 Py_INCREF(Py_None
); resultobj
= Py_None
;
12465 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "style", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 arg2
= (long)SWIG_As_long(obj1
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 (arg1
)->SetStyle(arg2
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 Py_INCREF(Py_None
); resultobj
= Py_None
;
12494 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self",(char *) "filterIndex", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 arg2
= (int)SWIG_As_int(obj1
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->SetFilterIndex(arg2
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 Py_INCREF(Py_None
); resultobj
= Py_None
;
12523 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12555 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12587 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12591 PyObject
* obj0
= 0 ;
12592 char *kwnames
[] = {
12593 (char *) "self", NULL
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12619 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12651 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12683 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= SWIG_From_long((long)result
);
12709 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
;
12711 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12713 PyObject
* obj0
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= SWIG_From_int((int)result
);
12735 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= result
;
12761 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
;
12763 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12765 PyObject
* obj0
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 resultobj
= result
;
12787 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12790 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12792 return Py_BuildValue((char *)"");
12794 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxWindow
*arg1
= (wxWindow
*) 0 ;
12797 wxString
*arg2
= 0 ;
12798 wxString
*arg3
= 0 ;
12799 int arg4
= (int) 0 ;
12800 wxString
*arg5
= (wxString
*) NULL
;
12801 long arg6
= (long) wxCHOICEDLG_STYLE
;
12802 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12803 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12804 wxMultiChoiceDialog
*result
;
12805 bool temp2
= False
;
12806 bool temp3
= False
;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 PyObject
* obj2
= 0 ;
12811 PyObject
* obj3
= 0 ;
12812 PyObject
* obj4
= 0 ;
12813 PyObject
* obj5
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12822 arg2
= wxString_in_helper(obj1
);
12823 if (arg2
== NULL
) SWIG_fail
;
12827 arg3
= wxString_in_helper(obj2
);
12828 if (arg3
== NULL
) SWIG_fail
;
12833 arg4
= PyList_Size(obj3
);
12834 arg5
= wxString_LIST_helper(obj3
);
12835 if (arg5
== NULL
) SWIG_fail
;
12839 arg6
= (long)SWIG_As_long(obj4
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12845 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12849 if (!wxPyCheckForApp()) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12866 if (arg5
) delete [] arg5
;
12879 if (arg5
) delete [] arg5
;
12885 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12888 wxArrayInt
*arg2
= 0 ;
12889 bool temp2
= False
;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "selections", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12900 if (! PySequence_Check(obj1
)) {
12901 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12904 arg2
= new wxArrayInt
;
12906 int i
, len
=PySequence_Length(obj1
);
12907 for (i
=0; i
<len
; i
++) {
12908 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12909 PyObject
* number
= PyNumber_Int(item
);
12910 arg2
->Add(PyInt_AS_LONG(number
));
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 if (temp2
) delete arg2
;
12929 if (temp2
) delete arg2
;
12935 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
;
12961 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12964 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12966 return Py_BuildValue((char *)"");
12968 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxWindow
*arg1
= (wxWindow
*) 0 ;
12971 wxString
*arg2
= 0 ;
12972 wxString
*arg3
= 0 ;
12974 wxString
*arg5
= (wxString
*) 0 ;
12975 long arg6
= (long) wxCHOICEDLG_STYLE
;
12976 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12977 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12978 wxSingleChoiceDialog
*result
;
12979 bool temp2
= False
;
12980 bool temp3
= False
;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 PyObject
* obj2
= 0 ;
12985 PyObject
* obj3
= 0 ;
12986 PyObject
* obj4
= 0 ;
12987 PyObject
* obj5
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12996 arg2
= wxString_in_helper(obj1
);
12997 if (arg2
== NULL
) SWIG_fail
;
13001 arg3
= wxString_in_helper(obj2
);
13002 if (arg3
== NULL
) SWIG_fail
;
13006 arg4
= PyList_Size(obj3
);
13007 arg5
= wxString_LIST_helper(obj3
);
13008 if (arg5
== NULL
) SWIG_fail
;
13011 arg6
= (long)SWIG_As_long(obj4
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13017 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13021 if (!wxPyCheckForApp()) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13038 if (arg5
) delete [] arg5
;
13051 if (arg5
) delete [] arg5
;
13057 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (int)(arg1
)->GetSelection();
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= SWIG_From_int((int)result
);
13083 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (arg1
)->GetStringSelection();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13115 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self",(char *) "sel", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 arg2
= (int)SWIG_As_int(obj1
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 (arg1
)->SetSelection(arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 Py_INCREF(Py_None
); resultobj
= Py_None
;
13144 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13147 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13149 return Py_BuildValue((char *)"");
13151 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxWindow
*arg1
= (wxWindow
*) 0 ;
13154 wxString
*arg2
= 0 ;
13155 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13156 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13157 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13158 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13159 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13160 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13161 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13162 wxTextEntryDialog
*result
;
13163 bool temp2
= False
;
13164 bool temp3
= False
;
13165 bool temp4
= False
;
13167 PyObject
* obj0
= 0 ;
13168 PyObject
* obj1
= 0 ;
13169 PyObject
* obj2
= 0 ;
13170 PyObject
* obj3
= 0 ;
13171 PyObject
* obj4
= 0 ;
13172 PyObject
* obj5
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13181 arg2
= wxString_in_helper(obj1
);
13182 if (arg2
== NULL
) SWIG_fail
;
13187 arg3
= wxString_in_helper(obj2
);
13188 if (arg3
== NULL
) SWIG_fail
;
13194 arg4
= wxString_in_helper(obj3
);
13195 if (arg4
== NULL
) SWIG_fail
;
13200 arg5
= (long)SWIG_As_long(obj4
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13206 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13210 if (!wxPyCheckForApp()) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13248 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 result
= (arg1
)->GetValue();
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13280 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13283 wxString
*arg2
= 0 ;
13284 bool temp2
= False
;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self",(char *) "value", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13295 arg2
= wxString_in_helper(obj1
);
13296 if (arg2
== NULL
) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 (arg1
)->SetValue((wxString
const &)*arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 Py_INCREF(Py_None
); resultobj
= Py_None
;
13321 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13324 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13326 return Py_BuildValue((char *)"");
13328 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxFontData
*result
;
13331 char *kwnames
[] = {
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (wxFontData
*)new wxFontData();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13350 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxFontData
*arg1
= (wxFontData
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 Py_INCREF(Py_None
); resultobj
= Py_None
;
13375 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxFontData
*arg1
= (wxFontData
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "enable", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 arg2
= (bool)SWIG_As_bool(obj1
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 (arg1
)->EnableEffects(arg2
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 Py_INCREF(Py_None
); resultobj
= Py_None
;
13404 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxFontData
*arg1
= (wxFontData
*) 0 ;
13408 PyObject
* obj0
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (bool)(arg1
)->GetAllowSymbols();
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13432 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxFontData
*arg1
= (wxFontData
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (arg1
)->GetColour();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13452 wxColour
* resultptr
;
13453 resultptr
= new wxColour((wxColour
&) result
);
13454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13462 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxFontData
*arg1
= (wxFontData
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "self", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (arg1
)->GetChosenFont();
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 wxFont
* resultptr
;
13483 resultptr
= new wxFont((wxFont
&) result
);
13484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13492 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxFontData
*arg1
= (wxFontData
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (bool)(arg1
)->GetEnableEffects();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13520 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxFontData
*arg1
= (wxFontData
*) 0 ;
13524 PyObject
* obj0
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (arg1
)->GetInitialFont();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 wxFont
* resultptr
;
13541 resultptr
= new wxFont((wxFont
&) result
);
13542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13550 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxFontData
*arg1
= (wxFontData
*) 0 ;
13554 PyObject
* obj0
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "self", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (bool)(arg1
)->GetShowHelp();
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13578 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxFontData
*arg1
= (wxFontData
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 PyObject
* obj1
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self",(char *) "allowSymbols", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13591 arg2
= (bool)SWIG_As_bool(obj1
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 (arg1
)->SetAllowSymbols(arg2
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 Py_INCREF(Py_None
); resultobj
= Py_None
;
13607 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxFontData
*arg1
= (wxFontData
*) 0 ;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self",(char *) "font", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13623 if (arg2
== NULL
) {
13624 PyErr_SetString(PyExc_TypeError
,"null reference");
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 Py_INCREF(Py_None
); resultobj
= Py_None
;
13641 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxFontData
*arg1
= (wxFontData
*) 0 ;
13644 wxColour
*arg2
= 0 ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "colour", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->SetColour((wxColour
const &)*arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 Py_INCREF(Py_None
); resultobj
= Py_None
;
13673 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxFontData
*arg1
= (wxFontData
*) 0 ;
13677 PyObject
* obj0
= 0 ;
13678 PyObject
* obj1
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self",(char *) "font", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13689 if (arg2
== NULL
) {
13690 PyErr_SetString(PyExc_TypeError
,"null reference");
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 Py_INCREF(Py_None
); resultobj
= Py_None
;
13707 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxFontData
*arg1
= (wxFontData
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 PyObject
* obj2
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "min",(char *) "max", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13722 arg2
= (int)SWIG_As_int(obj1
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13724 arg3
= (int)SWIG_As_int(obj2
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 (arg1
)->SetRange(arg2
,arg3
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 Py_INCREF(Py_None
); resultobj
= Py_None
;
13740 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxFontData
*arg1
= (wxFontData
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "showHelp", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13753 arg2
= (bool)SWIG_As_bool(obj1
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 (arg1
)->SetShowHelp(arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 Py_INCREF(Py_None
); resultobj
= Py_None
;
13769 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13772 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13774 return Py_BuildValue((char *)"");
13776 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxWindow
*arg1
= (wxWindow
*) 0 ;
13779 wxFontData
*arg2
= 0 ;
13780 wxFontDialog
*result
;
13781 PyObject
* obj0
= 0 ;
13782 PyObject
* obj1
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "parent",(char *) "data", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13793 if (arg2
== NULL
) {
13794 PyErr_SetString(PyExc_TypeError
,"null reference");
13798 if (!wxPyCheckForApp()) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13812 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13815 wxFontData
*result
;
13816 PyObject
* obj0
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13828 result
= (wxFontData
*) &_result_ref
;
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13841 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13844 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13846 return Py_BuildValue((char *)"");
13848 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxWindow
*arg1
= (wxWindow
*) 0 ;
13851 wxString
*arg2
= 0 ;
13852 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13853 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13854 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13855 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13856 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13857 wxMessageDialog
*result
;
13858 bool temp2
= False
;
13859 bool temp3
= False
;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 PyObject
* obj2
= 0 ;
13864 PyObject
* obj3
= 0 ;
13865 PyObject
* obj4
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13874 arg2
= wxString_in_helper(obj1
);
13875 if (arg2
== NULL
) SWIG_fail
;
13880 arg3
= wxString_in_helper(obj2
);
13881 if (arg3
== NULL
) SWIG_fail
;
13886 arg4
= (long)SWIG_As_long(obj3
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13892 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13896 if (!wxPyCheckForApp()) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13926 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13929 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13931 return Py_BuildValue((char *)"");
13933 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxString
*arg1
= 0 ;
13936 wxString
*arg2
= 0 ;
13937 int arg3
= (int) 100 ;
13938 wxWindow
*arg4
= (wxWindow
*) NULL
;
13939 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13940 wxProgressDialog
*result
;
13941 bool temp1
= False
;
13942 bool temp2
= False
;
13943 PyObject
* obj0
= 0 ;
13944 PyObject
* obj1
= 0 ;
13945 PyObject
* obj2
= 0 ;
13946 PyObject
* obj3
= 0 ;
13947 PyObject
* obj4
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13954 arg1
= wxString_in_helper(obj0
);
13955 if (arg1
== NULL
) SWIG_fail
;
13959 arg2
= wxString_in_helper(obj1
);
13960 if (arg2
== NULL
) SWIG_fail
;
13964 arg3
= (int)SWIG_As_int(obj2
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13972 arg5
= (int)SWIG_As_int(obj4
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13976 if (!wxPyCheckForApp()) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14006 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14010 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14011 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14013 bool temp3
= False
;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 PyObject
* obj2
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14024 arg2
= (int)SWIG_As_int(obj1
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14028 arg3
= wxString_in_helper(obj2
);
14029 if (arg3
== NULL
) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14057 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
;
14059 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14085 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14087 return Py_BuildValue((char *)"");
14089 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14092 int arg2
= (int) 0 ;
14093 wxFindDialogEvent
*result
;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "commandType",(char *) "id", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14102 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14106 arg2
= (int)SWIG_As_int(obj1
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14123 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (int)(arg1
)->GetFlags();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= SWIG_From_int((int)result
);
14149 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 wxString
const &_result_ref
= (arg1
)->GetFindString();
14165 result
= (wxString
*) &_result_ref
;
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14184 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14188 PyObject
* obj0
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14200 result
= (wxString
*) &_result_ref
;
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14219 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14222 wxFindReplaceDialog
*result
;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14245 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "flags", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14258 arg2
= (int)SWIG_As_int(obj1
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 (arg1
)->SetFlags(arg2
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 Py_INCREF(Py_None
); resultobj
= Py_None
;
14274 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14277 wxString
*arg2
= 0 ;
14278 bool temp2
= False
;
14279 PyObject
* obj0
= 0 ;
14280 PyObject
* obj1
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self",(char *) "str", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 arg2
= wxString_in_helper(obj1
);
14290 if (arg2
== NULL
) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 (arg1
)->SetFindString((wxString
const &)*arg2
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 Py_INCREF(Py_None
); resultobj
= Py_None
;
14315 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14318 wxString
*arg2
= 0 ;
14319 bool temp2
= False
;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self",(char *) "str", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14330 arg2
= wxString_in_helper(obj1
);
14331 if (arg2
== NULL
) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 Py_INCREF(Py_None
); resultobj
= Py_None
;
14356 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14359 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14361 return Py_BuildValue((char *)"");
14363 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 int arg1
= (int) 0 ;
14366 wxFindReplaceData
*result
;
14367 PyObject
* obj0
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "flags", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14374 arg1
= (int)SWIG_As_int(obj0
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14391 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14394 PyObject
* obj0
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 Py_INCREF(Py_None
); resultobj
= Py_None
;
14416 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 wxString
const &_result_ref
= (arg1
)->GetFindString();
14432 result
= (wxString
*) &_result_ref
;
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14442 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14451 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
;
14453 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14467 result
= (wxString
*) &_result_ref
;
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14477 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14486 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (int)(arg1
)->GetFlags();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_From_int((int)result
);
14512 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "flags", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14525 arg2
= (int)SWIG_As_int(obj1
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 (arg1
)->SetFlags(arg2
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 Py_INCREF(Py_None
); resultobj
= Py_None
;
14541 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14544 wxString
*arg2
= 0 ;
14545 bool temp2
= False
;
14546 PyObject
* obj0
= 0 ;
14547 PyObject
* obj1
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self",(char *) "str", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14556 arg2
= wxString_in_helper(obj1
);
14557 if (arg2
== NULL
) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 (arg1
)->SetFindString((wxString
const &)*arg2
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14585 wxString
*arg2
= 0 ;
14586 bool temp2
= False
;
14587 PyObject
* obj0
= 0 ;
14588 PyObject
* obj1
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self",(char *) "str", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14597 arg2
= wxString_in_helper(obj1
);
14598 if (arg2
== NULL
) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14608 Py_INCREF(Py_None
); resultobj
= Py_None
;
14623 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14626 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14628 return Py_BuildValue((char *)"");
14630 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxWindow
*arg1
= (wxWindow
*) 0 ;
14633 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14634 wxString
*arg3
= 0 ;
14635 int arg4
= (int) 0 ;
14636 wxFindReplaceDialog
*result
;
14637 bool temp3
= False
;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 PyObject
* obj2
= 0 ;
14641 PyObject
* obj3
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14652 arg3
= wxString_in_helper(obj2
);
14653 if (arg3
== NULL
) SWIG_fail
;
14657 arg4
= (int)SWIG_As_int(obj3
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14661 if (!wxPyCheckForApp()) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14683 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxFindReplaceDialog
*result
;
14686 char *kwnames
[] = {
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14692 if (!wxPyCheckForApp()) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14706 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14709 wxWindow
*arg2
= (wxWindow
*) 0 ;
14710 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14711 wxString
*arg4
= 0 ;
14712 int arg5
= (int) 0 ;
14714 bool temp4
= False
;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 PyObject
* obj2
= 0 ;
14718 PyObject
* obj3
= 0 ;
14719 PyObject
* obj4
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 arg4
= wxString_in_helper(obj3
);
14733 if (arg4
== NULL
) SWIG_fail
;
14737 arg5
= (int)SWIG_As_int(obj4
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14764 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14767 wxFindReplaceData
*result
;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14790 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14793 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self",(char *) "data", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 (arg1
)->SetData(arg2
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 Py_INCREF(Py_None
); resultobj
= Py_None
;
14819 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14822 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14824 return Py_BuildValue((char *)"");
14826 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxWindow
*arg1
= (wxWindow
*) 0 ;
14829 int arg2
= (int) (int)-1 ;
14830 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14836 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14837 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14838 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14839 wxMDIParentFrame
*result
;
14840 bool temp3
= False
;
14843 bool temp7
= False
;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 PyObject
* obj2
= 0 ;
14847 PyObject
* obj3
= 0 ;
14848 PyObject
* obj4
= 0 ;
14849 PyObject
* obj5
= 0 ;
14850 PyObject
* obj6
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14859 arg2
= (int)SWIG_As_int(obj1
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14864 arg3
= wxString_in_helper(obj2
);
14865 if (arg3
== NULL
) SWIG_fail
;
14872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14882 arg6
= (long)SWIG_As_long(obj5
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14887 arg7
= wxString_in_helper(obj6
);
14888 if (arg7
== NULL
) SWIG_fail
;
14893 if (!wxPyCheckForApp()) SWIG_fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14923 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxMDIParentFrame
*result
;
14926 char *kwnames
[] = {
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14932 if (!wxPyCheckForApp()) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14946 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14949 wxWindow
*arg2
= (wxWindow
*) 0 ;
14950 int arg3
= (int) (int)-1 ;
14951 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14952 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14953 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14954 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14955 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14956 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14957 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14958 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14959 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14961 bool temp4
= False
;
14964 bool temp8
= False
;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 PyObject
* obj2
= 0 ;
14968 PyObject
* obj3
= 0 ;
14969 PyObject
* obj4
= 0 ;
14970 PyObject
* obj5
= 0 ;
14971 PyObject
* obj6
= 0 ;
14972 PyObject
* obj7
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14983 arg3
= (int)SWIG_As_int(obj2
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14988 arg4
= wxString_in_helper(obj3
);
14989 if (arg4
== NULL
) SWIG_fail
;
14996 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15002 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15006 arg7
= (long)SWIG_As_long(obj6
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15011 arg8
= wxString_in_helper(obj7
);
15012 if (arg8
== NULL
) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15048 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15051 PyObject
* obj0
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 (arg1
)->ActivateNext();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 Py_INCREF(Py_None
); resultobj
= Py_None
;
15073 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 (arg1
)->ActivatePrevious();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 (arg1
)->ArrangeIcons();
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 Py_INCREF(Py_None
); resultobj
= Py_None
;
15123 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 Py_INCREF(Py_None
); resultobj
= Py_None
;
15148 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15151 wxMDIChildFrame
*result
;
15152 PyObject
* obj0
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= wxPyMake_wxObject(result
, 0);
15176 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15179 wxMDIClientWindow
*result
;
15180 PyObject
* obj0
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= wxPyMake_wxObject(result
, 0);
15204 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (wxWindow
*)(arg1
)->GetToolBar();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= wxPyMake_wxObject(result
, 0);
15232 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
15242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= wxPyMake_wxObject(result
, 0);
15260 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15263 wxMenu
*arg2
= (wxMenu
*) 0 ;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self",(char *) "menu", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
15271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
15274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 (arg1
)->SetWindowMenu(arg2
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15292 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self",(char *) "toolbar", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 (arg1
)->SetToolBar(arg2
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 Py_INCREF(Py_None
); resultobj
= Py_None
;
15318 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15321 PyObject
* obj0
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 Py_INCREF(Py_None
); resultobj
= Py_None
;
15343 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15346 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15348 return Py_BuildValue((char *)"");
15350 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15353 int arg2
= (int) (int)-1 ;
15354 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15355 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15360 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15361 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15362 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15363 wxMDIChildFrame
*result
;
15364 bool temp3
= False
;
15367 bool temp7
= False
;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 PyObject
* obj2
= 0 ;
15371 PyObject
* obj3
= 0 ;
15372 PyObject
* obj4
= 0 ;
15373 PyObject
* obj5
= 0 ;
15374 PyObject
* obj6
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15383 arg2
= (int)SWIG_As_int(obj1
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15388 arg3
= wxString_in_helper(obj2
);
15389 if (arg3
== NULL
) SWIG_fail
;
15396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15406 arg6
= (long)SWIG_As_long(obj5
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15411 arg7
= wxString_in_helper(obj6
);
15412 if (arg7
== NULL
) SWIG_fail
;
15417 if (!wxPyCheckForApp()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15447 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxMDIChildFrame
*result
;
15450 char *kwnames
[] = {
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15456 if (!wxPyCheckForApp()) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15470 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15473 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15474 int arg3
= (int) (int)-1 ;
15475 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15481 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15482 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15483 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15485 bool temp4
= False
;
15488 bool temp8
= False
;
15489 PyObject
* obj0
= 0 ;
15490 PyObject
* obj1
= 0 ;
15491 PyObject
* obj2
= 0 ;
15492 PyObject
* obj3
= 0 ;
15493 PyObject
* obj4
= 0 ;
15494 PyObject
* obj5
= 0 ;
15495 PyObject
* obj6
= 0 ;
15496 PyObject
* obj7
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15507 arg3
= (int)SWIG_As_int(obj2
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15512 arg4
= wxString_in_helper(obj3
);
15513 if (arg4
== NULL
) SWIG_fail
;
15520 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15526 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15530 arg7
= (long)SWIG_As_long(obj6
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15535 arg8
= wxString_in_helper(obj7
);
15536 if (arg8
== NULL
) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15572 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 (arg1
)->Activate();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 Py_INCREF(Py_None
); resultobj
= Py_None
;
15597 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self",(char *) "maximize", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15610 arg2
= (bool)SWIG_As_bool(obj1
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 (arg1
)->Maximize(arg2
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 Py_INCREF(Py_None
); resultobj
= Py_None
;
15626 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 Py_INCREF(Py_None
); resultobj
= Py_None
;
15651 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15654 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15656 return Py_BuildValue((char *)"");
15658 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15661 long arg2
= (long) 0 ;
15662 wxMDIClientWindow
*result
;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "parent",(char *) "style", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 arg2
= (long)SWIG_As_long(obj1
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15677 if (!wxPyCheckForApp()) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15691 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxMDIClientWindow
*result
;
15694 char *kwnames
[] = {
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15700 if (!wxPyCheckForApp()) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15714 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15717 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15718 long arg3
= (long) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 PyObject
* obj2
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "parent",(char *) "style", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15733 arg3
= (long)SWIG_As_long(obj2
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15752 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15755 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15757 return Py_BuildValue((char *)"");
15759 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxWindow
*arg1
= (wxWindow
*) 0 ;
15762 int arg2
= (int) (int)-1 ;
15763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15767 long arg5
= (long) 0 ;
15768 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15770 wxPyWindow
*result
;
15773 bool temp6
= False
;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 PyObject
* obj2
= 0 ;
15777 PyObject
* obj3
= 0 ;
15778 PyObject
* obj4
= 0 ;
15779 PyObject
* obj5
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 arg2
= (int)SWIG_As_int(obj1
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15794 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15800 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15804 arg5
= (long)SWIG_As_long(obj4
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15809 arg6
= wxString_in_helper(obj5
);
15810 if (arg6
== NULL
) SWIG_fail
;
15815 if (!wxPyCheckForApp()) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15837 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxPyWindow
*result
;
15840 char *kwnames
[] = {
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15846 if (!wxPyCheckForApp()) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (wxPyWindow
*)new wxPyWindow();
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15860 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15863 PyObject
*arg2
= (PyObject
*) 0 ;
15864 PyObject
*arg3
= (PyObject
*) 0 ;
15865 PyObject
* obj0
= 0 ;
15866 PyObject
* obj1
= 0 ;
15867 PyObject
* obj2
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self",(char *) "self",(char *) "_class", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 Py_INCREF(Py_None
); resultobj
= Py_None
;
15891 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self",(char *) "size", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 Py_INCREF(Py_None
); resultobj
= Py_None
;
15923 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 PyObject
* obj1
= 0 ;
15932 PyObject
* obj2
= 0 ;
15933 PyObject
* obj3
= 0 ;
15934 PyObject
* obj4
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 arg2
= (int)SWIG_As_int(obj1
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15944 arg3
= (int)SWIG_As_int(obj2
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15946 arg4
= (int)SWIG_As_int(obj3
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15948 arg5
= (int)SWIG_As_int(obj4
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 Py_INCREF(Py_None
); resultobj
= Py_None
;
15964 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15971 int arg6
= (int) wxSIZE_AUTO
;
15972 PyObject
* obj0
= 0 ;
15973 PyObject
* obj1
= 0 ;
15974 PyObject
* obj2
= 0 ;
15975 PyObject
* obj3
= 0 ;
15976 PyObject
* obj4
= 0 ;
15977 PyObject
* obj5
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 arg2
= (int)SWIG_As_int(obj1
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15987 arg3
= (int)SWIG_As_int(obj2
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15989 arg4
= (int)SWIG_As_int(obj3
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15991 arg5
= (int)SWIG_As_int(obj4
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 arg6
= (int)SWIG_As_int(obj5
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16011 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 PyObject
* obj1
= 0 ;
16018 PyObject
* obj2
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self",(char *) "width",(char *) "height", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16026 arg2
= (int)SWIG_As_int(obj1
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16028 arg3
= (int)SWIG_As_int(obj2
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 Py_INCREF(Py_None
); resultobj
= Py_None
;
16044 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 PyObject
* obj2
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "x",(char *) "y", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16059 arg2
= (int)SWIG_As_int(obj1
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16061 arg3
= (int)SWIG_As_int(obj2
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16080 int *arg2
= (int *) 0 ;
16081 int *arg3
= (int *) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self", NULL
16091 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16092 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 Py_INCREF(Py_None
); resultobj
= Py_None
;
16104 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16105 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16106 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16107 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16114 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16117 int *arg2
= (int *) 0 ;
16118 int *arg3
= (int *) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self", NULL
16128 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16129 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 Py_INCREF(Py_None
); resultobj
= Py_None
;
16141 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16142 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16143 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16144 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16151 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16154 int *arg2
= (int *) 0 ;
16155 int *arg3
= (int *) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self", NULL
16165 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16166 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 Py_INCREF(Py_None
); resultobj
= Py_None
;
16178 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16179 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16180 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16181 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16188 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 wxSize
* resultptr
;
16209 resultptr
= new wxSize((wxSize
&) result
);
16210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16218 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 wxSize
* resultptr
;
16239 resultptr
= new wxSize((wxSize
&) result
);
16240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16248 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 (arg1
)->base_InitDialog();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= (bool)(arg1
)->base_TransferDataToWindow();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16301 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16305 PyObject
* obj0
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16329 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (bool)(arg1
)->base_Validate();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16357 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16385 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16413 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 wxSize
* resultptr
;
16434 resultptr
= new wxSize((wxSize
&) result
);
16435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16443 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16446 wxWindow
*arg2
= (wxWindow
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "child", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 (arg1
)->base_AddChild(arg2
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 Py_INCREF(Py_None
); resultobj
= Py_None
;
16472 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16475 wxWindow
*arg2
= (wxWindow
*) 0 ;
16476 PyObject
* obj0
= 0 ;
16477 PyObject
* obj1
= 0 ;
16478 char *kwnames
[] = {
16479 (char *) "self",(char *) "child", NULL
16482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 (arg1
)->base_RemoveChild(arg2
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16501 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16529 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16532 wxColour
*arg2
= 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "c", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 Py_INCREF(Py_None
); resultobj
= Py_None
;
16561 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16564 wxVisualAttributes result
;
16565 PyObject
* obj0
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (arg1
)->base_GetDefaultAttributes();
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16581 wxVisualAttributes
* resultptr
;
16582 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16591 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16594 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16596 return Py_BuildValue((char *)"");
16598 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxWindow
*arg1
= (wxWindow
*) 0 ;
16601 int arg2
= (int) (int)-1 ;
16602 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16603 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16604 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16605 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16606 long arg5
= (long) 0 ;
16607 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16608 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16612 bool temp6
= False
;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 PyObject
* obj2
= 0 ;
16616 PyObject
* obj3
= 0 ;
16617 PyObject
* obj4
= 0 ;
16618 PyObject
* obj5
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 arg2
= (int)SWIG_As_int(obj1
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16643 arg5
= (long)SWIG_As_long(obj4
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16648 arg6
= wxString_in_helper(obj5
);
16649 if (arg6
== NULL
) SWIG_fail
;
16654 if (!wxPyCheckForApp()) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16676 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16679 char *kwnames
[] = {
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16685 if (!wxPyCheckForApp()) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (wxPyPanel
*)new wxPyPanel();
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16699 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16702 PyObject
*arg2
= (PyObject
*) 0 ;
16703 PyObject
*arg3
= (PyObject
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 PyObject
* obj1
= 0 ;
16706 PyObject
* obj2
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "self",(char *) "self",(char *) "_class", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 Py_INCREF(Py_None
); resultobj
= Py_None
;
16730 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self",(char *) "size", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16746 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 Py_INCREF(Py_None
); resultobj
= Py_None
;
16762 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 PyObject
* obj2
= 0 ;
16772 PyObject
* obj3
= 0 ;
16773 PyObject
* obj4
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16781 arg2
= (int)SWIG_As_int(obj1
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16783 arg3
= (int)SWIG_As_int(obj2
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16785 arg4
= (int)SWIG_As_int(obj3
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16787 arg5
= (int)SWIG_As_int(obj4
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 Py_INCREF(Py_None
); resultobj
= Py_None
;
16803 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16810 int arg6
= (int) wxSIZE_AUTO
;
16811 PyObject
* obj0
= 0 ;
16812 PyObject
* obj1
= 0 ;
16813 PyObject
* obj2
= 0 ;
16814 PyObject
* obj3
= 0 ;
16815 PyObject
* obj4
= 0 ;
16816 PyObject
* obj5
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16824 arg2
= (int)SWIG_As_int(obj1
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16826 arg3
= (int)SWIG_As_int(obj2
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16828 arg4
= (int)SWIG_As_int(obj3
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16830 arg5
= (int)SWIG_As_int(obj4
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 arg6
= (int)SWIG_As_int(obj5
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 Py_INCREF(Py_None
); resultobj
= Py_None
;
16850 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16855 PyObject
* obj0
= 0 ;
16856 PyObject
* obj1
= 0 ;
16857 PyObject
* obj2
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self",(char *) "width",(char *) "height", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16865 arg2
= (int)SWIG_As_int(obj1
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16867 arg3
= (int)SWIG_As_int(obj2
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16876 Py_INCREF(Py_None
); resultobj
= Py_None
;
16883 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 PyObject
* obj2
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "self",(char *) "x",(char *) "y", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16898 arg2
= (int)SWIG_As_int(obj1
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16900 arg3
= (int)SWIG_As_int(obj2
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 Py_INCREF(Py_None
); resultobj
= Py_None
;
16916 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16919 int *arg2
= (int *) 0 ;
16920 int *arg3
= (int *) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "self", NULL
16930 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16931 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 Py_INCREF(Py_None
); resultobj
= Py_None
;
16943 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16944 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16945 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16946 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16953 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16956 int *arg2
= (int *) 0 ;
16957 int *arg3
= (int *) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16968 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 Py_INCREF(Py_None
); resultobj
= Py_None
;
16980 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16981 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16982 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16983 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16990 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16993 int *arg2
= (int *) 0 ;
16994 int *arg3
= (int *) 0 ;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17005 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 Py_INCREF(Py_None
); resultobj
= Py_None
;
17017 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17018 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17019 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17020 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17027 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17047 wxSize
* resultptr
;
17048 resultptr
= new wxSize((wxSize
&) result
);
17049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17057 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17061 PyObject
* obj0
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17077 wxSize
* resultptr
;
17078 resultptr
= new wxSize((wxSize
&) result
);
17079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17087 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 (arg1
)->base_InitDialog();
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 Py_INCREF(Py_None
); resultobj
= Py_None
;
17112 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17116 PyObject
* obj0
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (bool)(arg1
)->base_TransferDataToWindow();
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17140 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17168 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (bool)(arg1
)->base_Validate();
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17196 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17198 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17200 PyObject
* obj0
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17224 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17228 PyObject
* obj0
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17252 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 wxSize
* resultptr
;
17273 resultptr
= new wxSize((wxSize
&) result
);
17274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17282 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17285 wxWindow
*arg2
= (wxWindow
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "child", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 (arg1
)->base_AddChild(arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 Py_INCREF(Py_None
); resultobj
= Py_None
;
17311 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17314 wxWindow
*arg2
= (wxWindow
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "child", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 (arg1
)->base_RemoveChild(arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 Py_INCREF(Py_None
); resultobj
= Py_None
;
17340 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17341 PyObject
*resultobj
;
17342 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17344 PyObject
* obj0
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17368 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17371 wxColour
*arg2
= 0 ;
17373 PyObject
* obj0
= 0 ;
17374 PyObject
* obj1
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self",(char *) "c", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 Py_INCREF(Py_None
); resultobj
= Py_None
;
17400 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17403 wxVisualAttributes result
;
17404 PyObject
* obj0
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= (arg1
)->base_GetDefaultAttributes();
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 wxVisualAttributes
* resultptr
;
17421 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17430 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17433 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17435 return Py_BuildValue((char *)"");
17437 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxWindow
*arg1
= (wxWindow
*) 0 ;
17440 int arg2
= (int) (int)-1 ;
17441 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17442 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17443 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17444 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17445 long arg5
= (long) 0 ;
17446 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17447 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17448 wxPyScrolledWindow
*result
;
17451 bool temp6
= False
;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 PyObject
* obj2
= 0 ;
17455 PyObject
* obj3
= 0 ;
17456 PyObject
* obj4
= 0 ;
17457 PyObject
* obj5
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17466 arg2
= (int)SWIG_As_int(obj1
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17472 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17478 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17482 arg5
= (long)SWIG_As_long(obj4
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17487 arg6
= wxString_in_helper(obj5
);
17488 if (arg6
== NULL
) SWIG_fail
;
17493 if (!wxPyCheckForApp()) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17515 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxPyScrolledWindow
*result
;
17518 char *kwnames
[] = {
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17524 if (!wxPyCheckForApp()) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17538 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17541 PyObject
*arg2
= (PyObject
*) 0 ;
17542 PyObject
*arg3
= (PyObject
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 PyObject
* obj2
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "self",(char *) "_class", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 Py_INCREF(Py_None
); resultobj
= Py_None
;
17569 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "size", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17585 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 Py_INCREF(Py_None
); resultobj
= Py_None
;
17601 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 PyObject
* obj2
= 0 ;
17611 PyObject
* obj3
= 0 ;
17612 PyObject
* obj4
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17620 arg2
= (int)SWIG_As_int(obj1
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17622 arg3
= (int)SWIG_As_int(obj2
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17624 arg4
= (int)SWIG_As_int(obj3
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17626 arg5
= (int)SWIG_As_int(obj4
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 Py_INCREF(Py_None
); resultobj
= Py_None
;
17642 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17649 int arg6
= (int) wxSIZE_AUTO
;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 PyObject
* obj2
= 0 ;
17653 PyObject
* obj3
= 0 ;
17654 PyObject
* obj4
= 0 ;
17655 PyObject
* obj5
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 arg2
= (int)SWIG_As_int(obj1
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17665 arg3
= (int)SWIG_As_int(obj2
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17667 arg4
= (int)SWIG_As_int(obj3
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17669 arg5
= (int)SWIG_As_int(obj4
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 arg6
= (int)SWIG_As_int(obj5
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17682 Py_INCREF(Py_None
); resultobj
= Py_None
;
17689 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 PyObject
* obj2
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self",(char *) "width",(char *) "height", NULL
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 arg2
= (int)SWIG_As_int(obj1
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17706 arg3
= (int)SWIG_As_int(obj2
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 Py_INCREF(Py_None
); resultobj
= Py_None
;
17722 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17727 PyObject
* obj0
= 0 ;
17728 PyObject
* obj1
= 0 ;
17729 PyObject
* obj2
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "x",(char *) "y", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 arg2
= (int)SWIG_As_int(obj1
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17739 arg3
= (int)SWIG_As_int(obj2
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 Py_INCREF(Py_None
); resultobj
= Py_None
;
17755 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17758 int *arg2
= (int *) 0 ;
17759 int *arg3
= (int *) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self", NULL
17769 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17770 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 Py_INCREF(Py_None
); resultobj
= Py_None
;
17782 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17783 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17784 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17785 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17792 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17795 int *arg2
= (int *) 0 ;
17796 int *arg3
= (int *) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17807 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 Py_INCREF(Py_None
); resultobj
= Py_None
;
17819 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17820 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17821 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17822 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17829 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17832 int *arg2
= (int *) 0 ;
17833 int *arg3
= (int *) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self", NULL
17843 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17844 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 Py_INCREF(Py_None
); resultobj
= Py_None
;
17856 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17857 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17858 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17859 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17866 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17868 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17870 PyObject
* obj0
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17886 wxSize
* resultptr
;
17887 resultptr
= new wxSize((wxSize
&) result
);
17888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17896 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17916 wxSize
* resultptr
;
17917 resultptr
= new wxSize((wxSize
&) result
);
17918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17926 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 (arg1
)->base_InitDialog();
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 Py_INCREF(Py_None
); resultobj
= Py_None
;
17951 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (bool)(arg1
)->base_TransferDataToWindow();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17979 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18007 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (bool)(arg1
)->base_Validate();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18035 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18063 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18091 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 wxSize
* resultptr
;
18112 resultptr
= new wxSize((wxSize
&) result
);
18113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18121 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18124 wxWindow
*arg2
= (wxWindow
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "child", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->base_AddChild(arg2
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18153 wxWindow
*arg2
= (wxWindow
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 PyObject
* obj1
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "self",(char *) "child", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 (arg1
)->base_RemoveChild(arg2
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 Py_INCREF(Py_None
); resultobj
= Py_None
;
18179 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18207 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18210 wxColour
*arg2
= 0 ;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 char *kwnames
[] = {
18215 (char *) "self",(char *) "c", NULL
18218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18223 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18242 wxVisualAttributes result
;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 result
= (arg1
)->base_GetDefaultAttributes();
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 wxVisualAttributes
* resultptr
;
18260 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18269 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18272 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18274 return Py_BuildValue((char *)"");
18276 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18277 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18282 static PyObject
*_wrap_PrintoutTitleStr_get() {
18287 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18289 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18296 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18297 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18302 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18307 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18309 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18316 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18317 PyObject
*resultobj
;
18318 wxPrintData
*result
;
18320 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 result
= (wxPrintData
*)new wxPrintData();
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18335 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18336 PyObject
*resultobj
;
18337 wxPrintData
*arg1
= 0 ;
18338 wxPrintData
*result
;
18339 PyObject
* obj0
= 0 ;
18341 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18345 if (arg1
== NULL
) {
18346 PyErr_SetString(PyExc_TypeError
,"null reference");
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18363 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18368 argc
= PyObject_Length(args
);
18369 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18370 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18373 return _wrap_new_PrintData__SWIG_0(self
,args
);
18379 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18387 return _wrap_new_PrintData__SWIG_1(self
,args
);
18391 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18396 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 Py_INCREF(Py_None
); resultobj
= Py_None
;
18421 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18425 PyObject
* obj0
= 0 ;
18426 char *kwnames
[] = {
18427 (char *) "self", NULL
18430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 result
= (int)(arg1
)->GetNoCopies();
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= SWIG_From_int((int)result
);
18447 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, 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_GetCollate",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
= (bool)(arg1
)->GetCollate();
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18475 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18479 PyObject
* obj0
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (int)(arg1
)->GetOrientation();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_From_int((int)result
);
18501 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (bool)(arg1
)->Ok();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18529 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18545 result
= (wxString
*) &_result_ref
;
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18555 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18564 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (bool)(arg1
)->GetColour();
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18592 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (int)(arg1
)->GetDuplex();
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_From_int((int)result
);
18618 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 result
= (int)(arg1
)->GetPaperId();
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= SWIG_From_int((int)result
);
18644 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18660 result
= (wxSize
*) &_result_ref
;
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18673 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 result
= (int)(arg1
)->GetQuality();
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= SWIG_From_int((int)result
);
18699 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "v", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 arg2
= (int)SWIG_As_int(obj1
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 (arg1
)->SetNoCopies(arg2
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 Py_INCREF(Py_None
); resultobj
= Py_None
;
18728 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 PyObject
* obj1
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self",(char *) "flag", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 arg2
= (bool)SWIG_As_bool(obj1
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 (arg1
)->SetCollate(arg2
);
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18750 Py_INCREF(Py_None
); resultobj
= Py_None
;
18757 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self",(char *) "orient", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 arg2
= (int)SWIG_As_int(obj1
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 (arg1
)->SetOrientation(arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 Py_INCREF(Py_None
); resultobj
= Py_None
;
18786 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18789 wxString
*arg2
= 0 ;
18790 bool temp2
= False
;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self",(char *) "name", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18801 arg2
= wxString_in_helper(obj1
);
18802 if (arg2
== NULL
) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 Py_INCREF(Py_None
); resultobj
= Py_None
;
18827 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self",(char *) "colour", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18840 arg2
= (bool)SWIG_As_bool(obj1
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 (arg1
)->SetColour(arg2
);
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18849 Py_INCREF(Py_None
); resultobj
= Py_None
;
18856 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18860 PyObject
* obj0
= 0 ;
18861 PyObject
* obj1
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self",(char *) "duplex", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18869 arg2
= (int)SWIG_As_int(obj1
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self",(char *) "sizeId", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 arg2
= (int)SWIG_As_int(obj1
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 Py_INCREF(Py_None
); resultobj
= Py_None
;
18914 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 PyObject
* obj1
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "sz", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 Py_INCREF(Py_None
); resultobj
= Py_None
;
18946 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self",(char *) "quality", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18959 arg2
= (int)SWIG_As_int(obj1
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 (arg1
)->SetQuality(arg2
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 Py_INCREF(Py_None
); resultobj
= Py_None
;
18975 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18991 result
= (wxString
*) &_result_ref
;
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19001 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19010 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19026 result
= (wxString
*) &_result_ref
;
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19045 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19061 result
= (wxString
*) &_result_ref
;
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19080 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 wxString
const &_result_ref
= (arg1
)->GetFilename();
19096 result
= (wxString
*) &_result_ref
;
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19106 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19115 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
;
19117 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19131 result
= (wxString
*) &_result_ref
;
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19141 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19150 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (double)(arg1
)->GetPrinterScaleX();
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_From_double((double)result
);
19176 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19180 PyObject
* obj0
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (double)(arg1
)->GetPrinterScaleY();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_From_double((double)result
);
19202 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (long)(arg1
)->GetPrinterTranslateX();
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_From_long((long)result
);
19228 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 result
= (long)(arg1
)->GetPrinterTranslateY();
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= SWIG_From_long((long)result
);
19254 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (int)(arg1
)->GetPrintMode();
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= SWIG_From_int((int)result
);
19280 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19283 wxString
*arg2
= 0 ;
19284 bool temp2
= False
;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self",(char *) "command", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19295 arg2
= wxString_in_helper(obj1
);
19296 if (arg2
== NULL
) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19324 wxString
*arg2
= 0 ;
19325 bool temp2
= False
;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "options", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19336 arg2
= wxString_in_helper(obj1
);
19337 if (arg2
== NULL
) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 Py_INCREF(Py_None
); resultobj
= Py_None
;
19362 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19365 wxString
*arg2
= 0 ;
19366 bool temp2
= False
;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self",(char *) "command", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 arg2
= wxString_in_helper(obj1
);
19378 if (arg2
== NULL
) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19403 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19406 wxString
*arg2
= 0 ;
19407 bool temp2
= False
;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self",(char *) "filename", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19418 arg2
= wxString_in_helper(obj1
);
19419 if (arg2
== NULL
) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->SetFilename((wxString
const &)*arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19447 wxString
*arg2
= 0 ;
19448 bool temp2
= False
;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self",(char *) "path", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 arg2
= wxString_in_helper(obj1
);
19460 if (arg2
== NULL
) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 Py_INCREF(Py_None
); resultobj
= Py_None
;
19485 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19489 PyObject
* obj0
= 0 ;
19490 PyObject
* obj1
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self",(char *) "x", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19498 arg2
= (double)SWIG_As_double(obj1
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 (arg1
)->SetPrinterScaleX(arg2
);
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19507 Py_INCREF(Py_None
); resultobj
= Py_None
;
19514 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19515 PyObject
*resultobj
;
19516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self",(char *) "y", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19527 arg2
= (double)SWIG_As_double(obj1
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 (arg1
)->SetPrinterScaleY(arg2
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 Py_INCREF(Py_None
); resultobj
= Py_None
;
19543 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 PyObject
* obj2
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self",(char *) "x",(char *) "y", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19558 arg2
= (double)SWIG_As_double(obj1
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19560 arg3
= (double)SWIG_As_double(obj2
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 Py_INCREF(Py_None
); resultobj
= Py_None
;
19576 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self",(char *) "x", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 arg2
= (long)SWIG_As_long(obj1
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 (arg1
)->SetPrinterTranslateX(arg2
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 Py_INCREF(Py_None
); resultobj
= Py_None
;
19605 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "y", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 arg2
= (long)SWIG_As_long(obj1
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 (arg1
)->SetPrinterTranslateY(arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 Py_INCREF(Py_None
); resultobj
= Py_None
;
19634 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19639 PyObject
* obj0
= 0 ;
19640 PyObject
* obj1
= 0 ;
19641 PyObject
* obj2
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "x",(char *) "y", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19649 arg2
= (long)SWIG_As_long(obj1
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19651 arg3
= (long)SWIG_As_long(obj2
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 Py_INCREF(Py_None
); resultobj
= Py_None
;
19667 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self",(char *) "printMode", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 arg2
= (int)SWIG_As_int(obj1
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 Py_INCREF(Py_None
); resultobj
= Py_None
;
19696 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19699 wxOutputStream
*result
;
19700 PyObject
* obj0
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19722 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19725 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19726 PyObject
* obj0
= 0 ;
19727 PyObject
* obj1
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self",(char *) "outputstream", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 (arg1
)->SetOutputStream(arg2
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 Py_INCREF(Py_None
); resultobj
= Py_None
;
19751 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19754 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19756 return Py_BuildValue((char *)"");
19758 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19759 PyObject
*resultobj
;
19760 wxPageSetupDialogData
*result
;
19762 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19777 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19778 PyObject
*resultobj
;
19779 wxPageSetupDialogData
*arg1
= 0 ;
19780 wxPageSetupDialogData
*result
;
19781 PyObject
* obj0
= 0 ;
19783 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19787 if (arg1
== NULL
) {
19788 PyErr_SetString(PyExc_TypeError
,"null reference");
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19805 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19810 argc
= PyObject_Length(args
);
19811 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19812 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19815 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19829 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19833 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19838 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 Py_INCREF(Py_None
); resultobj
= Py_None
;
19863 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self",(char *) "flag", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 arg2
= (bool)SWIG_As_bool(obj1
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 (arg1
)->EnableHelp(arg2
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 Py_INCREF(Py_None
); resultobj
= Py_None
;
19892 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "flag", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19905 arg2
= (bool)SWIG_As_bool(obj1
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 (arg1
)->EnableMargins(arg2
);
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 Py_INCREF(Py_None
); resultobj
= Py_None
;
19921 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self",(char *) "flag", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19934 arg2
= (bool)SWIG_As_bool(obj1
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 (arg1
)->EnableOrientation(arg2
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 Py_INCREF(Py_None
); resultobj
= Py_None
;
19950 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 PyObject
* obj1
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "self",(char *) "flag", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19963 arg2
= (bool)SWIG_As_bool(obj1
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 (arg1
)->EnablePaper(arg2
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 Py_INCREF(Py_None
); resultobj
= Py_None
;
19979 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self",(char *) "flag", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19992 arg2
= (bool)SWIG_As_bool(obj1
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 (arg1
)->EnablePrinter(arg2
);
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 Py_INCREF(Py_None
); resultobj
= Py_None
;
20008 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
;
20010 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20012 PyObject
* obj0
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "self", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (bool)(arg1
)->GetDefaultMinMargins();
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20036 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (bool)(arg1
)->GetEnableMargins();
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20064 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (bool)(arg1
)->GetEnableOrientation();
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20092 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 result
= (bool)(arg1
)->GetEnablePaper();
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20120 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (bool)(arg1
)->GetEnablePrinter();
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (bool)(arg1
)->GetEnableHelp();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20176 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (bool)(arg1
)->GetDefaultInfo();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20204 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (arg1
)->GetMarginTopLeft();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 wxPoint
* resultptr
;
20225 resultptr
= new wxPoint((wxPoint
&) result
);
20226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20234 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (arg1
)->GetMarginBottomRight();
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20254 wxPoint
* resultptr
;
20255 resultptr
= new wxPoint((wxPoint
&) result
);
20256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20264 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (arg1
)->GetMinMarginTopLeft();
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20284 wxPoint
* resultptr
;
20285 resultptr
= new wxPoint((wxPoint
&) result
);
20286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20294 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 char *kwnames
[] = {
20300 (char *) "self", NULL
20303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (arg1
)->GetMinMarginBottomRight();
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20314 wxPoint
* resultptr
;
20315 resultptr
= new wxPoint((wxPoint
&) result
);
20316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20324 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 result
= (int)(arg1
)->GetPaperId();
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= SWIG_From_int((int)result
);
20350 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= (arg1
)->GetPaperSize();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20370 wxSize
* resultptr
;
20371 resultptr
= new wxSize((wxSize
&) result
);
20372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20380 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20383 wxPrintData
*result
;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20396 result
= (wxPrintData
*) &_result_ref
;
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20409 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20413 PyObject
* obj0
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= (bool)(arg1
)->Ok();
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20437 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "self",(char *) "flag", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20450 arg2
= (bool)SWIG_As_bool(obj1
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 (arg1
)->SetDefaultInfo(arg2
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 Py_INCREF(Py_None
); resultobj
= Py_None
;
20466 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "self",(char *) "flag", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20479 arg2
= (bool)SWIG_As_bool(obj1
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 (arg1
)->SetDefaultMinMargins(arg2
);
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20488 Py_INCREF(Py_None
); resultobj
= Py_None
;
20495 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20498 wxPoint
*arg2
= 0 ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "self",(char *) "pt", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 Py_INCREF(Py_None
); resultobj
= Py_None
;
20527 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20530 wxPoint
*arg2
= 0 ;
20532 PyObject
* obj0
= 0 ;
20533 PyObject
* obj1
= 0 ;
20534 char *kwnames
[] = {
20535 (char *) "self",(char *) "pt", NULL
20538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 Py_INCREF(Py_None
); resultobj
= Py_None
;
20559 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20562 wxPoint
*arg2
= 0 ;
20564 PyObject
* obj0
= 0 ;
20565 PyObject
* obj1
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self",(char *) "pt", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20594 wxPoint
*arg2
= 0 ;
20596 PyObject
* obj0
= 0 ;
20597 PyObject
* obj1
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "self",(char *) "pt", NULL
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 Py_INCREF(Py_None
); resultobj
= Py_None
;
20623 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self",(char *) "id", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 arg2
= (int)SWIG_As_int(obj1
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 Py_INCREF(Py_None
); resultobj
= Py_None
;
20652 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20657 PyObject
* obj0
= 0 ;
20658 PyObject
* obj1
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "size", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 Py_INCREF(Py_None
); resultobj
= Py_None
;
20684 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20687 wxPrintData
*arg2
= 0 ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "self",(char *) "printData", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20700 if (arg2
== NULL
) {
20701 PyErr_SetString(PyExc_TypeError
,"null reference");
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20718 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20721 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20723 return Py_BuildValue((char *)"");
20725 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxWindow
*arg1
= (wxWindow
*) 0 ;
20728 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20729 wxPageSetupDialog
*result
;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "parent",(char *) "data", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 if (!wxPyCheckForApp()) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20758 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20761 wxPageSetupDialogData
*result
;
20762 PyObject
* obj0
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20774 result
= (wxPageSetupDialogData
*) &_result_ref
;
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20787 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
;
20789 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20791 PyObject
* obj0
= 0 ;
20792 char *kwnames
[] = {
20793 (char *) "self", NULL
20796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (int)(arg1
)->ShowModal();
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_From_int((int)result
);
20813 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20816 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20818 return Py_BuildValue((char *)"");
20820 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20821 PyObject
*resultobj
;
20822 wxPrintDialogData
*result
;
20824 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20839 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20840 PyObject
*resultobj
;
20841 wxPrintData
*arg1
= 0 ;
20842 wxPrintDialogData
*result
;
20843 PyObject
* obj0
= 0 ;
20845 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20849 if (arg1
== NULL
) {
20850 PyErr_SetString(PyExc_TypeError
,"null reference");
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20867 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20872 argc
= PyObject_Length(args
);
20873 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20874 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20877 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20883 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20891 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20895 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20900 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 Py_INCREF(Py_None
); resultobj
= Py_None
;
20925 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_From_int((int)result
);
20951 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20953 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20955 PyObject
* obj0
= 0 ;
20956 char *kwnames
[] = {
20957 (char *) "self", NULL
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= SWIG_From_int((int)result
);
20977 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= SWIG_From_int((int)result
);
21003 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21004 PyObject
*resultobj
;
21005 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= SWIG_From_int((int)result
);
21029 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_From_int((int)result
);
21055 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21059 PyObject
* obj0
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21083 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21111 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21139 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "self", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21167 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21171 PyObject
* obj0
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "self", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21195 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 PyObject
* obj1
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self",(char *) "v", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 arg2
= (int)SWIG_As_int(obj1
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->SetFromPage(arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self",(char *) "v", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 arg2
= (int)SWIG_As_int(obj1
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 (arg1
)->SetToPage(arg2
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 Py_INCREF(Py_None
); resultobj
= Py_None
;
21253 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21257 PyObject
* obj0
= 0 ;
21258 PyObject
* obj1
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "self",(char *) "v", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21266 arg2
= (int)SWIG_As_int(obj1
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 (arg1
)->SetMinPage(arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 Py_INCREF(Py_None
); resultobj
= Py_None
;
21282 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "v", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 arg2
= (int)SWIG_As_int(obj1
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 (arg1
)->SetMaxPage(arg2
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 Py_INCREF(Py_None
); resultobj
= Py_None
;
21311 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self",(char *) "v", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 arg2
= (int)SWIG_As_int(obj1
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 (arg1
)->SetNoCopies(arg2
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 Py_INCREF(Py_None
); resultobj
= Py_None
;
21340 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 PyObject
* obj1
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self",(char *) "flag", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 arg2
= (bool)SWIG_As_bool(obj1
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 (arg1
)->SetAllPages(arg2
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 Py_INCREF(Py_None
); resultobj
= Py_None
;
21369 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "flag", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21382 arg2
= (bool)SWIG_As_bool(obj1
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 (arg1
)->SetSelection(arg2
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 Py_INCREF(Py_None
); resultobj
= Py_None
;
21398 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "flag", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 arg2
= (bool)SWIG_As_bool(obj1
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 (arg1
)->SetCollate(arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 Py_INCREF(Py_None
); resultobj
= Py_None
;
21427 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self",(char *) "flag", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 arg2
= (bool)SWIG_As_bool(obj1
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 (arg1
)->SetPrintToFile(arg2
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self",(char *) "flag", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21469 arg2
= (bool)SWIG_As_bool(obj1
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->SetSetupDialog(arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self",(char *) "flag", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21498 arg2
= (bool)SWIG_As_bool(obj1
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 (arg1
)->EnablePrintToFile(arg2
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 Py_INCREF(Py_None
); resultobj
= Py_None
;
21514 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
;
21516 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "self",(char *) "flag", NULL
21524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21527 arg2
= (bool)SWIG_As_bool(obj1
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 (arg1
)->EnableSelection(arg2
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 Py_INCREF(Py_None
); resultobj
= Py_None
;
21543 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "flag", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 arg2
= (bool)SWIG_As_bool(obj1
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 (arg1
)->EnablePageNumbers(arg2
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 Py_INCREF(Py_None
); resultobj
= Py_None
;
21572 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self",(char *) "flag", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 arg2
= (bool)SWIG_As_bool(obj1
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 (arg1
)->EnableHelp(arg2
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 Py_INCREF(Py_None
); resultobj
= Py_None
;
21601 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 char *kwnames
[] = {
21607 (char *) "self", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21629 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21633 PyObject
* obj0
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21657 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21685 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21689 PyObject
* obj0
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21713 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21741 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21744 wxPrintData
*result
;
21745 PyObject
* obj0
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21757 result
= (wxPrintData
*) &_result_ref
;
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21770 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21773 wxPrintData
*arg2
= 0 ;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self",(char *) "printData", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21786 if (arg2
== NULL
) {
21787 PyErr_SetString(PyExc_TypeError
,"null reference");
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 Py_INCREF(Py_None
); resultobj
= Py_None
;
21804 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21807 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21809 return Py_BuildValue((char *)"");
21811 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxWindow
*arg1
= (wxWindow
*) 0 ;
21814 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21815 wxPrintDialog
*result
;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "parent",(char *) "data", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21830 if (!wxPyCheckForApp()) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21844 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21847 wxPrintDialogData
*result
;
21848 PyObject
* obj0
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21860 result
= (wxPrintDialogData
*) &_result_ref
;
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21873 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (wxDC
*)(arg1
)->GetPrintDC();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= wxPyMake_wxObject(result
, 1);
21901 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (int)(arg1
)->ShowModal();
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_From_int((int)result
);
21927 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21930 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21932 return Py_BuildValue((char *)"");
21934 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21938 PyObject
* obj0
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "data", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 if (!wxPyCheckForApp()) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (wxPrinter
*)new wxPrinter(arg1
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21963 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 Py_INCREF(Py_None
); resultobj
= Py_None
;
21988 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21991 wxWindow
*arg2
= (wxWindow
*) 0 ;
21992 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 PyObject
* obj2
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "parent",(char *) "printout", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 (arg1
)->CreateAbortWindow(arg2
,arg3
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22024 wxPrintDialogData
*result
;
22025 PyObject
* obj0
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22037 result
= (wxPrintDialogData
*) &_result_ref
;
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22050 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22053 wxWindow
*arg2
= (wxWindow
*) 0 ;
22054 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22055 int arg4
= (int) True
;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 PyObject
* obj2
= 0 ;
22060 PyObject
* obj3
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22070 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22073 arg4
= (int)SWIG_As_int(obj3
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22092 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22095 wxWindow
*arg2
= (wxWindow
*) 0 ;
22097 PyObject
* obj0
= 0 ;
22098 PyObject
* obj1
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self",(char *) "parent", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= wxPyMake_wxObject(result
, 0);
22124 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22126 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22127 wxWindow
*arg2
= (wxWindow
*) 0 ;
22128 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22129 wxString
*arg4
= 0 ;
22130 bool temp4
= False
;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 PyObject
* obj2
= 0 ;
22134 PyObject
* obj3
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22144 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22147 arg4
= wxString_in_helper(obj3
);
22148 if (arg4
== NULL
) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 Py_INCREF(Py_None
); resultobj
= Py_None
;
22173 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22176 wxWindow
*arg2
= (wxWindow
*) 0 ;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self",(char *) "parent", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (bool)(arg1
)->Setup(arg2
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22205 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (bool)(arg1
)->GetAbort();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22236 char *kwnames
[] = {
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (int)wxPrinter::GetLastError();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_From_int((int)result
);
22255 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22258 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22260 return Py_BuildValue((char *)"");
22262 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22265 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22266 wxPyPrintout
*result
;
22267 bool temp1
= False
;
22268 PyObject
* obj0
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "title", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22276 arg1
= wxString_in_helper(obj0
);
22277 if (arg1
== NULL
) SWIG_fail
;
22282 if (!wxPyCheckForApp()) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= wxPyMake_wxObject(result
, 1);
22306 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22309 PyObject
*arg2
= (PyObject
*) 0 ;
22310 PyObject
*arg3
= (PyObject
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 PyObject
* obj2
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "self",(char *) "_class", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 Py_INCREF(Py_None
); resultobj
= Py_None
;
22337 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22369 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (wxDC
*)(arg1
)->GetDC();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= wxPyMake_wxObject(result
, 0);
22397 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22400 wxDC
*arg2
= (wxDC
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self",(char *) "dc", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 (arg1
)->SetDC(arg2
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 Py_INCREF(Py_None
); resultobj
= Py_None
;
22426 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22433 PyObject
* obj2
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "w",(char *) "h", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 arg2
= (int)SWIG_As_int(obj1
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22443 arg3
= (int)SWIG_As_int(obj2
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 Py_INCREF(Py_None
); resultobj
= Py_None
;
22459 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22462 int *arg2
= (int *) 0 ;
22463 int *arg3
= (int *) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self", NULL
22473 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22474 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 Py_INCREF(Py_None
); resultobj
= Py_None
;
22486 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22487 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22488 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22489 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22496 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 PyObject
* obj2
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self",(char *) "w",(char *) "h", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22511 arg2
= (int)SWIG_As_int(obj1
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22513 arg3
= (int)SWIG_As_int(obj2
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 Py_INCREF(Py_None
); resultobj
= Py_None
;
22529 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
;
22531 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22532 int *arg2
= (int *) 0 ;
22533 int *arg3
= (int *) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self", NULL
22543 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22544 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 Py_INCREF(Py_None
); resultobj
= Py_None
;
22556 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22557 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22558 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22559 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22566 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 PyObject
* obj1
= 0 ;
22573 PyObject
* obj2
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self",(char *) "x",(char *) "y", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 arg2
= (int)SWIG_As_int(obj1
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22583 arg3
= (int)SWIG_As_int(obj2
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 (arg1
)->SetPPIScreen(arg2
,arg3
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 Py_INCREF(Py_None
); resultobj
= Py_None
;
22599 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22602 int *arg2
= (int *) 0 ;
22603 int *arg3
= (int *) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self", NULL
22613 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22614 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 (arg1
)->GetPPIScreen(arg2
,arg3
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 Py_INCREF(Py_None
); resultobj
= Py_None
;
22626 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22627 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22628 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22629 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22636 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22641 PyObject
* obj0
= 0 ;
22642 PyObject
* obj1
= 0 ;
22643 PyObject
* obj2
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self",(char *) "x",(char *) "y", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22651 arg2
= (int)SWIG_As_int(obj1
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22653 arg3
= (int)SWIG_As_int(obj2
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 Py_INCREF(Py_None
); resultobj
= Py_None
;
22669 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22672 int *arg2
= (int *) 0 ;
22673 int *arg3
= (int *) 0 ;
22678 PyObject
* obj0
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self", NULL
22683 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22684 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22697 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22698 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22699 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22706 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= (bool)(arg1
)->IsPreview();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22734 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "p", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 arg2
= (bool)SWIG_As_bool(obj1
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 (arg1
)->SetIsPreview(arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22769 PyObject
* obj0
= 0 ;
22770 PyObject
* obj1
= 0 ;
22771 PyObject
* obj2
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 arg2
= (int)SWIG_As_int(obj1
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22781 arg3
= (int)SWIG_As_int(obj2
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22799 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 (arg1
)->base_OnEndDocument();
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 Py_INCREF(Py_None
); resultobj
= Py_None
;
22824 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 (arg1
)->base_OnBeginPrinting();
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 Py_INCREF(Py_None
); resultobj
= Py_None
;
22849 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 (arg1
)->base_OnEndPrinting();
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 Py_INCREF(Py_None
); resultobj
= Py_None
;
22874 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->base_OnPreparePrinting();
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 Py_INCREF(Py_None
); resultobj
= Py_None
;
22899 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self",(char *) "page", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22913 arg2
= (int)SWIG_As_int(obj1
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 result
= (bool)(arg1
)->base_HasPage(arg2
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22931 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22934 int *arg2
= (int *) 0 ;
22935 int *arg3
= (int *) 0 ;
22936 int *arg4
= (int *) 0 ;
22937 int *arg5
= (int *) 0 ;
22946 PyObject
* obj0
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self", NULL
22951 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22952 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22953 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22954 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 Py_INCREF(Py_None
); resultobj
= Py_None
;
22966 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22967 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22968 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22969 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22970 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22971 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22972 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22973 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22980 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22983 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22985 return Py_BuildValue((char *)"");
22987 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22990 wxWindow
*arg2
= (wxWindow
*) 0 ;
22991 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22992 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22993 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22994 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22995 long arg5
= (long) 0 ;
22996 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22997 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22998 wxPreviewCanvas
*result
;
23001 bool temp6
= False
;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 PyObject
* obj2
= 0 ;
23005 PyObject
* obj3
= 0 ;
23006 PyObject
* obj4
= 0 ;
23007 PyObject
* obj5
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23030 arg5
= (long)SWIG_As_long(obj4
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23035 arg6
= wxString_in_helper(obj5
);
23036 if (arg6
== NULL
) SWIG_fail
;
23041 if (!wxPyCheckForApp()) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23063 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23066 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23068 return Py_BuildValue((char *)"");
23070 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
;
23072 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23073 wxFrame
*arg2
= (wxFrame
*) 0 ;
23074 wxString
*arg3
= 0 ;
23075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23079 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23080 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23081 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23082 wxPreviewFrame
*result
;
23083 bool temp3
= False
;
23086 bool temp7
= False
;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 PyObject
* obj2
= 0 ;
23090 PyObject
* obj3
= 0 ;
23091 PyObject
* obj4
= 0 ;
23092 PyObject
* obj5
= 0 ;
23093 PyObject
* obj6
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23104 arg3
= wxString_in_helper(obj2
);
23105 if (arg3
== NULL
) SWIG_fail
;
23111 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23117 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23121 arg6
= (long)SWIG_As_long(obj5
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23126 arg7
= wxString_in_helper(obj6
);
23127 if (arg7
== NULL
) SWIG_fail
;
23132 if (!wxPyCheckForApp()) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23162 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23164 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23165 PyObject
* obj0
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 (arg1
)->Initialize();
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 Py_INCREF(Py_None
); resultobj
= Py_None
;
23187 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->CreateControlBar();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23215 PyObject
* obj0
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 (arg1
)->CreateCanvas();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 Py_INCREF(Py_None
); resultobj
= Py_None
;
23237 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23240 wxPreviewControlBar
*result
;
23241 PyObject
* obj0
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23263 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23266 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23268 return Py_BuildValue((char *)"");
23270 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23272 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23274 wxWindow
*arg3
= (wxWindow
*) 0 ;
23275 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23276 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23277 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23278 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23279 long arg6
= (long) wxTAB_TRAVERSAL
;
23280 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23281 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23282 wxPreviewControlBar
*result
;
23285 bool temp7
= False
;
23286 PyObject
* obj0
= 0 ;
23287 PyObject
* obj1
= 0 ;
23288 PyObject
* obj2
= 0 ;
23289 PyObject
* obj3
= 0 ;
23290 PyObject
* obj4
= 0 ;
23291 PyObject
* obj5
= 0 ;
23292 PyObject
* obj6
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23300 arg2
= (long)SWIG_As_long(obj1
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23302 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23313 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23317 arg6
= (long)SWIG_As_long(obj5
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23322 arg7
= wxString_in_helper(obj6
);
23323 if (arg7
== NULL
) SWIG_fail
;
23328 if (!wxPyCheckForApp()) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23350 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
;
23352 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 char *kwnames
[] = {
23356 (char *) "self", NULL
23359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 result
= (int)(arg1
)->GetZoomControl();
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 resultobj
= SWIG_From_int((int)result
);
23376 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
;
23378 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23380 PyObject
* obj0
= 0 ;
23381 PyObject
* obj1
= 0 ;
23382 char *kwnames
[] = {
23383 (char *) "self",(char *) "zoom", NULL
23386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23389 arg2
= (int)SWIG_As_int(obj1
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 (arg1
)->SetZoomControl(arg2
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 Py_INCREF(Py_None
); resultobj
= Py_None
;
23405 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23408 wxPrintPreview
*result
;
23409 PyObject
* obj0
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23431 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 Py_INCREF(Py_None
); resultobj
= Py_None
;
23456 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 (arg1
)->OnPrevious();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 Py_INCREF(Py_None
); resultobj
= Py_None
;
23481 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 Py_INCREF(Py_None
); resultobj
= Py_None
;
23506 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 Py_INCREF(Py_None
); resultobj
= Py_None
;
23531 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23534 PyObject
* obj0
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23549 Py_INCREF(Py_None
); resultobj
= Py_None
;
23556 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23559 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23561 return Py_BuildValue((char *)"");
23563 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23564 PyObject
*resultobj
;
23565 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23566 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23567 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23568 wxPrintPreview
*result
;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 PyObject
* obj2
= 0 ;
23573 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 if (!wxPyCheckForApp()) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23597 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23598 PyObject
*resultobj
;
23599 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23600 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23601 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23602 wxPrintPreview
*result
;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 PyObject
* obj2
= 0 ;
23607 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23615 if (!wxPyCheckForApp()) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23629 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23634 argc
= PyObject_Length(args
);
23635 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23636 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23638 if ((argc
>= 2) && (argc
<= 3)) {
23642 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23652 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23661 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23665 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23673 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23682 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23692 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23702 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23710 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23716 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23721 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23726 PyObject
* obj0
= 0 ;
23727 PyObject
* obj1
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self",(char *) "pageNum", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23735 arg2
= (int)SWIG_As_int(obj1
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23753 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (int)(arg1
)->GetCurrentPage();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= SWIG_From_int((int)result
);
23779 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23782 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23783 PyObject
* obj0
= 0 ;
23784 PyObject
* obj1
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "self",(char *) "printout", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 (arg1
)->SetPrintout(arg2
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 Py_INCREF(Py_None
); resultobj
= Py_None
;
23808 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23811 wxPyPrintout
*result
;
23812 PyObject
* obj0
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= wxPyMake_wxObject(result
, 0);
23836 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23839 wxPyPrintout
*result
;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= wxPyMake_wxObject(result
, 0);
23864 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23867 wxFrame
*arg2
= (wxFrame
*) 0 ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 char *kwnames
[] = {
23871 (char *) "self",(char *) "frame", NULL
23874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 (arg1
)->SetFrame(arg2
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 Py_INCREF(Py_None
); resultobj
= Py_None
;
23893 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
;
23895 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23896 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23897 PyObject
* obj0
= 0 ;
23898 PyObject
* obj1
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self",(char *) "canvas", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 (arg1
)->SetCanvas(arg2
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 Py_INCREF(Py_None
); resultobj
= Py_None
;
23922 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (wxFrame
*)(arg1
)->GetFrame();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= wxPyMake_wxObject(result
, 0);
23950 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
;
23952 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23953 wxPreviewCanvas
*result
;
23954 PyObject
* obj0
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "self", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23976 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23979 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 PyObject
* obj2
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23994 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23997 if (arg3
== NULL
) {
23998 PyErr_SetString(PyExc_TypeError
,"null reference");
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24017 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24020 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 PyObject
* obj2
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24035 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24038 if (arg3
== NULL
) {
24039 PyErr_SetString(PyExc_TypeError
,"null reference");
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24058 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self",(char *) "pageNum", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 arg2
= (int)SWIG_As_int(obj1
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (bool)(arg1
)->RenderPage(arg2
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24090 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24093 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "canvas", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 (arg1
)->AdjustScrollbars(arg2
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 Py_INCREF(Py_None
); resultobj
= Py_None
;
24119 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24122 wxPrintDialogData
*result
;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24135 result
= (wxPrintDialogData
*) &_result_ref
;
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24148 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "self",(char *) "percent", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24161 arg2
= (int)SWIG_As_int(obj1
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 (arg1
)->SetZoom(arg2
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 Py_INCREF(Py_None
); resultobj
= Py_None
;
24177 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
;
24179 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24181 PyObject
* obj0
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (int)(arg1
)->GetZoom();
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= SWIG_From_int((int)result
);
24203 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24204 PyObject
*resultobj
;
24205 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24207 PyObject
* obj0
= 0 ;
24208 char *kwnames
[] = {
24209 (char *) "self", NULL
24212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= (int)(arg1
)->GetMaxPage();
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= SWIG_From_int((int)result
);
24229 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "self", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 result
= (int)(arg1
)->GetMinPage();
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= SWIG_From_int((int)result
);
24255 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24259 PyObject
* obj0
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (bool)(arg1
)->Ok();
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24283 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self",(char *) "ok", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24296 arg2
= (bool)SWIG_As_bool(obj1
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 (arg1
)->SetOk(arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 Py_INCREF(Py_None
); resultobj
= Py_None
;
24312 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "interactive", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24326 arg2
= (bool)SWIG_As_bool(obj1
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= (bool)(arg1
)->Print(arg2
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24344 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 (arg1
)->DetermineScaling();
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 Py_INCREF(Py_None
); resultobj
= Py_None
;
24369 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24372 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24374 return Py_BuildValue((char *)"");
24376 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24377 PyObject
*resultobj
;
24378 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24379 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24380 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24381 wxPyPrintPreview
*result
;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 PyObject
* obj2
= 0 ;
24386 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24396 if (!wxPyCheckForApp()) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24410 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24411 PyObject
*resultobj
;
24412 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24413 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24414 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24415 wxPyPrintPreview
*result
;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24420 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24425 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24428 if (!wxPyCheckForApp()) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24442 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24447 argc
= PyObject_Length(args
);
24448 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24449 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24451 if ((argc
>= 2) && (argc
<= 3)) {
24455 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24465 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24474 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24478 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24486 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24495 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24505 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24515 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24523 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24529 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24534 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24537 PyObject
*arg2
= (PyObject
*) 0 ;
24538 PyObject
*arg3
= (PyObject
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 PyObject
* obj2
= 0 ;
24542 char *kwnames
[] = {
24543 (char *) "self",(char *) "self",(char *) "_class", NULL
24546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 Py_INCREF(Py_None
); resultobj
= Py_None
;
24565 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 char *kwnames
[] = {
24573 (char *) "self",(char *) "pageNum", NULL
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24579 arg2
= (int)SWIG_As_int(obj1
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24597 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24600 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 PyObject
* obj2
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24618 if (arg3
== NULL
) {
24619 PyErr_SetString(PyExc_TypeError
,"null reference");
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24638 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24641 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24659 if (arg3
== NULL
) {
24660 PyErr_SetString(PyExc_TypeError
,"null reference");
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24679 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 PyObject
* obj1
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "pageNum", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24693 arg2
= (int)SWIG_As_int(obj1
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24711 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "percent", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 arg2
= (int)SWIG_As_int(obj1
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->base_SetZoom(arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 Py_INCREF(Py_None
); resultobj
= Py_None
;
24740 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self",(char *) "interactive", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24754 arg2
= (bool)SWIG_As_bool(obj1
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 result
= (bool)(arg1
)->base_Print(arg2
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24772 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 (arg1
)->base_DetermineScaling();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 Py_INCREF(Py_None
); resultobj
= Py_None
;
24797 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24800 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24802 return Py_BuildValue((char *)"");
24804 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24807 wxFrame
*arg2
= (wxFrame
*) 0 ;
24808 wxString
*arg3
= 0 ;
24809 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24810 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24811 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24812 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24813 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24814 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24815 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24816 wxPyPreviewFrame
*result
;
24817 bool temp3
= False
;
24820 bool temp7
= False
;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 PyObject
* obj2
= 0 ;
24824 PyObject
* obj3
= 0 ;
24825 PyObject
* obj4
= 0 ;
24826 PyObject
* obj5
= 0 ;
24827 PyObject
* obj6
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24838 arg3
= wxString_in_helper(obj2
);
24839 if (arg3
== NULL
) SWIG_fail
;
24845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24855 arg6
= (long)SWIG_As_long(obj5
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24860 arg7
= wxString_in_helper(obj6
);
24861 if (arg7
== NULL
) SWIG_fail
;
24866 if (!wxPyCheckForApp()) SWIG_fail
;
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24896 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24899 PyObject
*arg2
= (PyObject
*) 0 ;
24900 PyObject
*arg3
= (PyObject
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 PyObject
* obj2
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "self",(char *) "_class", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 Py_INCREF(Py_None
); resultobj
= Py_None
;
24927 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24930 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "canvas", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->SetPreviewCanvas(arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24959 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self",(char *) "bar", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 (arg1
)->SetControlBar(arg2
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 Py_INCREF(Py_None
); resultobj
= Py_None
;
24985 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 (arg1
)->base_Initialize();
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 Py_INCREF(Py_None
); resultobj
= Py_None
;
25010 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->base_CreateCanvas();
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25038 PyObject
* obj0
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->base_CreateControlBar();
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 Py_INCREF(Py_None
); resultobj
= Py_None
;
25060 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25063 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25065 return Py_BuildValue((char *)"");
25067 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
;
25069 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25071 wxWindow
*arg3
= (wxWindow
*) 0 ;
25072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25076 long arg6
= (long) 0 ;
25077 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25078 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25079 wxPyPreviewControlBar
*result
;
25082 bool temp7
= False
;
25083 PyObject
* obj0
= 0 ;
25084 PyObject
* obj1
= 0 ;
25085 PyObject
* obj2
= 0 ;
25086 PyObject
* obj3
= 0 ;
25087 PyObject
* obj4
= 0 ;
25088 PyObject
* obj5
= 0 ;
25089 PyObject
* obj6
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25097 arg2
= (long)SWIG_As_long(obj1
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25099 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25114 arg6
= (long)SWIG_As_long(obj5
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25119 arg7
= wxString_in_helper(obj6
);
25120 if (arg7
== NULL
) SWIG_fail
;
25125 if (!wxPyCheckForApp()) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25147 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25150 PyObject
*arg2
= (PyObject
*) 0 ;
25151 PyObject
*arg3
= (PyObject
*) 0 ;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 PyObject
* obj2
= 0 ;
25155 char *kwnames
[] = {
25156 (char *) "self",(char *) "self",(char *) "_class", NULL
25159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25171 Py_INCREF(Py_None
); resultobj
= Py_None
;
25178 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25179 PyObject
*resultobj
;
25180 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25181 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25182 PyObject
* obj0
= 0 ;
25183 PyObject
* obj1
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self",(char *) "preview", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 (arg1
)->SetPrintPreview(arg2
);
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 Py_INCREF(Py_None
); resultobj
= Py_None
;
25207 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25210 PyObject
* obj0
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->base_CreateButtons();
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 Py_INCREF(Py_None
); resultobj
= Py_None
;
25232 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self",(char *) "zoom", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25245 arg2
= (int)SWIG_As_int(obj1
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 (arg1
)->base_SetZoomControl(arg2
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 Py_INCREF(Py_None
); resultobj
= Py_None
;
25261 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25264 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25266 return Py_BuildValue((char *)"");
25268 static PyMethodDef SwigMethods
[] = {
25269 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25275 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25290 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25291 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25300 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25315 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25339 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25351 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25355 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25359 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25364 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25381 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25409 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25416 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25439 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25447 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25459 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25465 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25474 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25480 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25485 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25491 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25495 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25513 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25539 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25547 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25556 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25558 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25567 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25570 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25577 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25595 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25599 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25604 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25608 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25624 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25627 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25629 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25633 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25642 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25651 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25657 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25672 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25679 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25683 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25709 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25735 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25761 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25762 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25807 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25808 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25839 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25843 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25844 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25877 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25882 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25893 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25916 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25918 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25924 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25934 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25935 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25958 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25959 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25968 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25976 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25982 { NULL
, NULL
, 0, NULL
}
25986 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25988 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25989 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25991 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25992 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25994 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25995 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25997 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25998 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26000 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26001 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26003 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26004 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26006 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26007 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26009 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26010 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26012 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26013 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26015 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26018 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26019 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26021 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26022 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26024 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26025 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26027 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26028 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26030 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26031 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26033 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26034 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26036 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26037 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26039 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26040 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26042 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26043 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26045 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26046 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26048 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26049 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26051 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26052 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26054 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26055 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26057 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26058 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26060 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26063 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26064 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26066 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26067 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26069 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26070 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26072 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26073 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26075 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26076 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26078 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26079 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26081 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26082 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26084 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26087 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26088 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26090 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26091 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26093 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26094 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26096 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26099 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26102 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26103 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26105 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26106 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26108 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26109 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26111 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26112 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26114 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26115 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26117 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26120 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26123 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26126 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26127 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26129 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26130 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26132 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26133 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26135 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26136 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26138 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26141 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26144 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26147 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26150 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26153 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26156 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26159 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26160 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26162 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26163 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26165 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26168 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26171 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26174 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26175 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26177 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26180 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26181 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26183 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26184 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26186 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26187 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26189 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26190 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26192 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26195 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26196 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26198 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26199 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26201 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26204 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26205 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26207 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26210 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26213 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26216 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26217 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26219 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26222 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26223 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26225 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26228 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26231 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26234 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26237 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26240 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
26241 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26243 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26246 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26249 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26252 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26255 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26258 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26261 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26264 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26267 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26268 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26270 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26271 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26273 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26274 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26276 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26277 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26279 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26280 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26282 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26283 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26285 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26286 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26288 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26289 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26291 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26292 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26294 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26295 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26297 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26300 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26303 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26304 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26306 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26307 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26309 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26312 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26313 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26315 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26316 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26318 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26319 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26321 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26322 return (void *)((wxObject
*) ((wxSizer
*) x
));
26324 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26325 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26327 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26330 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26333 static void *_p_wxEventTo_p_wxObject(void *x
) {
26334 return (void *)((wxObject
*) ((wxEvent
*) x
));
26336 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26337 return (void *)((wxObject
*) ((wxFontData
*) x
));
26339 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26340 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26342 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26343 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26345 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26346 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26348 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26349 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26351 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26352 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26354 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26355 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26357 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26360 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26361 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26363 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26364 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26366 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26367 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26369 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26370 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26372 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26373 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26375 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26376 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26378 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26381 static void *_p_wxControlTo_p_wxObject(void *x
) {
26382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26384 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26385 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26387 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26390 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26391 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26393 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26394 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26396 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26397 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26399 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26402 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26403 return (void *)((wxObject
*) ((wxColourData
*) x
));
26405 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26406 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26408 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26411 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26414 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26417 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26420 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26423 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26426 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26429 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26432 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26435 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26438 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26439 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26441 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26442 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26444 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26445 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26447 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26448 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26450 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26453 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26454 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26456 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26457 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26459 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26460 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26462 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26463 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26465 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26466 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26468 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26469 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26471 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26474 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26477 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26478 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26480 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26483 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26486 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26489 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26490 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26492 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26493 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26495 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26496 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26498 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26501 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26502 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26504 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26507 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26508 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26510 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26511 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26513 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26516 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26519 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26520 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26522 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26525 static void *_p_wxImageTo_p_wxObject(void *x
) {
26526 return (void *)((wxObject
*) ((wxImage
*) x
));
26528 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26531 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26532 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26534 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26535 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26537 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26538 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26540 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26543 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26546 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26549 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26550 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26552 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26553 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26555 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26556 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26558 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26559 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26561 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26564 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26567 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26570 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26573 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26576 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26579 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26582 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26585 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26588 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26591 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26594 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26597 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26600 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26603 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26604 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26606 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26607 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26609 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26612 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26615 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26618 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26621 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26624 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26627 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26630 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26631 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26633 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26636 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26637 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26639 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26640 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26642 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26643 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26645 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26646 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26648 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26649 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26651 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26654 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26655 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26657 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26660 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26663 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26664 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26666 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26667 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26669 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26672 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26675 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26676 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26678 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26679 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26681 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26684 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26685 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26687 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26688 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26690 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26691 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26693 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26694 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26696 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26697 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26699 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26700 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26702 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26703 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26705 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26706 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26708 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26709 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26711 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26712 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26714 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26715 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26717 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26718 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26720 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26721 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26723 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26724 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26726 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26727 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26729 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26730 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26732 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26733 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26735 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26736 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26738 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26739 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26741 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26742 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26744 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26745 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26747 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26748 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26750 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26751 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26753 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26754 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26756 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26757 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26759 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26760 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26762 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26763 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26765 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26766 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26768 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26769 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26771 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26772 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26774 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26775 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26777 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26778 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26780 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26781 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26783 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26784 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26786 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26787 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26789 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26790 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26792 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26793 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26795 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26798 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26799 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26801 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26802 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26804 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26805 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26807 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26808 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26810 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26811 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26813 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26814 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26816 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26817 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26819 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26820 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26822 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26823 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26825 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26826 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26828 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26829 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26831 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26832 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26834 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26835 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26837 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26838 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26840 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26841 return (void *)((wxWindow
*) ((wxControl
*) x
));
26843 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26844 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26846 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26849 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26852 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26853 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26855 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26856 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26858 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26859 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26861 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26862 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26864 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26865 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26867 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26868 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26870 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26871 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26873 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26874 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26876 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26877 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26879 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26880 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26882 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26883 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26885 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26886 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26888 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26889 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26891 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26892 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26894 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26895 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26897 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26898 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26900 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26901 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26903 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26904 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26906 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26907 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26909 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26910 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26912 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26913 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26915 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26916 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26918 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26919 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26921 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26922 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26924 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26925 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26927 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26928 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26930 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26931 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26933 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26934 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26936 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26937 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26939 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26940 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26942 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26943 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26945 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26946 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26948 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26949 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26951 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26952 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26954 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26955 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26957 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26958 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26960 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26961 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26963 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26964 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26966 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26967 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26969 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26970 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26972 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26973 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26975 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26976 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26978 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26979 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26981 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26982 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26984 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26985 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26987 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26988 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26990 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26991 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26993 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26994 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26996 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26997 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26999 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27000 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27002 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}};
27003 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}};
27004 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}};
27005 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}};
27006 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}};
27007 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}};
27008 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}};
27009 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}};
27010 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}};
27011 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}};
27012 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}};
27013 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}};
27014 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}};
27015 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}};
27016 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}};
27017 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}};
27018 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}};
27019 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}};
27020 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}};
27021 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}};
27022 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}};
27023 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}};
27024 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}};
27025 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}};
27026 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}};
27027 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}};
27028 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}};
27029 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}};
27030 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}};
27031 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}};
27032 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}};
27033 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}};
27034 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}};
27035 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}};
27036 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}};
27037 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}};
27038 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_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_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}};
27039 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}};
27040 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}};
27041 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}};
27042 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}};
27043 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}};
27044 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}};
27045 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_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}};
27046 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}};
27047 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}};
27048 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}};
27049 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}};
27050 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}};
27051 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}};
27052 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
27053 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}};
27054 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}};
27055 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}};
27056 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}};
27057 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}};
27058 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}};
27059 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}};
27060 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}};
27061 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27062 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},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27063 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}};
27064 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_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}};
27065 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
27066 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}};
27067 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}};
27068 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}};
27069 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}};
27070 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}};
27071 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}};
27072 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}};
27073 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}};
27074 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}};
27075 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}};
27076 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}};
27077 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}};
27078 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}};
27079 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}};
27080 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}};
27081 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}};
27082 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}};
27083 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}};
27084 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}};
27085 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}};
27086 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}};
27087 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}};
27089 static swig_type_info
*swig_types_initial
[] = {
27090 _swigt__p_wxQueryLayoutInfoEvent
,
27091 _swigt__p_wxPreviewFrame
,
27092 _swigt__p_wxPyPreviewFrame
,
27093 _swigt__p_wxPyPanel
,
27095 _swigt__p_wxFontData
,
27097 _swigt__p_wxPrintData
,
27098 _swigt__p_wxTaskBarIcon
,
27099 _swigt__p_wxIconBundle
,
27100 _swigt__p_wxLayoutAlgorithm
,
27101 _swigt__p_wxFindDialogEvent
,
27102 _swigt__p_wxPreviewCanvas
,
27104 _swigt__p_wxSplitterEvent
,
27105 _swigt__p_wxRegion
,
27106 _swigt__p_wxFindReplaceData
,
27111 _swigt__p_wxVisualAttributes
,
27112 _swigt__p_wxMDIChildFrame
,
27113 _swigt__p_wxColourData
,
27114 _swigt__p_wxNotifyEvent
,
27115 _swigt__p_wxPyWindow
,
27116 _swigt__p_wxSplashScreen
,
27117 _swigt__p_wxFindReplaceDialog
,
27118 _swigt__p_wxProgressDialog
,
27119 _swigt__p_wxMessageDialog
,
27120 _swigt__p_wxTextEntryDialog
,
27121 _swigt__p_wxSingleChoiceDialog
,
27122 _swigt__p_wxMultiChoiceDialog
,
27123 _swigt__p_wxFileDialog
,
27124 _swigt__p_wxPrinter
,
27125 _swigt__p_wxArrayInt
,
27126 _swigt__p_wxEvtHandler
,
27127 _swigt__p_wxCalculateLayoutEvent
,
27128 _swigt__p_wxPyHtmlListBox
,
27129 _swigt__p_wxPyVListBox
,
27132 _swigt__p_wxMiniFrame
,
27134 _swigt__p_wxPyPrintout
,
27135 _swigt__p_wxTaskBarIconEvent
,
27136 _swigt__p_wxScrollWinEvent
,
27137 _swigt__p_wxStatusBar
,
27138 _swigt__p_wxMDIParentFrame
,
27140 _swigt__p_wxObject
,
27141 _swigt__p_wxOutputStream
,
27142 _swigt__p_wxPyScrolledWindow
,
27143 _swigt__p_wxMDIClientWindow
,
27144 _swigt__p_wxTipWindow
,
27145 _swigt__p_wxSashLayoutWindow
,
27146 _swigt__p_wxSplitterWindow
,
27147 _swigt__p_wxSplashScreenWindow
,
27148 _swigt__p_wxPyVScrolledWindow
,
27149 _swigt__p_wxPyPopupTransientWindow
,
27150 _swigt__p_wxPopupWindow
,
27151 _swigt__p_wxSashWindow
,
27152 _swigt__p_wxTopLevelWindow
,
27153 _swigt__p_wxWindow
,
27154 _swigt__p_wxScrolledWindow
,
27155 _swigt__p_wxMenuBar
,
27156 _swigt__p_wxPrintPreview
,
27157 _swigt__p_wxSashEvent
,
27158 _swigt__p_wxString
,
27159 _swigt__p_wxPyPrintPreview
,
27160 _swigt__p_wxFontDialog
,
27161 _swigt__p_wxDirDialog
,
27162 _swigt__p_wxColourDialog
,
27163 _swigt__p_wxDialog
,
27165 _swigt__p_wxPageSetupDialog
,
27166 _swigt__p_wxPrintDialog
,
27167 _swigt__p_wxFileSystem
,
27168 _swigt__p_wxBitmap
,
27169 _swigt__p_wxCommandEvent
,
27170 _swigt__p_wxPreviewControlBar
,
27171 _swigt__p_wxPyPreviewControlBar
,
27172 _swigt__p_wxColour
,
27173 _swigt__p_wxToolBar
,
27174 _swigt__p_wxPageSetupDialogData
,
27175 _swigt__p_wxPrintDialogData
,
27180 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27182 static swig_const_info swig_const_table
[] = {
27183 {0, 0, 0, 0.0, 0, 0}};
27192 SWIGEXPORT(void) SWIG_init(void) {
27193 static PyObject
*SWIG_globals
= 0;
27194 static int typeinit
= 0;
27197 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27198 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27199 d
= PyModule_GetDict(m
);
27202 for (i
= 0; swig_types_initial
[i
]; i
++) {
27203 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27207 SWIG_InstallConstants(d
,swig_const_table
);
27209 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27210 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27211 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27212 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27213 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27214 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27215 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27216 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27217 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27218 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27219 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27220 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27221 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27222 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27223 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27224 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27225 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27226 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27227 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27228 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27229 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27230 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27231 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27232 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27233 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27234 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27235 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27236 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27237 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27238 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27239 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27240 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27241 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27242 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27243 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27244 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27245 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27246 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27247 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27248 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27249 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27250 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27251 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27252 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27253 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27254 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27255 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27256 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27257 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27258 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27259 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27260 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27261 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27262 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27263 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27264 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27265 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27266 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27267 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27268 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27269 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27270 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27271 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27272 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27273 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27274 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27275 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27276 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27277 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27278 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27279 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27280 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27281 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27282 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27283 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27284 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27285 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27286 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27287 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27288 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27289 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27290 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27291 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27292 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27293 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27294 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27295 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27296 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27297 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27298 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27299 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27300 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27301 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27302 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27303 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27304 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27305 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27306 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27308 // Map renamed classes back to their common name for OOR
27309 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27310 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27311 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27313 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27314 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27315 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27316 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27317 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27318 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27319 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27320 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27321 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27322 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27323 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27324 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27325 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27326 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27327 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27328 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27329 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27330 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27331 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27332 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27333 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27334 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27335 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27336 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27337 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27338 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27339 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27340 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27341 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27342 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27343 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27344 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27345 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27346 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27347 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27348 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27349 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27350 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27351 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27352 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27353 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27354 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27355 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27356 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27357 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27358 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27359 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27360 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27361 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27362 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27363 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27364 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27365 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27366 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27367 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27368 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27369 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27370 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27371 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27372 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27374 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");