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
);
921 #ifndef wxHAS_TASK_BAR_ICON
922 // implement dummy classes for platforms that don't have it
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
; }
937 bool IsOk() const { return false; }
938 bool IsIconInstalled() const { return false; }
939 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
940 bool RemoveIcon() { return false; }
941 bool PopupMenu(wxMenu
*menu
) { return false; }
945 wxEVT_TASKBAR_MOVE
= 0,
946 wxEVT_TASKBAR_LEFT_DOWN
= 0,
947 wxEVT_TASKBAR_LEFT_UP
= 0,
948 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
949 wxEVT_TASKBAR_RIGHT_UP
= 0,
950 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
951 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
956 // // Otherwise make a class that can virtualize CreatePopupMenu
957 // class wxPyTaskBarIcon : public wxTaskBarIcon
959 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
961 // wxPyTaskBarIcon() : wxTaskBarIcon()
964 // wxMenu* CreatePopupMenu() {
965 // wxMenu *rval = NULL;
967 // bool blocked = wxPyBeginBlockThreads();
968 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
971 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
973 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
978 // wxPyEndBlockThreads(blocked);
980 // rval = wxTaskBarIcon::CreatePopupMenu();
987 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
991 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
996 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
997 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
998 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
999 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1000 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
1001 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
1002 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
1004 self
->GetFilenames(arr
);
1005 return wxArrayString2PyList_helper(arr
);
1007 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1009 self
->GetPaths(arr
);
1010 return wxArrayString2PyList_helper(arr
);
1012 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1013 return wxArrayInt2PyList_helper(self
->GetSelections());
1015 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1016 return new wxSingleChoiceDialog(parent
, message
, caption
,
1017 choices
, choices_array
, NULL
, style
, pos
);
1022 // C++ version of Python aware wxWindow
1023 class wxPyWindow
: public wxWindow
1025 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1027 wxPyWindow() : wxWindow() {}
1028 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1029 const wxPoint
& pos
= wxDefaultPosition
,
1030 const wxSize
& size
= wxDefaultSize
,
1032 const wxString
& name
= wxPyPanelNameStr
)
1033 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1035 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1037 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1038 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1039 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1040 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1042 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1043 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1044 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1046 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1047 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1049 DEC_PYCALLBACK__(InitDialog
);
1050 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1051 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1052 DEC_PYCALLBACK_BOOL_(Validate
);
1054 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1055 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1056 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1058 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1059 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1061 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1062 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1063 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1068 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1070 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1071 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1072 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1073 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1075 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1076 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1077 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1079 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1080 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1082 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1083 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1084 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1085 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1087 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1088 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1089 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1091 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1092 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1094 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1095 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1096 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1099 // C++ version of Python aware wxPanel
1100 class wxPyPanel
: public wxPanel
1102 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1104 wxPyPanel() : wxPanel() {}
1105 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1106 const wxPoint
& pos
= wxDefaultPosition
,
1107 const wxSize
& size
= wxDefaultSize
,
1109 const wxString
& name
= wxPyPanelNameStr
)
1110 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1112 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1115 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1116 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1117 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1118 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1124 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1125 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1127 DEC_PYCALLBACK__(InitDialog
);
1128 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1129 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1130 DEC_PYCALLBACK_BOOL_(Validate
);
1132 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1133 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1134 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1139 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1140 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1141 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1146 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1148 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1149 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1150 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1151 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1154 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1155 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1157 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1158 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1160 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1161 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1162 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1163 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1165 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1166 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1167 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1169 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1170 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1172 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1173 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1174 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1177 // C++ version of Python aware wxScrolledWindow
1178 class wxPyScrolledWindow
: public wxScrolledWindow
1180 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1182 wxPyScrolledWindow() : wxScrolledWindow() {}
1183 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1184 const wxPoint
& pos
= wxDefaultPosition
,
1185 const wxSize
& size
= wxDefaultSize
,
1187 const wxString
& name
= wxPyPanelNameStr
)
1188 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1190 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1192 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1193 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1194 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1195 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1198 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1201 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1202 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1204 DEC_PYCALLBACK__(InitDialog
);
1205 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1206 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1207 DEC_PYCALLBACK_BOOL_(Validate
);
1209 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1210 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1211 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1213 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1214 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1216 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1217 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1218 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1223 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1225 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1226 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1227 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1228 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1234 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1235 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1237 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1238 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1239 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1240 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1242 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1243 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1244 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1246 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1249 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1250 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1251 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1255 #include "wx/wxPython/printfw.h"
1258 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1259 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1263 // Since this one would be tough and ugly to do with the Macros...
1264 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1265 bool hadErr
= false;
1268 bool blocked
= wxPyBeginBlockThreads();
1269 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1270 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1271 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1274 val
= PyTuple_GetItem(result
, 0);
1275 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1278 val
= PyTuple_GetItem(result
, 1);
1279 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1282 val
= PyTuple_GetItem(result
, 2);
1283 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1286 val
= PyTuple_GetItem(result
, 3);
1287 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1294 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1299 wxPyEndBlockThreads(blocked
);
1301 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1304 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1305 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1309 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1310 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1311 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1312 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1313 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1314 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1315 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1321 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1322 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1323 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1326 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1327 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1330 bool blocked = wxPyBeginBlockThreads(); \
1331 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1332 PyObject* win = wxPyMake_wxObject(a,false); \
1333 PyObject* dc = wxPyMake_wxObject(&b,false); \
1334 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1338 wxPyEndBlockThreads(blocked); \
1340 rval = PCLASS::CBNAME(a, b); \
1343 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1344 return PCLASS::CBNAME(a, b); \
1350 class wxPyPrintPreview
: public wxPrintPreview
1352 DECLARE_CLASS(wxPyPrintPreview
)
1354 wxPyPrintPreview(wxPyPrintout
* printout
,
1355 wxPyPrintout
* printoutForPrinting
,
1356 wxPrintDialogData
* data
=NULL
)
1357 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1359 wxPyPrintPreview(wxPyPrintout
* printout
,
1360 wxPyPrintout
* printoutForPrinting
,
1361 wxPrintData
* data
=NULL
)
1362 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1365 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1366 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1367 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1368 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1369 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1370 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1371 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1376 // Stupid renamed classes... Fix this in 2.5...
1377 #if defined(__WXMSW__)
1378 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1379 #elif defined(__WXMAC__)
1380 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1382 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1385 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1386 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1387 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1388 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1389 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1390 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1391 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1394 class wxPyPreviewFrame
: public wxPreviewFrame
1396 DECLARE_CLASS(wxPyPreviewFrame
);
1398 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1399 const wxString
& title
,
1400 const wxPoint
& pos
= wxDefaultPosition
,
1401 const wxSize
& size
= wxDefaultSize
,
1402 long style
= wxDEFAULT_FRAME_STYLE
,
1403 const wxString
& name
= wxPyFrameNameStr
)
1404 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1407 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1408 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1410 DEC_PYCALLBACK_VOID_(Initialize
);
1411 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1412 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1417 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1419 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1420 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1421 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1424 class wxPyPreviewControlBar
: public wxPreviewControlBar
1426 DECLARE_CLASS(wxPyPreviewControlBar
);
1428 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1431 const wxPoint
& pos
= wxDefaultPosition
,
1432 const wxSize
& size
= wxDefaultSize
,
1434 const wxString
& name
= wxPyPanelNameStr
)
1435 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1438 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1440 DEC_PYCALLBACK_VOID_(CreateButtons
);
1441 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1446 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1447 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1448 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1453 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxWindow
*arg1
= (wxWindow
*) 0 ;
1456 int arg2
= (int) (int)-1 ;
1457 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1458 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1459 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1460 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1461 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1462 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1463 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1467 bool temp6
= false ;
1468 PyObject
* obj0
= 0 ;
1469 PyObject
* obj1
= 0 ;
1470 PyObject
* obj2
= 0 ;
1471 PyObject
* obj3
= 0 ;
1472 PyObject
* obj4
= 0 ;
1473 PyObject
* obj5
= 0 ;
1475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1482 arg2
= (int)SWIG_As_int(obj1
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1494 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1498 arg5
= (long)SWIG_As_long(obj4
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1503 arg6
= wxString_in_helper(obj5
);
1504 if (arg6
== NULL
) SWIG_fail
;
1509 if (!wxPyCheckForApp()) SWIG_fail
;
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1531 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1540 if (!wxPyCheckForApp()) SWIG_fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 result
= (wxPanel
*)new wxPanel();
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1554 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
*resultobj
;
1556 wxPanel
*arg1
= (wxPanel
*) 0 ;
1557 wxWindow
*arg2
= (wxWindow
*) 0 ;
1558 int arg3
= (int) (int)-1 ;
1559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1563 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1564 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1565 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1569 bool temp7
= false ;
1570 PyObject
* obj0
= 0 ;
1571 PyObject
* obj1
= 0 ;
1572 PyObject
* obj2
= 0 ;
1573 PyObject
* obj3
= 0 ;
1574 PyObject
* obj4
= 0 ;
1575 PyObject
* obj5
= 0 ;
1576 PyObject
* obj6
= 0 ;
1578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1587 arg3
= (int)SWIG_As_int(obj2
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1603 arg6
= (long)SWIG_As_long(obj5
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1608 arg7
= wxString_in_helper(obj6
);
1609 if (arg7
== NULL
) SWIG_fail
;
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1637 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxPanel
*arg1
= (wxPanel
*) 0 ;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "self", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 (arg1
)->InitDialog();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 Py_INCREF(Py_None
); resultobj
= Py_None
;
1662 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1665 wxVisualAttributes result
;
1666 PyObject
* obj0
= 0 ;
1668 (char *) "variant", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1673 arg1
= (int)SWIG_As_int(obj0
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1677 if (!wxPyCheckForApp()) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1685 wxVisualAttributes
* resultptr
;
1686 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1695 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1698 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1700 return Py_BuildValue((char *)"");
1702 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxWindow
*arg1
= (wxWindow
*) 0 ;
1705 int arg2
= (int) (int)-1 ;
1706 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1707 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1708 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1709 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1710 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1711 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1712 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1713 wxScrolledWindow
*result
;
1716 bool temp6
= false ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1719 PyObject
* obj2
= 0 ;
1720 PyObject
* obj3
= 0 ;
1721 PyObject
* obj4
= 0 ;
1722 PyObject
* obj5
= 0 ;
1724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1731 arg2
= (int)SWIG_As_int(obj1
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1743 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1747 arg5
= (long)SWIG_As_long(obj4
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1752 arg6
= wxString_in_helper(obj5
);
1753 if (arg6
== NULL
) SWIG_fail
;
1758 if (!wxPyCheckForApp()) SWIG_fail
;
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1780 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxScrolledWindow
*result
;
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1789 if (!wxPyCheckForApp()) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1803 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1806 wxWindow
*arg2
= (wxWindow
*) 0 ;
1807 int arg3
= (int) (int)-1 ;
1808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1812 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1813 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1814 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1818 bool temp7
= false ;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1821 PyObject
* obj2
= 0 ;
1822 PyObject
* obj3
= 0 ;
1823 PyObject
* obj4
= 0 ;
1824 PyObject
* obj5
= 0 ;
1825 PyObject
* obj6
= 0 ;
1827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1836 arg3
= (int)SWIG_As_int(obj2
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1852 arg6
= (long)SWIG_As_long(obj5
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1857 arg7
= wxString_in_helper(obj6
);
1858 if (arg7
== NULL
) SWIG_fail
;
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1886 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
*resultobj
;
1888 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1893 int arg6
= (int) 0 ;
1894 int arg7
= (int) 0 ;
1895 bool arg8
= (bool) false ;
1896 PyObject
* obj0
= 0 ;
1897 PyObject
* obj1
= 0 ;
1898 PyObject
* obj2
= 0 ;
1899 PyObject
* obj3
= 0 ;
1900 PyObject
* obj4
= 0 ;
1901 PyObject
* obj5
= 0 ;
1902 PyObject
* obj6
= 0 ;
1903 PyObject
* obj7
= 0 ;
1905 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 arg2
= (int)SWIG_As_int(obj1
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1913 arg3
= (int)SWIG_As_int(obj2
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1915 arg4
= (int)SWIG_As_int(obj3
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1917 arg5
= (int)SWIG_As_int(obj4
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 arg6
= (int)SWIG_As_int(obj5
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1924 arg7
= (int)SWIG_As_int(obj6
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1928 arg8
= (bool)SWIG_As_bool(obj7
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1938 Py_INCREF(Py_None
); resultobj
= Py_None
;
1945 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
*resultobj
;
1947 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1950 PyObject
* obj0
= 0 ;
1951 PyObject
* obj1
= 0 ;
1952 PyObject
* obj2
= 0 ;
1954 (char *) "self",(char *) "x",(char *) "y", NULL
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1960 arg2
= (int)SWIG_As_int(obj1
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1962 arg3
= (int)SWIG_As_int(obj2
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 (arg1
)->Scroll(arg2
,arg3
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1971 Py_INCREF(Py_None
); resultobj
= Py_None
;
1978 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1986 (char *) "self",(char *) "orient", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1992 arg2
= (int)SWIG_As_int(obj1
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 resultobj
= SWIG_From_int((int)result
);
2008 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2014 PyObject
* obj1
= 0 ;
2015 PyObject
* obj2
= 0 ;
2017 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2023 arg2
= (int)SWIG_As_int(obj1
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2025 arg3
= (int)SWIG_As_int(obj2
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 Py_INCREF(Py_None
); resultobj
= Py_None
;
2041 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2046 PyObject
* obj0
= 0 ;
2047 PyObject
* obj1
= 0 ;
2048 PyObject
* obj2
= 0 ;
2050 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2056 arg2
= (int)SWIG_As_int(obj1
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2058 arg3
= (int)SWIG_As_int(obj2
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 (arg1
)->SetScrollRate(arg2
,arg3
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2067 Py_INCREF(Py_None
); resultobj
= Py_None
;
2074 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2077 int *arg2
= (int *) 0 ;
2078 int *arg3
= (int *) 0 ;
2083 PyObject
* obj0
= 0 ;
2085 (char *) "self", NULL
2088 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2089 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2100 Py_INCREF(Py_None
); resultobj
= Py_None
;
2101 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2102 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2103 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2104 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2111 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2118 PyObject
* obj2
= 0 ;
2120 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2126 arg2
= (bool)SWIG_As_bool(obj1
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2128 arg3
= (bool)SWIG_As_bool(obj2
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 (arg1
)->EnableScrolling(arg2
,arg3
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 Py_INCREF(Py_None
); resultobj
= Py_None
;
2144 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2147 int *arg2
= (int *) 0 ;
2148 int *arg3
= (int *) 0 ;
2153 PyObject
* obj0
= 0 ;
2155 (char *) "self", NULL
2158 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2159 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2170 Py_INCREF(Py_None
); resultobj
= Py_None
;
2171 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2172 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2173 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2174 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2181 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2186 PyObject
* obj0
= 0 ;
2187 PyObject
* obj1
= 0 ;
2188 PyObject
* obj2
= 0 ;
2190 (char *) "self",(char *) "xs",(char *) "ys", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2196 arg2
= (double)SWIG_As_double(obj1
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2198 arg3
= (double)SWIG_As_double(obj2
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 (arg1
)->SetScale(arg2
,arg3
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 Py_INCREF(Py_None
); resultobj
= Py_None
;
2214 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2220 (char *) "self", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2233 resultobj
= SWIG_From_double((double)result
);
2240 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
*resultobj
;
2242 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2244 PyObject
* obj0
= 0 ;
2246 (char *) "self", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 resultobj
= SWIG_From_double((double)result
);
2266 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2267 PyObject
*resultobj
;
2268 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2273 PyObject
* obj1
= 0 ;
2275 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2290 wxPoint
* resultptr
;
2291 resultptr
= new wxPoint((wxPoint
&) result
);
2292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2300 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2301 PyObject
*resultobj
;
2302 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2305 int *arg4
= (int *) 0 ;
2306 int *arg5
= (int *) 0 ;
2311 PyObject
* obj0
= 0 ;
2312 PyObject
* obj1
= 0 ;
2313 PyObject
* obj2
= 0 ;
2315 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2316 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2317 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2320 arg2
= (int)SWIG_As_int(obj1
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2322 arg3
= (int)SWIG_As_int(obj2
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2332 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2333 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2334 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2335 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2342 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2347 argc
= PyObject_Length(args
);
2348 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2349 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2355 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2364 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2367 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2375 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2383 _v
= SWIG_Check_int(argv
[1]);
2385 _v
= SWIG_Check_int(argv
[2]);
2387 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2393 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2398 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2399 PyObject
*resultobj
;
2400 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2407 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2422 wxPoint
* resultptr
;
2423 resultptr
= new wxPoint((wxPoint
&) result
);
2424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2432 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2433 PyObject
*resultobj
;
2434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2437 int *arg4
= (int *) 0 ;
2438 int *arg5
= (int *) 0 ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2445 PyObject
* obj2
= 0 ;
2447 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2448 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2449 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2452 arg2
= (int)SWIG_As_int(obj1
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2454 arg3
= (int)SWIG_As_int(obj2
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 Py_INCREF(Py_None
); resultobj
= Py_None
;
2464 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2465 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2466 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2467 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2474 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2479 argc
= PyObject_Length(args
);
2480 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2481 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2487 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2496 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2499 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2507 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2515 _v
= SWIG_Check_int(argv
[1]);
2517 _v
= SWIG_Check_int(argv
[2]);
2519 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2525 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2530 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->AdjustScrollbars();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2558 wxScrollWinEvent
*arg2
= 0 ;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2563 (char *) "self",(char *) "event", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2573 PyErr_SetString(PyExc_TypeError
,"null reference");
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 resultobj
= SWIG_From_int((int)result
);
2590 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2593 wxWindow
*arg2
= (wxWindow
*) 0 ;
2594 PyObject
* obj0
= 0 ;
2595 PyObject
* obj1
= 0 ;
2597 (char *) "self",(char *) "target", NULL
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 (arg1
)->SetTargetWindow(arg2
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2612 Py_INCREF(Py_None
); resultobj
= Py_None
;
2619 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2625 (char *) "self", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2639 resultobj
= wxPyMake_wxObject(result
, 0);
2647 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2655 (char *) "self",(char *) "rect", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2685 (char *) "self", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2700 resultptr
= new wxRect((wxRect
&) result
);
2701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2709 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2713 PyObject
* obj0
= 0 ;
2714 PyObject
* obj1
= 0 ;
2716 (char *) "self",(char *) "dc", NULL
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2726 PyErr_SetString(PyExc_TypeError
,"null reference");
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 (arg1
)->DoPrepareDC(*arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 Py_INCREF(Py_None
); resultobj
= Py_None
;
2743 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2746 wxVisualAttributes result
;
2747 PyObject
* obj0
= 0 ;
2749 (char *) "variant", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2754 arg1
= (int)SWIG_As_int(obj0
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2758 if (!wxPyCheckForApp()) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2766 wxVisualAttributes
* resultptr
;
2767 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2776 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2779 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2781 return Py_BuildValue((char *)"");
2783 static int _wrap_FrameNameStr_set(PyObject
*) {
2784 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2789 static PyObject
*_wrap_FrameNameStr_get() {
2794 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2796 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2803 static int _wrap_DialogNameStr_set(PyObject
*) {
2804 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2809 static PyObject
*_wrap_DialogNameStr_get() {
2814 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2816 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2823 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2824 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2829 static PyObject
*_wrap_StatusLineNameStr_get() {
2834 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2836 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2843 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2844 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2849 static PyObject
*_wrap_ToolBarNameStr_get() {
2854 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2856 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2863 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2866 bool arg2
= (bool) true ;
2867 PyObject
* obj0
= 0 ;
2868 PyObject
* obj1
= 0 ;
2870 (char *) "self",(char *) "maximize", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2877 arg2
= (bool)SWIG_As_bool(obj1
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 (arg1
)->Maximize(arg2
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2887 Py_INCREF(Py_None
); resultobj
= Py_None
;
2894 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2897 PyObject
* obj0
= 0 ;
2899 (char *) "self", NULL
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2912 Py_INCREF(Py_None
); resultobj
= Py_None
;
2919 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2922 bool arg2
= (bool) true ;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "iconize", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2933 arg2
= (bool)SWIG_As_bool(obj1
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 (arg1
)->Iconize(arg2
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 Py_INCREF(Py_None
); resultobj
= Py_None
;
2950 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2954 PyObject
* obj0
= 0 ;
2956 (char *) "self", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2978 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2984 (char *) "self", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3006 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "self", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3027 resultptr
= new wxIcon((wxIcon
&) result
);
3028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3036 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3043 (char *) "self",(char *) "icon", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3053 PyErr_SetString(PyExc_TypeError
,"null reference");
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3063 Py_INCREF(Py_None
); resultobj
= Py_None
;
3070 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
;
3072 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3073 wxIconBundle
*arg2
= 0 ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3077 (char *) "self",(char *) "icons", NULL
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3087 PyErr_SetString(PyExc_TypeError
,"null reference");
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 Py_INCREF(Py_None
); resultobj
= Py_None
;
3104 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3108 long arg3
= (long) wxFULLSCREEN_ALL
;
3110 PyObject
* obj0
= 0 ;
3111 PyObject
* obj1
= 0 ;
3112 PyObject
* obj2
= 0 ;
3114 (char *) "self",(char *) "show",(char *) "style", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3120 arg2
= (bool)SWIG_As_bool(obj1
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 arg3
= (long)SWIG_As_long(obj2
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3142 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3146 PyObject
* obj0
= 0 ;
3148 (char *) "self", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3170 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3173 wxString
*arg2
= 0 ;
3174 bool temp2
= false ;
3175 PyObject
* obj0
= 0 ;
3176 PyObject
* obj1
= 0 ;
3178 (char *) "self",(char *) "title", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3185 arg2
= wxString_in_helper(obj1
);
3186 if (arg2
== NULL
) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 (arg1
)->SetTitle((wxString
const &)*arg2
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 Py_INCREF(Py_None
); resultobj
= Py_None
;
3211 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3215 PyObject
* obj0
= 0 ;
3217 (char *) "self", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3243 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3246 wxRegion
*arg2
= 0 ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3251 (char *) "self",(char *) "region", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3261 PyErr_SetString(PyExc_TypeError
,"null reference");
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3280 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3283 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3284 PyObject
* obj0
= 0 ;
3285 PyObject
* obj1
= 0 ;
3287 (char *) "self",(char *) "flags", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3294 arg2
= (int)SWIG_As_int(obj1
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 (arg1
)->RequestUserAttention(arg2
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3304 Py_INCREF(Py_None
); resultobj
= Py_None
;
3311 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3314 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3316 return Py_BuildValue((char *)"");
3318 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
;
3320 wxWindow
*arg1
= (wxWindow
*) 0 ;
3321 int arg2
= (int) (int)-1 ;
3322 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3323 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3324 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3325 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3326 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3327 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3328 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3329 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3330 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3332 bool temp3
= false ;
3335 bool temp7
= false ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3338 PyObject
* obj2
= 0 ;
3339 PyObject
* obj3
= 0 ;
3340 PyObject
* obj4
= 0 ;
3341 PyObject
* obj5
= 0 ;
3342 PyObject
* obj6
= 0 ;
3344 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3351 arg2
= (int)SWIG_As_int(obj1
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3356 arg3
= wxString_in_helper(obj2
);
3357 if (arg3
== NULL
) SWIG_fail
;
3364 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3370 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3374 arg6
= (long)SWIG_As_long(obj5
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3379 arg7
= wxString_in_helper(obj6
);
3380 if (arg7
== NULL
) SWIG_fail
;
3385 if (!wxPyCheckForApp()) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3415 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3424 if (!wxPyCheckForApp()) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (wxFrame
*)new wxFrame();
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3438 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxFrame
*arg1
= (wxFrame
*) 0 ;
3441 wxWindow
*arg2
= (wxWindow
*) 0 ;
3442 int arg3
= (int) (int)-1 ;
3443 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3444 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3445 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3446 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3447 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3448 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3449 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3450 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3451 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3453 bool temp4
= false ;
3456 bool temp8
= false ;
3457 PyObject
* obj0
= 0 ;
3458 PyObject
* obj1
= 0 ;
3459 PyObject
* obj2
= 0 ;
3460 PyObject
* obj3
= 0 ;
3461 PyObject
* obj4
= 0 ;
3462 PyObject
* obj5
= 0 ;
3463 PyObject
* obj6
= 0 ;
3464 PyObject
* obj7
= 0 ;
3466 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3475 arg3
= (int)SWIG_As_int(obj2
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3480 arg4
= wxString_in_helper(obj3
);
3481 if (arg4
== NULL
) SWIG_fail
;
3488 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3494 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3498 arg7
= (long)SWIG_As_long(obj6
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3503 arg8
= wxString_in_helper(obj7
);
3504 if (arg8
== NULL
) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3540 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxFrame
*arg1
= (wxFrame
*) 0 ;
3544 PyObject
* obj0
= 0 ;
3546 (char *) "self", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3560 wxPoint
* resultptr
;
3561 resultptr
= new wxPoint((wxPoint
&) result
);
3562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3570 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxFrame
*arg1
= (wxFrame
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3575 (char *) "self", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 (arg1
)->SendSizeEvent();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 Py_INCREF(Py_None
); resultobj
= Py_None
;
3595 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxFrame
*arg1
= (wxFrame
*) 0 ;
3598 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 (char *) "self",(char *) "menubar", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 (arg1
)->SetMenuBar(arg2
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxFrame
*arg1
= (wxFrame
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3630 (char *) "self", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 resultobj
= wxPyMake_wxObject(result
, 0);
3652 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxFrame
*arg1
= (wxFrame
*) 0 ;
3657 PyObject
* obj0
= 0 ;
3658 PyObject
* obj1
= 0 ;
3660 (char *) "self",(char *) "winid", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3666 arg2
= (int)SWIG_As_int(obj1
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3684 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxFrame
*arg1
= (wxFrame
*) 0 ;
3687 int arg2
= (int) 1 ;
3688 long arg3
= (long) wxST_SIZEGRIP
;
3689 int arg4
= (int) 0 ;
3690 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3691 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3692 wxStatusBar
*result
;
3693 bool temp5
= false ;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj1
= 0 ;
3696 PyObject
* obj2
= 0 ;
3697 PyObject
* obj3
= 0 ;
3698 PyObject
* obj4
= 0 ;
3700 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3707 arg2
= (int)SWIG_As_int(obj1
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 arg3
= (long)SWIG_As_long(obj2
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3715 arg4
= (int)SWIG_As_int(obj3
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3720 arg5
= wxString_in_helper(obj4
);
3721 if (arg5
== NULL
) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= wxPyMake_wxObject(result
, 0);
3749 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxFrame
*arg1
= (wxFrame
*) 0 ;
3752 wxStatusBar
*result
;
3753 PyObject
* obj0
= 0 ;
3755 (char *) "self", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= wxPyMake_wxObject(result
, 0);
3777 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 wxFrame
*arg1
= (wxFrame
*) 0 ;
3780 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3784 (char *) "self",(char *) "statBar", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 (arg1
)->SetStatusBar(arg2
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 Py_INCREF(Py_None
); resultobj
= Py_None
;
3806 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3808 wxFrame
*arg1
= (wxFrame
*) 0 ;
3809 wxString
*arg2
= 0 ;
3810 int arg3
= (int) 0 ;
3811 bool temp2
= false ;
3812 PyObject
* obj0
= 0 ;
3813 PyObject
* obj1
= 0 ;
3814 PyObject
* obj2
= 0 ;
3816 (char *) "self",(char *) "text",(char *) "number", NULL
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3823 arg2
= wxString_in_helper(obj1
);
3824 if (arg2
== NULL
) SWIG_fail
;
3828 arg3
= (int)SWIG_As_int(obj2
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxFrame
*arg1
= (wxFrame
*) 0 ;
3857 int *arg3
= (int *) 0 ;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3861 (char *) "self",(char *) "widths", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3868 arg2
= PyList_Size(obj1
);
3869 arg3
= int_LIST_helper(obj1
);
3870 if (arg3
== NULL
) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 Py_INCREF(Py_None
); resultobj
= Py_None
;
3881 if (arg3
) delete [] arg3
;
3886 if (arg3
) delete [] arg3
;
3892 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxFrame
*arg1
= (wxFrame
*) 0 ;
3895 wxString
*arg2
= 0 ;
3896 int arg3
= (int) 0 ;
3897 bool temp2
= false ;
3898 PyObject
* obj0
= 0 ;
3899 PyObject
* obj1
= 0 ;
3900 PyObject
* obj2
= 0 ;
3902 (char *) "self",(char *) "text",(char *) "number", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3909 arg2
= wxString_in_helper(obj1
);
3910 if (arg2
== NULL
) SWIG_fail
;
3914 arg3
= (int)SWIG_As_int(obj2
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3939 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxFrame
*arg1
= (wxFrame
*) 0 ;
3942 int arg2
= (int) 0 ;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "self",(char *) "number", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 arg2
= (int)SWIG_As_int(obj1
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 (arg1
)->PopStatusText(arg2
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxFrame
*arg1
= (wxFrame
*) 0 ;
3974 PyObject
* obj0
= 0 ;
3975 PyObject
* obj1
= 0 ;
3977 (char *) "self",(char *) "n", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 arg2
= (int)SWIG_As_int(obj1
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetStatusBarPane(arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 Py_INCREF(Py_None
); resultobj
= Py_None
;
3999 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxFrame
*arg1
= (wxFrame
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4005 (char *) "self", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= SWIG_From_int((int)result
);
4025 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxFrame
*arg1
= (wxFrame
*) 0 ;
4028 long arg2
= (long) -1 ;
4029 int arg3
= (int) -1 ;
4030 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4031 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4033 bool temp4
= false ;
4034 PyObject
* obj0
= 0 ;
4035 PyObject
* obj1
= 0 ;
4036 PyObject
* obj2
= 0 ;
4037 PyObject
* obj3
= 0 ;
4039 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4046 arg2
= (long)SWIG_As_long(obj1
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4050 arg3
= (int)SWIG_As_int(obj2
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4055 arg4
= wxString_in_helper(obj3
);
4056 if (arg4
== NULL
) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4068 resultobj
= wxPyMake_wxObject(result
, 0);
4084 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxFrame
*arg1
= (wxFrame
*) 0 ;
4088 PyObject
* obj0
= 0 ;
4090 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= wxPyMake_wxObject(result
, 0);
4112 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxFrame
*arg1
= (wxFrame
*) 0 ;
4115 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "toolbar", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 (arg1
)->SetToolBar(arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxFrame
*arg1
= (wxFrame
*) 0 ;
4144 wxString
*arg2
= 0 ;
4146 bool temp2
= false ;
4147 PyObject
* obj0
= 0 ;
4148 PyObject
* obj1
= 0 ;
4149 PyObject
* obj2
= 0 ;
4151 (char *) "self",(char *) "text",(char *) "show", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4158 arg2
= wxString_in_helper(obj1
);
4159 if (arg2
== NULL
) SWIG_fail
;
4162 arg3
= (bool)SWIG_As_bool(obj2
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxFrame
*arg1
= (wxFrame
*) 0 ;
4189 wxMenu
*arg2
= (wxMenu
*) NULL
;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4193 (char *) "self",(char *) "menu", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 (arg1
)->DoMenuUpdates(arg2
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 Py_INCREF(Py_None
); resultobj
= Py_None
;
4217 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4220 wxVisualAttributes result
;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "variant", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4228 arg1
= (int)SWIG_As_int(obj0
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4232 if (!wxPyCheckForApp()) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4240 wxVisualAttributes
* resultptr
;
4241 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4250 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4253 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4255 return Py_BuildValue((char *)"");
4257 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxWindow
*arg1
= (wxWindow
*) 0 ;
4260 int arg2
= (int) (int)-1 ;
4261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4263 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4264 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4265 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4266 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4267 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4268 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4269 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4271 bool temp3
= false ;
4274 bool temp7
= false ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 PyObject
* obj2
= 0 ;
4278 PyObject
* obj3
= 0 ;
4279 PyObject
* obj4
= 0 ;
4280 PyObject
* obj5
= 0 ;
4281 PyObject
* obj6
= 0 ;
4283 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 arg2
= (int)SWIG_As_int(obj1
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4295 arg3
= wxString_in_helper(obj2
);
4296 if (arg3
== NULL
) SWIG_fail
;
4303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4313 arg6
= (long)SWIG_As_long(obj5
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4318 arg7
= wxString_in_helper(obj6
);
4319 if (arg7
== NULL
) SWIG_fail
;
4324 if (!wxPyCheckForApp()) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4354 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4363 if (!wxPyCheckForApp()) SWIG_fail
;
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 result
= (wxDialog
*)new wxDialog();
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4377 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxDialog
*arg1
= (wxDialog
*) 0 ;
4380 wxWindow
*arg2
= (wxWindow
*) 0 ;
4381 int arg3
= (int) (int)-1 ;
4382 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4383 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4384 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4385 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4386 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4387 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4388 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4389 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4390 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4392 bool temp4
= false ;
4395 bool temp8
= false ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 PyObject
* obj2
= 0 ;
4399 PyObject
* obj3
= 0 ;
4400 PyObject
* obj4
= 0 ;
4401 PyObject
* obj5
= 0 ;
4402 PyObject
* obj6
= 0 ;
4403 PyObject
* obj7
= 0 ;
4405 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4414 arg3
= (int)SWIG_As_int(obj2
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4419 arg4
= wxString_in_helper(obj3
);
4420 if (arg4
== NULL
) SWIG_fail
;
4427 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4433 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4437 arg7
= (long)SWIG_As_long(obj6
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4442 arg8
= wxString_in_helper(obj7
);
4443 if (arg8
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4479 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxDialog
*arg1
= (wxDialog
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4486 (char *) "self",(char *) "returnCode", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4492 arg2
= (int)SWIG_As_int(obj1
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 (arg1
)->SetReturnCode(arg2
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 Py_INCREF(Py_None
); resultobj
= Py_None
;
4508 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxDialog
*arg1
= (wxDialog
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4514 (char *) "self", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_From_int((int)result
);
4534 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxDialog
*arg1
= (wxDialog
*) 0 ;
4537 wxString
*arg2
= 0 ;
4539 bool temp2
= false ;
4540 PyObject
* obj0
= 0 ;
4541 PyObject
* obj1
= 0 ;
4543 (char *) "self",(char *) "message", NULL
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4550 arg2
= wxString_in_helper(obj1
);
4551 if (arg2
== NULL
) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= wxPyMake_wxSizer(result
, 0);
4578 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxDialog
*arg1
= (wxDialog
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4586 (char *) "self",(char *) "flags", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4592 arg2
= (long)SWIG_As_long(obj1
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= wxPyMake_wxSizer(result
, 0);
4610 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxDialog
*arg1
= (wxDialog
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "self", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4638 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxDialog
*arg1
= (wxDialog
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (int)(arg1
)->ShowModal();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_From_int((int)result
);
4664 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxDialog
*arg1
= (wxDialog
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4671 (char *) "self",(char *) "retCode", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 arg2
= (int)SWIG_As_int(obj1
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 (arg1
)->EndModal(arg2
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 Py_INCREF(Py_None
); resultobj
= Py_None
;
4693 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4696 wxVisualAttributes result
;
4697 PyObject
* obj0
= 0 ;
4699 (char *) "variant", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4704 arg1
= (int)SWIG_As_int(obj0
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4708 if (!wxPyCheckForApp()) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4716 wxVisualAttributes
* resultptr
;
4717 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4726 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4729 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4731 return Py_BuildValue((char *)"");
4733 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4735 wxWindow
*arg1
= (wxWindow
*) 0 ;
4736 int arg2
= (int) (int)-1 ;
4737 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4738 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4739 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4740 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4741 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4742 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4743 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4744 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4746 wxMiniFrame
*result
;
4747 bool temp3
= false ;
4750 bool temp7
= false ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4754 PyObject
* obj3
= 0 ;
4755 PyObject
* obj4
= 0 ;
4756 PyObject
* obj5
= 0 ;
4757 PyObject
* obj6
= 0 ;
4759 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 arg2
= (int)SWIG_As_int(obj1
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4771 arg3
= wxString_in_helper(obj2
);
4772 if (arg3
== NULL
) SWIG_fail
;
4779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4789 arg6
= (long)SWIG_As_long(obj5
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4794 arg7
= wxString_in_helper(obj6
);
4795 if (arg7
== NULL
) SWIG_fail
;
4800 if (!wxPyCheckForApp()) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4830 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxMiniFrame
*result
;
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4839 if (!wxPyCheckForApp()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (wxMiniFrame
*)new wxMiniFrame();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4853 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4856 wxWindow
*arg2
= (wxWindow
*) 0 ;
4857 int arg3
= (int) (int)-1 ;
4858 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4859 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4860 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4861 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4862 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4863 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4864 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4865 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4866 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4868 bool temp4
= false ;
4871 bool temp8
= false ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 PyObject
* obj2
= 0 ;
4875 PyObject
* obj3
= 0 ;
4876 PyObject
* obj4
= 0 ;
4877 PyObject
* obj5
= 0 ;
4878 PyObject
* obj6
= 0 ;
4879 PyObject
* obj7
= 0 ;
4881 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4890 arg3
= (int)SWIG_As_int(obj2
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4895 arg4
= wxString_in_helper(obj3
);
4896 if (arg4
== NULL
) SWIG_fail
;
4903 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4909 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4913 arg7
= (long)SWIG_As_long(obj6
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4918 arg8
= wxString_in_helper(obj7
);
4919 if (arg8
== NULL
) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4955 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4958 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4960 return Py_BuildValue((char *)"");
4962 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxBitmap
*arg1
= 0 ;
4965 wxWindow
*arg2
= (wxWindow
*) 0 ;
4967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4971 long arg6
= (long) wxNO_BORDER
;
4972 wxSplashScreenWindow
*result
;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4977 PyObject
* obj2
= 0 ;
4978 PyObject
* obj3
= 0 ;
4979 PyObject
* obj4
= 0 ;
4980 PyObject
* obj5
= 0 ;
4982 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4990 PyErr_SetString(PyExc_TypeError
,"null reference");
4993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4995 arg3
= (int)SWIG_As_int(obj2
);
4996 if (PyErr_Occurred()) SWIG_fail
;
5000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5010 arg6
= (long)SWIG_As_long(obj5
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 if (!wxPyCheckForApp()) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5028 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5031 wxBitmap
*arg2
= 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5035 (char *) "self",(char *) "bitmap", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5045 PyErr_SetString(PyExc_TypeError
,"null reference");
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5078 result
= (wxBitmap
*) &_result_ref
;
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 wxBitmap
* resultptr
= new wxBitmap(*result
);
5086 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5094 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5097 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5099 return Py_BuildValue((char *)"");
5101 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxBitmap
*arg1
= 0 ;
5106 wxWindow
*arg4
= (wxWindow
*) 0 ;
5107 int arg5
= (int) -1 ;
5108 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5109 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5110 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5111 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5112 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5113 wxSplashScreen
*result
;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 PyObject
* obj2
= 0 ;
5119 PyObject
* obj3
= 0 ;
5120 PyObject
* obj4
= 0 ;
5121 PyObject
* obj5
= 0 ;
5122 PyObject
* obj6
= 0 ;
5123 PyObject
* obj7
= 0 ;
5125 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5133 PyErr_SetString(PyExc_TypeError
,"null reference");
5136 arg2
= (long)SWIG_As_long(obj1
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5138 arg3
= (int)SWIG_As_int(obj2
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5140 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 arg5
= (int)SWIG_As_int(obj4
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5149 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5155 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5159 arg8
= (long)SWIG_As_long(obj7
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5163 if (!wxPyCheckForApp()) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5177 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5183 (char *) "self", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_From_long((long)result
);
5203 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5206 wxSplashScreenWindow
*result
;
5207 PyObject
* obj0
= 0 ;
5209 (char *) "self", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5229 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
;
5231 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5233 PyObject
* obj0
= 0 ;
5235 (char *) "self", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 resultobj
= SWIG_From_int((int)result
);
5255 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5258 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5260 return Py_BuildValue((char *)"");
5262 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxWindow
*arg1
= (wxWindow
*) 0 ;
5265 int arg2
= (int) -1 ;
5266 long arg3
= (long) wxST_SIZEGRIP
;
5267 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5268 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5269 wxStatusBar
*result
;
5270 bool temp4
= false ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5274 PyObject
* obj3
= 0 ;
5276 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 arg2
= (int)SWIG_As_int(obj1
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5287 arg3
= (long)SWIG_As_long(obj2
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5292 arg4
= wxString_in_helper(obj3
);
5293 if (arg4
== NULL
) SWIG_fail
;
5298 if (!wxPyCheckForApp()) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5320 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxStatusBar
*result
;
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5329 if (!wxPyCheckForApp()) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 result
= (wxStatusBar
*)new wxStatusBar();
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5343 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5346 wxWindow
*arg2
= (wxWindow
*) 0 ;
5347 int arg3
= (int) -1 ;
5348 long arg4
= (long) wxST_SIZEGRIP
;
5349 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5350 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5352 bool temp5
= false ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5355 PyObject
* obj2
= 0 ;
5356 PyObject
* obj3
= 0 ;
5357 PyObject
* obj4
= 0 ;
5359 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5368 arg3
= (int)SWIG_As_int(obj2
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 arg4
= (long)SWIG_As_long(obj3
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5377 arg5
= wxString_in_helper(obj4
);
5378 if (arg5
== NULL
) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5406 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5409 int arg2
= (int) 1 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "number", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5420 arg2
= (int)SWIG_As_int(obj1
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 (arg1
)->SetFieldsCount(arg2
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 Py_INCREF(Py_None
); resultobj
= Py_None
;
5437 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5441 PyObject
* obj0
= 0 ;
5443 (char *) "self", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_From_int((int)result
);
5463 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5466 wxString
*arg2
= 0 ;
5467 int arg3
= (int) 0 ;
5468 bool temp2
= false ;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 PyObject
* obj2
= 0 ;
5473 (char *) "self",(char *) "text",(char *) "number", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 arg2
= wxString_in_helper(obj1
);
5481 if (arg2
== NULL
) SWIG_fail
;
5485 arg3
= (int)SWIG_As_int(obj2
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5513 int arg2
= (int) 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5518 (char *) "self",(char *) "number", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 arg2
= (int)SWIG_As_int(obj1
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5548 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5551 wxString
*arg2
= 0 ;
5552 int arg3
= (int) 0 ;
5553 bool temp2
= false ;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5556 PyObject
* obj2
= 0 ;
5558 (char *) "self",(char *) "text",(char *) "number", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5565 arg2
= wxString_in_helper(obj1
);
5566 if (arg2
== NULL
) SWIG_fail
;
5570 arg3
= (int)SWIG_As_int(obj2
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5598 int arg2
= (int) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5602 (char *) "self",(char *) "number", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5609 arg2
= (int)SWIG_As_int(obj1
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->PopStatusText(arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5630 int *arg3
= (int *) 0 ;
5631 PyObject
* obj0
= 0 ;
5632 PyObject
* obj1
= 0 ;
5634 (char *) "self",(char *) "widths", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5641 arg2
= PyList_Size(obj1
);
5642 arg3
= int_LIST_helper(obj1
);
5643 if (arg3
== NULL
) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 Py_INCREF(Py_None
); resultobj
= Py_None
;
5654 if (arg3
) delete [] arg3
;
5659 if (arg3
) delete [] arg3
;
5665 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5669 int *arg3
= (int *) 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5673 (char *) "self",(char *) "styles", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 arg2
= PyList_Size(obj1
);
5681 arg3
= int_LIST_helper(obj1
);
5682 if (arg3
== NULL
) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 Py_INCREF(Py_None
); resultobj
= Py_None
;
5693 if (arg3
) delete [] arg3
;
5698 if (arg3
) delete [] arg3
;
5704 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5712 (char *) "self",(char *) "i", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 arg2
= (int)SWIG_As_int(obj1
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5729 resultptr
= new wxRect((wxRect
&) result
);
5730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5738 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5745 (char *) "self",(char *) "height", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 arg2
= (int)SWIG_As_int(obj1
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 (arg1
)->SetMinHeight(arg2
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 Py_INCREF(Py_None
); resultobj
= Py_None
;
5767 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5771 PyObject
* obj0
= 0 ;
5773 (char *) "self", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= SWIG_From_int((int)result
);
5793 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5799 (char *) "self", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= SWIG_From_int((int)result
);
5819 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5822 wxVisualAttributes result
;
5823 PyObject
* obj0
= 0 ;
5825 (char *) "variant", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5830 arg1
= (int)SWIG_As_int(obj0
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5834 if (!wxPyCheckForApp()) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5842 wxVisualAttributes
* resultptr
;
5843 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5852 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5855 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5857 return Py_BuildValue((char *)"");
5859 static int _wrap_SplitterNameStr_set(PyObject
*) {
5860 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5865 static PyObject
*_wrap_SplitterNameStr_get() {
5870 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5872 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5879 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxWindow
*arg1
= (wxWindow
*) 0 ;
5882 int arg2
= (int) -1 ;
5883 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5884 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5885 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5886 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5887 long arg5
= (long) wxSP_3D
;
5888 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5889 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5890 wxSplitterWindow
*result
;
5893 bool temp6
= false ;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5896 PyObject
* obj2
= 0 ;
5897 PyObject
* obj3
= 0 ;
5898 PyObject
* obj4
= 0 ;
5899 PyObject
* obj5
= 0 ;
5901 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 arg2
= (int)SWIG_As_int(obj1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5920 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5924 arg5
= (long)SWIG_As_long(obj4
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5929 arg6
= wxString_in_helper(obj5
);
5930 if (arg6
== NULL
) SWIG_fail
;
5935 if (!wxPyCheckForApp()) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5957 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxSplitterWindow
*result
;
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5966 if (!wxPyCheckForApp()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5980 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5983 wxWindow
*arg2
= (wxWindow
*) 0 ;
5984 int arg3
= (int) -1 ;
5985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5989 long arg6
= (long) wxSP_3D
;
5990 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5991 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5995 bool temp7
= false ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5998 PyObject
* obj2
= 0 ;
5999 PyObject
* obj3
= 0 ;
6000 PyObject
* obj4
= 0 ;
6001 PyObject
* obj5
= 0 ;
6002 PyObject
* obj6
= 0 ;
6004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6013 arg3
= (int)SWIG_As_int(obj2
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6025 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6029 arg6
= (long)SWIG_As_long(obj5
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6034 arg7
= wxString_in_helper(obj6
);
6035 if (arg7
== NULL
) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6067 PyObject
* obj0
= 0 ;
6069 (char *) "self", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= wxPyMake_wxObject(result
, 0);
6091 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "self", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= wxPyMake_wxObject(result
, 0);
6119 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6126 (char *) "self",(char *) "mode", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 arg2
= (int)SWIG_As_int(obj1
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 (arg1
)->SetSplitMode(arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6154 (char *) "self", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 resultobj
= SWIG_From_int((int)result
);
6174 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6176 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6177 wxWindow
*arg2
= (wxWindow
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6181 (char *) "self",(char *) "window", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 (arg1
)->Initialize(arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 Py_INCREF(Py_None
); resultobj
= Py_None
;
6203 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6206 wxWindow
*arg2
= (wxWindow
*) 0 ;
6207 wxWindow
*arg3
= (wxWindow
*) 0 ;
6208 int arg4
= (int) 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6212 PyObject
* obj2
= 0 ;
6213 PyObject
* obj3
= 0 ;
6215 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6226 arg4
= (int)SWIG_As_int(obj3
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6245 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6248 wxWindow
*arg2
= (wxWindow
*) 0 ;
6249 wxWindow
*arg3
= (wxWindow
*) 0 ;
6250 int arg4
= (int) 0 ;
6252 PyObject
* obj0
= 0 ;
6253 PyObject
* obj1
= 0 ;
6254 PyObject
* obj2
= 0 ;
6255 PyObject
* obj3
= 0 ;
6257 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 arg4
= (int)SWIG_As_int(obj3
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6287 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6290 wxWindow
*arg2
= (wxWindow
*) NULL
;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6295 (char *) "self",(char *) "toRemove", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (bool)(arg1
)->Unsplit(arg2
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6321 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6324 wxWindow
*arg2
= (wxWindow
*) 0 ;
6325 wxWindow
*arg3
= (wxWindow
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 PyObject
* obj2
= 0 ;
6331 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6339 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6357 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6360 PyObject
* obj0
= 0 ;
6362 (char *) "self", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 (arg1
)->UpdateSize();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 Py_INCREF(Py_None
); resultobj
= Py_None
;
6382 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6386 PyObject
* obj0
= 0 ;
6388 (char *) "self", NULL
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6410 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6417 (char *) "self",(char *) "width", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6423 arg2
= (int)SWIG_As_int(obj1
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 (arg1
)->SetSashSize(arg2
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 Py_INCREF(Py_None
); resultobj
= Py_None
;
6439 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6446 (char *) "self",(char *) "width", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 arg2
= (int)SWIG_As_int(obj1
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 (arg1
)->SetBorderSize(arg2
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 Py_INCREF(Py_None
); resultobj
= Py_None
;
6468 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "self", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_From_int((int)result
);
6494 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6500 (char *) "self", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_From_int((int)result
);
6520 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6524 bool arg3
= (bool) true ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 PyObject
* obj2
= 0 ;
6529 (char *) "self",(char *) "position",(char *) "redraw", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 arg2
= (int)SWIG_As_int(obj1
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 arg3
= (bool)SWIG_As_bool(obj2
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SetSashPosition(arg2
,arg3
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 Py_INCREF(Py_None
); resultobj
= Py_None
;
6555 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6561 (char *) "self", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_From_int((int)result
);
6581 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6585 PyObject
* obj0
= 0 ;
6586 PyObject
* obj1
= 0 ;
6588 (char *) "self",(char *) "min", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6594 arg2
= (int)SWIG_As_int(obj1
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 (arg1
)->SetMinimumPaneSize(arg2
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6614 PyObject
* obj0
= 0 ;
6616 (char *) "self", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= SWIG_From_int((int)result
);
6636 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6641 int arg4
= (int) 5 ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6645 PyObject
* obj2
= 0 ;
6646 PyObject
* obj3
= 0 ;
6648 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 arg2
= (int)SWIG_As_int(obj1
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6656 arg3
= (int)SWIG_As_int(obj2
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 arg4
= (int)SWIG_As_int(obj3
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6678 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 (arg1
)->SizeWindows();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj1
= 0 ;
6710 (char *) "self",(char *) "needUpdating", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6716 arg2
= (bool)SWIG_As_bool(obj1
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 (arg1
)->SetNeedUpdating(arg2
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 Py_INCREF(Py_None
); resultobj
= Py_None
;
6732 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "self", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6760 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6763 wxVisualAttributes result
;
6764 PyObject
* obj0
= 0 ;
6766 (char *) "variant", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6771 arg1
= (int)SWIG_As_int(obj0
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6775 if (!wxPyCheckForApp()) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6783 wxVisualAttributes
* resultptr
;
6784 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6793 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6796 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6798 return Py_BuildValue((char *)"");
6800 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6803 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6804 wxSplitterEvent
*result
;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6808 (char *) "type",(char *) "splitter", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6813 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6834 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6841 (char *) "self",(char *) "pos", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6847 arg2
= (int)SWIG_As_int(obj1
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 (arg1
)->SetSashPosition(arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 Py_INCREF(Py_None
); resultobj
= Py_None
;
6863 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6869 (char *) "self", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_From_int((int)result
);
6889 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6895 (char *) "self", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= wxPyMake_wxObject(result
, 0);
6917 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6923 (char *) "self", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= SWIG_From_int((int)result
);
6943 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "self", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_From_int((int)result
);
6969 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6972 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6974 return Py_BuildValue((char *)"");
6976 static int _wrap_SashNameStr_set(PyObject
*) {
6977 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6982 static PyObject
*_wrap_SashNameStr_get() {
6987 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6989 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6996 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6997 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7002 static PyObject
*_wrap_SashLayoutNameStr_get() {
7007 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7009 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7016 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxWindow
*arg1
= (wxWindow
*) 0 ;
7019 int arg2
= (int) -1 ;
7020 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7021 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7022 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7023 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7024 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7025 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7026 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7027 wxSashWindow
*result
;
7030 bool temp6
= false ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7033 PyObject
* obj2
= 0 ;
7034 PyObject
* obj3
= 0 ;
7035 PyObject
* obj4
= 0 ;
7036 PyObject
* obj5
= 0 ;
7038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7045 arg2
= (int)SWIG_As_int(obj1
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7051 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7057 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7061 arg5
= (long)SWIG_As_long(obj4
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7066 arg6
= wxString_in_helper(obj5
);
7067 if (arg6
== NULL
) SWIG_fail
;
7072 if (!wxPyCheckForApp()) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7094 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7096 wxSashWindow
*result
;
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7103 if (!wxPyCheckForApp()) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (wxSashWindow
*)new wxSashWindow();
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7117 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7120 wxWindow
*arg2
= (wxWindow
*) 0 ;
7121 int arg3
= (int) -1 ;
7122 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7123 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7124 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7125 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7126 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7127 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7128 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7132 bool temp7
= false ;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7135 PyObject
* obj2
= 0 ;
7136 PyObject
* obj3
= 0 ;
7137 PyObject
* obj4
= 0 ;
7138 PyObject
* obj5
= 0 ;
7139 PyObject
* obj6
= 0 ;
7141 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7150 arg3
= (int)SWIG_As_int(obj2
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7166 arg6
= (long)SWIG_As_long(obj5
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7171 arg7
= wxString_in_helper(obj6
);
7172 if (arg7
== NULL
) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7200 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7206 PyObject
* obj1
= 0 ;
7207 PyObject
* obj2
= 0 ;
7209 (char *) "self",(char *) "edge",(char *) "sash", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7215 arg2
= (int)SWIG_As_int(obj1
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7217 arg3
= (bool)SWIG_As_bool(obj2
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 Py_INCREF(Py_None
); resultobj
= Py_None
;
7233 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7241 (char *) "self",(char *) "edge", NULL
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7247 arg2
= (int)SWIG_As_int(obj1
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7265 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7272 PyObject
* obj2
= 0 ;
7274 (char *) "self",(char *) "edge",(char *) "border", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7280 arg2
= (int)SWIG_As_int(obj1
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7282 arg3
= (bool)SWIG_As_bool(obj2
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 Py_INCREF(Py_None
); resultobj
= Py_None
;
7298 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7306 (char *) "self",(char *) "edge", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7312 arg2
= (int)SWIG_As_int(obj1
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7330 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7338 (char *) "self",(char *) "edge", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7344 arg2
= (int)SWIG_As_int(obj1
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_From_int((int)result
);
7360 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7367 (char *) "self",(char *) "width", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 arg2
= (int)SWIG_As_int(obj1
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 (arg1
)->SetDefaultBorderSize(arg2
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 Py_INCREF(Py_None
); resultobj
= Py_None
;
7389 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7393 PyObject
* obj0
= 0 ;
7395 (char *) "self", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_From_int((int)result
);
7415 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7417 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7422 (char *) "self",(char *) "width", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7428 arg2
= (int)SWIG_As_int(obj1
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 (arg1
)->SetExtraBorderSize(arg2
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 Py_INCREF(Py_None
); resultobj
= Py_None
;
7444 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= SWIG_From_int((int)result
);
7470 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7477 (char *) "self",(char *) "min", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7483 arg2
= (int)SWIG_As_int(obj1
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->SetMinimumSizeX(arg2
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7506 (char *) "self",(char *) "min", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7512 arg2
= (int)SWIG_As_int(obj1
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 (arg1
)->SetMinimumSizeY(arg2
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7534 (char *) "self", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= SWIG_From_int((int)result
);
7554 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7558 PyObject
* obj0
= 0 ;
7560 (char *) "self", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_From_int((int)result
);
7580 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7587 (char *) "self",(char *) "max", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 arg2
= (int)SWIG_As_int(obj1
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 (arg1
)->SetMaximumSizeX(arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 Py_INCREF(Py_None
); resultobj
= Py_None
;
7609 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7613 PyObject
* obj0
= 0 ;
7614 PyObject
* obj1
= 0 ;
7616 (char *) "self",(char *) "max", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7622 arg2
= (int)SWIG_As_int(obj1
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 (arg1
)->SetMaximumSizeY(arg2
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 Py_INCREF(Py_None
); resultobj
= Py_None
;
7638 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7644 (char *) "self", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_From_int((int)result
);
7664 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_From_int((int)result
);
7690 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7695 int arg4
= (int) 2 ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7699 PyObject
* obj2
= 0 ;
7700 PyObject
* obj3
= 0 ;
7702 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7708 arg2
= (int)SWIG_As_int(obj1
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7710 arg3
= (int)SWIG_As_int(obj2
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 arg4
= (int)SWIG_As_int(obj3
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_From_int((int)result
);
7730 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7735 (char *) "self", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 (arg1
)->SizeWindows();
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 Py_INCREF(Py_None
); resultobj
= Py_None
;
7755 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7758 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7760 return Py_BuildValue((char *)"");
7762 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 int arg1
= (int) 0 ;
7765 int arg2
= (int) wxSASH_NONE
;
7766 wxSashEvent
*result
;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7770 (char *) "id",(char *) "edge", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7775 arg1
= (int)SWIG_As_int(obj0
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7779 arg2
= (int)SWIG_As_int(obj1
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7796 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7803 (char *) "self",(char *) "edge", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 arg2
= (int)SWIG_As_int(obj1
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 Py_INCREF(Py_None
); resultobj
= Py_None
;
7825 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7831 (char *) "self", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_From_int((int)result
);
7851 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7857 PyObject
* obj1
= 0 ;
7859 (char *) "self",(char *) "rect", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7867 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 Py_INCREF(Py_None
); resultobj
= Py_None
;
7883 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7889 (char *) "self", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7904 resultptr
= new wxRect((wxRect
&) result
);
7905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7913 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7920 (char *) "self",(char *) "status", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7926 arg2
= (int)SWIG_As_int(obj1
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 Py_INCREF(Py_None
); resultobj
= Py_None
;
7942 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7946 PyObject
* obj0
= 0 ;
7948 (char *) "self", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_From_int((int)result
);
7968 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7971 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7973 return Py_BuildValue((char *)"");
7975 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 int arg1
= (int) 0 ;
7978 wxQueryLayoutInfoEvent
*result
;
7979 PyObject
* obj0
= 0 ;
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7986 arg1
= (int)SWIG_As_int(obj0
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8003 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8008 PyObject
* obj1
= 0 ;
8010 (char *) "self",(char *) "length", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 arg2
= (int)SWIG_As_int(obj1
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 (arg1
)->SetRequestedLength(arg2
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "self", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_From_int((int)result
);
8058 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8065 (char *) "self",(char *) "flags", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8071 arg2
= (int)SWIG_As_int(obj1
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 (arg1
)->SetFlags(arg2
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8087 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8091 PyObject
* obj0
= 0 ;
8093 (char *) "self", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= SWIG_From_int((int)result
);
8113 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
;
8115 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8121 (char *) "self",(char *) "size", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 (arg1
)->SetSize((wxSize
const &)*arg2
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 Py_INCREF(Py_None
); resultobj
= Py_None
;
8145 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8166 resultptr
= new wxSize((wxSize
&) result
);
8167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8175 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
;
8177 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8179 PyObject
* obj0
= 0 ;
8180 PyObject
* obj1
= 0 ;
8182 (char *) "self",(char *) "orient", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8188 arg2
= (int)SWIG_As_int(obj1
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 Py_INCREF(Py_None
); resultobj
= Py_None
;
8204 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= SWIG_From_int((int)result
);
8230 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8237 (char *) "self",(char *) "align", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8243 arg2
= (int)SWIG_As_int(obj1
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 Py_INCREF(Py_None
); resultobj
= Py_None
;
8259 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
*resultobj
;
8261 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8263 PyObject
* obj0
= 0 ;
8265 (char *) "self", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_From_int((int)result
);
8285 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8288 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8290 return Py_BuildValue((char *)"");
8292 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 int arg1
= (int) 0 ;
8295 wxCalculateLayoutEvent
*result
;
8296 PyObject
* obj0
= 0 ;
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8303 arg1
= (int)SWIG_As_int(obj0
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8320 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 (char *) "self",(char *) "flags", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8333 arg2
= (int)SWIG_As_int(obj1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->SetFlags(arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8353 PyObject
* obj0
= 0 ;
8355 (char *) "self", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_From_int((int)result
);
8375 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8383 (char *) "self",(char *) "rect", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 (arg1
)->SetRect((wxRect
const &)*arg2
);
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8413 (char *) "self", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8428 resultptr
= new wxRect((wxRect
&) result
);
8429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8437 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8440 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8442 return Py_BuildValue((char *)"");
8444 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
;
8446 wxWindow
*arg1
= (wxWindow
*) 0 ;
8447 int arg2
= (int) -1 ;
8448 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8449 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8450 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8451 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8452 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8453 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8454 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8455 wxSashLayoutWindow
*result
;
8458 bool temp6
= false ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8461 PyObject
* obj2
= 0 ;
8462 PyObject
* obj3
= 0 ;
8463 PyObject
* obj4
= 0 ;
8464 PyObject
* obj5
= 0 ;
8466 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 arg2
= (int)SWIG_As_int(obj1
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8479 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8485 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8489 arg5
= (long)SWIG_As_long(obj4
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8494 arg6
= wxString_in_helper(obj5
);
8495 if (arg6
== NULL
) SWIG_fail
;
8500 if (!wxPyCheckForApp()) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8522 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxSashLayoutWindow
*result
;
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8531 if (!wxPyCheckForApp()) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8545 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8548 wxWindow
*arg2
= (wxWindow
*) 0 ;
8549 int arg3
= (int) -1 ;
8550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8554 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8555 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8560 bool temp7
= false ;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8563 PyObject
* obj2
= 0 ;
8564 PyObject
* obj3
= 0 ;
8565 PyObject
* obj4
= 0 ;
8566 PyObject
* obj5
= 0 ;
8567 PyObject
* obj6
= 0 ;
8569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8578 arg3
= (int)SWIG_As_int(obj2
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8584 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8590 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8594 arg6
= (long)SWIG_As_long(obj5
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8599 arg7
= wxString_in_helper(obj6
);
8600 if (arg7
== NULL
) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8628 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8632 PyObject
* obj0
= 0 ;
8634 (char *) "self", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (int)(arg1
)->GetAlignment();
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_From_int((int)result
);
8654 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8660 (char *) "self", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (int)(arg1
)->GetOrientation();
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_From_int((int)result
);
8680 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8687 (char *) "self",(char *) "alignment", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8693 arg2
= (int)SWIG_As_int(obj1
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 Py_INCREF(Py_None
); resultobj
= Py_None
;
8709 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8717 (char *) "self",(char *) "size", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8725 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 Py_INCREF(Py_None
); resultobj
= Py_None
;
8741 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
;
8743 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8748 (char *) "self",(char *) "orientation", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8754 arg2
= (int)SWIG_As_int(obj1
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 Py_INCREF(Py_None
); resultobj
= Py_None
;
8770 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8773 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8775 return Py_BuildValue((char *)"");
8777 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxLayoutAlgorithm
*result
;
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8799 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8804 (char *) "self", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8827 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8828 wxRect
*arg3
= (wxRect
*) NULL
;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8832 PyObject
* obj2
= 0 ;
8834 (char *) "self",(char *) "frame",(char *) "rect", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8862 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8865 wxFrame
*arg2
= (wxFrame
*) 0 ;
8866 wxWindow
*arg3
= (wxWindow
*) NULL
;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8870 PyObject
* obj2
= 0 ;
8872 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8881 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8900 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
;
8902 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8903 wxWindow
*arg2
= (wxWindow
*) 0 ;
8904 wxWindow
*arg3
= (wxWindow
*) NULL
;
8906 PyObject
* obj0
= 0 ;
8907 PyObject
* obj1
= 0 ;
8908 PyObject
* obj2
= 0 ;
8910 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8919 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8938 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8941 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8943 return Py_BuildValue((char *)"");
8945 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxWindow
*arg1
= (wxWindow
*) 0 ;
8948 int arg2
= (int) wxBORDER_NONE
;
8949 wxPopupWindow
*result
;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8953 (char *) "parent",(char *) "flags", NULL
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8960 arg2
= (int)SWIG_As_int(obj1
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8964 if (!wxPyCheckForApp()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8978 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxPopupWindow
*result
;
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8987 if (!wxPyCheckForApp()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (wxPopupWindow
*)new wxPopupWindow();
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9001 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9004 wxWindow
*arg2
= (wxWindow
*) 0 ;
9005 int arg3
= (int) wxBORDER_NONE
;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9009 PyObject
* obj2
= 0 ;
9011 (char *) "self",(char *) "parent",(char *) "flags", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9020 arg3
= (int)SWIG_As_int(obj2
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9039 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9062 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 Py_INCREF(Py_None
); resultobj
= Py_None
;
9078 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9081 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9083 return Py_BuildValue((char *)"");
9085 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxWindow
*arg1
= (wxWindow
*) 0 ;
9088 int arg2
= (int) wxBORDER_NONE
;
9089 wxPyPopupTransientWindow
*result
;
9090 PyObject
* obj0
= 0 ;
9091 PyObject
* obj1
= 0 ;
9093 (char *) "parent",(char *) "style", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9100 arg2
= (int)SWIG_As_int(obj1
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9104 if (!wxPyCheckForApp()) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9118 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxPyPopupTransientWindow
*result
;
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9127 if (!wxPyCheckForApp()) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9141 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9144 PyObject
*arg2
= (PyObject
*) 0 ;
9145 PyObject
*arg3
= (PyObject
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9148 PyObject
* obj2
= 0 ;
9150 (char *) "self",(char *) "self",(char *) "_class", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 Py_INCREF(Py_None
); resultobj
= Py_None
;
9172 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9175 wxWindow
*arg2
= (wxWindow
*) NULL
;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9179 (char *) "self",(char *) "focus", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 (arg1
)->Popup(arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 Py_INCREF(Py_None
); resultobj
= Py_None
;
9203 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9206 PyObject
* obj0
= 0 ;
9208 (char *) "self", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 Py_INCREF(Py_None
); resultobj
= Py_None
;
9228 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9231 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9233 return Py_BuildValue((char *)"");
9235 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxWindow
*arg1
= (wxWindow
*) 0 ;
9238 wxString
*arg2
= 0 ;
9239 int arg3
= (int) 100 ;
9240 wxRect
*arg4
= (wxRect
*) NULL
;
9241 wxTipWindow
*result
;
9242 bool temp2
= false ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 PyObject
* obj2
= 0 ;
9246 PyObject
* obj3
= 0 ;
9248 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9255 arg2
= wxString_in_helper(obj1
);
9256 if (arg2
== NULL
) SWIG_fail
;
9260 arg3
= (int)SWIG_As_int(obj2
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9264 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 if (!wxPyCheckForApp()) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9290 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9298 (char *) "self",(char *) "rectBound", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 Py_INCREF(Py_None
); resultobj
= Py_None
;
9322 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 Py_INCREF(Py_None
); resultobj
= Py_None
;
9347 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9350 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9352 return Py_BuildValue((char *)"");
9354 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxWindow
*arg1
= (wxWindow
*) 0 ;
9357 int arg2
= (int) wxID_ANY
;
9358 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9359 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9360 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9361 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9362 long arg5
= (long) 0 ;
9363 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9364 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9365 wxPyVScrolledWindow
*result
;
9368 bool temp6
= false ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 PyObject
* obj2
= 0 ;
9372 PyObject
* obj3
= 0 ;
9373 PyObject
* obj4
= 0 ;
9374 PyObject
* obj5
= 0 ;
9376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9383 arg2
= (int)SWIG_As_int(obj1
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9389 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9395 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9399 arg5
= (long)SWIG_As_long(obj4
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9404 arg6
= wxString_in_helper(obj5
);
9405 if (arg6
== NULL
) SWIG_fail
;
9410 if (!wxPyCheckForApp()) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9432 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxPyVScrolledWindow
*result
;
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9441 if (!wxPyCheckForApp()) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9455 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9458 PyObject
*arg2
= (PyObject
*) 0 ;
9459 PyObject
*arg3
= (PyObject
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 PyObject
* obj2
= 0 ;
9464 (char *) "self",(char *) "self",(char *) "_class", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 Py_INCREF(Py_None
); resultobj
= Py_None
;
9486 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9489 wxWindow
*arg2
= (wxWindow
*) 0 ;
9490 int arg3
= (int) wxID_ANY
;
9491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9495 long arg6
= (long) 0 ;
9496 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9497 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9501 bool temp7
= false ;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9504 PyObject
* obj2
= 0 ;
9505 PyObject
* obj3
= 0 ;
9506 PyObject
* obj4
= 0 ;
9507 PyObject
* obj5
= 0 ;
9508 PyObject
* obj6
= 0 ;
9510 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9519 arg3
= (int)SWIG_As_int(obj2
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9525 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9531 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9535 arg6
= (long)SWIG_As_long(obj5
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9540 arg7
= wxString_in_helper(obj6
);
9541 if (arg7
== NULL
) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9569 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9576 (char *) "self",(char *) "count", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 (arg1
)->SetLineCount(arg2
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 Py_INCREF(Py_None
); resultobj
= Py_None
;
9598 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9606 (char *) "self",(char *) "line", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9612 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9630 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9638 (char *) "self",(char *) "lines", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 arg2
= (int)SWIG_As_int(obj1
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (bool)(arg1
)->ScrollLines(arg2
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9662 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9670 (char *) "self",(char *) "pages", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9676 arg2
= (int)SWIG_As_int(obj1
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (bool)(arg1
)->ScrollPages(arg2
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9694 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9701 (char *) "self",(char *) "line", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->RefreshLine(arg2
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 Py_INCREF(Py_None
); resultobj
= Py_None
;
9723 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 PyObject
* obj2
= 0 ;
9732 (char *) "self",(char *) "from",(char *) "to", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9740 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 (arg1
)->RefreshLines(arg2
,arg3
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 Py_INCREF(Py_None
); resultobj
= Py_None
;
9756 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 PyObject
* obj2
= 0 ;
9766 (char *) "self",(char *) "x",(char *) "y", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 arg2
= (int)SWIG_As_int(obj1
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9774 arg3
= (int)SWIG_As_int(obj2
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_From_int((int)result
);
9790 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9799 (char *) "self",(char *) "pt", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_From_int((int)result
);
9823 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "self", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 (arg1
)->RefreshAll();
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 Py_INCREF(Py_None
); resultobj
= Py_None
;
9848 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9874 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9900 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "self", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9926 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9934 (char *) "self",(char *) "line", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9958 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9961 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9963 return Py_BuildValue((char *)"");
9965 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9966 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9971 static PyObject
*_wrap_VListBoxNameStr_get() {
9976 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9978 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9985 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxWindow
*arg1
= (wxWindow
*) 0 ;
9988 int arg2
= (int) wxID_ANY
;
9989 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9990 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9991 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9992 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9993 long arg5
= (long) 0 ;
9994 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9995 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9996 wxPyVListBox
*result
;
9999 bool temp6
= false ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 PyObject
* obj2
= 0 ;
10003 PyObject
* obj3
= 0 ;
10004 PyObject
* obj4
= 0 ;
10005 PyObject
* obj5
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10014 arg2
= (int)SWIG_As_int(obj1
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10030 arg5
= (long)SWIG_As_long(obj4
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10035 arg6
= wxString_in_helper(obj5
);
10036 if (arg6
== NULL
) SWIG_fail
;
10041 if (!wxPyCheckForApp()) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10063 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxPyVListBox
*result
;
10066 char *kwnames
[] = {
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10072 if (!wxPyCheckForApp()) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (wxPyVListBox
*)new wxPyVListBox();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10086 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10089 PyObject
*arg2
= (PyObject
*) 0 ;
10090 PyObject
*arg3
= (PyObject
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 PyObject
* obj2
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self",(char *) "self",(char *) "_class", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 Py_INCREF(Py_None
); resultobj
= Py_None
;
10117 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10120 wxWindow
*arg2
= (wxWindow
*) 0 ;
10121 int arg3
= (int) wxID_ANY
;
10122 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10123 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10124 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10125 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10126 long arg6
= (long) 0 ;
10127 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10128 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10132 bool temp7
= false ;
10133 PyObject
* obj0
= 0 ;
10134 PyObject
* obj1
= 0 ;
10135 PyObject
* obj2
= 0 ;
10136 PyObject
* obj3
= 0 ;
10137 PyObject
* obj4
= 0 ;
10138 PyObject
* obj5
= 0 ;
10139 PyObject
* obj6
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10150 arg3
= (int)SWIG_As_int(obj2
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10166 arg6
= (long)SWIG_As_long(obj5
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10171 arg7
= wxString_in_helper(obj6
);
10172 if (arg7
== NULL
) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10200 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10204 PyObject
* obj0
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10226 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10254 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_From_int((int)result
);
10280 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "item", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10312 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10314 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 PyObject
* obj1
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self",(char *) "item", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10344 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10348 PyObject
* obj0
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10370 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= result
;
10396 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10399 unsigned long arg2
;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self",(char *) "cookie", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10410 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= result
;
10426 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10430 PyObject
* obj0
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10446 wxPoint
* resultptr
;
10447 resultptr
= new wxPoint((wxPoint
&) result
);
10448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10456 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
;
10458 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10472 result
= (wxColour
*) &_result_ref
;
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10485 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10489 PyObject
* obj0
= 0 ;
10490 PyObject
* obj1
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self",(char *) "count", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10498 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 (arg1
)->SetItemCount(arg2
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 Py_INCREF(Py_None
); resultobj
= Py_None
;
10514 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 Py_INCREF(Py_None
); resultobj
= Py_None
;
10539 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "selection", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 arg2
= (int)SWIG_As_int(obj1
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 (arg1
)->SetSelection(arg2
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10572 bool arg3
= (bool) true ;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 PyObject
* obj2
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "item",(char *) "select", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10584 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 arg3
= (bool)SWIG_As_bool(obj2
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10606 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 PyObject
* obj2
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self",(char *) "from",(char *) "to", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10624 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "item", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->Toggle(arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (bool)(arg1
)->SelectAll();
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10699 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (bool)(arg1
)->DeselectAll();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10727 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10730 wxPoint
*arg2
= 0 ;
10732 PyObject
* obj0
= 0 ;
10733 PyObject
* obj1
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self",(char *) "pt", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 Py_INCREF(Py_None
); resultobj
= Py_None
;
10759 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 PyObject
* obj2
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "x",(char *) "y", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 arg2
= (int)SWIG_As_int(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10776 arg3
= (int)SWIG_As_int(obj2
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 (arg1
)->SetMargins(arg2
,arg3
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 Py_INCREF(Py_None
); resultobj
= Py_None
;
10792 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10795 wxColour
*arg2
= 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self",(char *) "col", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 Py_INCREF(Py_None
); resultobj
= Py_None
;
10824 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10827 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10829 return Py_BuildValue((char *)"");
10831 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxWindow
*arg1
= (wxWindow
*) 0 ;
10834 int arg2
= (int) wxID_ANY
;
10835 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10836 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10837 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10838 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10839 long arg5
= (long) 0 ;
10840 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10841 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10842 wxPyHtmlListBox
*result
;
10845 bool temp6
= false ;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 PyObject
* obj2
= 0 ;
10849 PyObject
* obj3
= 0 ;
10850 PyObject
* obj4
= 0 ;
10851 PyObject
* obj5
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 arg2
= (int)SWIG_As_int(obj1
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10876 arg5
= (long)SWIG_As_long(obj4
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10881 arg6
= wxString_in_helper(obj5
);
10882 if (arg6
== NULL
) SWIG_fail
;
10887 if (!wxPyCheckForApp()) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10909 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
;
10911 wxPyHtmlListBox
*result
;
10912 char *kwnames
[] = {
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10918 if (!wxPyCheckForApp()) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10932 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10935 PyObject
*arg2
= (PyObject
*) 0 ;
10936 PyObject
*arg3
= (PyObject
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 PyObject
* obj2
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self",(char *) "self",(char *) "_class", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10956 Py_INCREF(Py_None
); resultobj
= Py_None
;
10963 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10965 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10966 wxWindow
*arg2
= (wxWindow
*) 0 ;
10967 int arg3
= (int) wxID_ANY
;
10968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10972 long arg6
= (long) 0 ;
10973 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10974 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10978 bool temp7
= false ;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 PyObject
* obj2
= 0 ;
10982 PyObject
* obj3
= 0 ;
10983 PyObject
* obj4
= 0 ;
10984 PyObject
* obj5
= 0 ;
10985 PyObject
* obj6
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 arg3
= (int)SWIG_As_int(obj2
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11002 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11008 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11012 arg6
= (long)SWIG_As_long(obj5
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11017 arg7
= wxString_in_helper(obj6
);
11018 if (arg7
== NULL
) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11046 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11049 PyObject
* obj0
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 (arg1
)->RefreshAll();
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 Py_INCREF(Py_None
); resultobj
= Py_None
;
11071 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self",(char *) "count", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11084 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 (arg1
)->SetItemCount(arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 Py_INCREF(Py_None
); resultobj
= Py_None
;
11100 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11103 wxFileSystem
*result
;
11104 PyObject
* obj0
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11116 result
= (wxFileSystem
*) &_result_ref
;
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11129 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11132 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11134 return Py_BuildValue((char *)"");
11136 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxTaskBarIcon
*result
;
11139 char *kwnames
[] = {
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11145 if (!wxPyCheckForApp()) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
11159 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
11168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 Py_INCREF(Py_None
); resultobj
= Py_None
;
11184 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 char *kwnames
[] = {
11189 (char *) "self", NULL
11192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 wxTaskBarIcon_Destroy(arg1
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 Py_INCREF(Py_None
); resultobj
= Py_None
;
11209 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11265 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11269 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11270 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11272 bool temp3
= false ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 PyObject
* obj2
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11286 if (arg2
== NULL
) {
11287 PyErr_SetString(PyExc_TypeError
,"null reference");
11292 arg3
= wxString_in_helper(obj2
);
11293 if (arg3
== NULL
) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11321 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11325 PyObject
* obj0
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (bool)(arg1
)->RemoveIcon();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11349 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11352 wxMenu
*arg2
= (wxMenu
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "menu", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)(arg1
)->PopupMenu(arg2
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11381 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11384 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11386 return Py_BuildValue((char *)"");
11388 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11391 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11392 wxTaskBarIconEvent
*result
;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj1
= 0 ;
11395 char *kwnames
[] = {
11396 (char *) "evtType",(char *) "tbIcon", NULL
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11400 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11418 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11421 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11423 return Py_BuildValue((char *)"");
11425 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11426 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11431 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11436 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11438 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11445 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11446 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11451 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11456 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11458 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11465 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11466 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11471 static PyObject
*_wrap_DirDialogNameStr_get() {
11476 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11478 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11485 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11486 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11491 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11496 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11498 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11505 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11506 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11511 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11516 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11518 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11525 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11526 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11531 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11536 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11538 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11545 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxColourData
*result
;
11548 char *kwnames
[] = {
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (wxColourData
*)new wxColourData();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11567 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxColourData
*arg1
= (wxColourData
*) 0 ;
11570 PyObject
* obj0
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 Py_INCREF(Py_None
); resultobj
= Py_None
;
11592 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
;
11594 wxColourData
*arg1
= (wxColourData
*) 0 ;
11596 PyObject
* obj0
= 0 ;
11597 char *kwnames
[] = {
11598 (char *) "self", NULL
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (bool)(arg1
)->GetChooseFull();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11620 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxColourData
*arg1
= (wxColourData
*) 0 ;
11624 PyObject
* obj0
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "self", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (arg1
)->GetColour();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 wxColour
* resultptr
;
11641 resultptr
= new wxColour((wxColour
&) result
);
11642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11650 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxColourData
*arg1
= (wxColourData
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self",(char *) "i", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11664 arg2
= (int)SWIG_As_int(obj1
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (arg1
)->GetCustomColour(arg2
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 wxColour
* resultptr
;
11675 resultptr
= new wxColour((wxColour
&) result
);
11676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11684 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxColourData
*arg1
= (wxColourData
*) 0 ;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "flag", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11697 arg2
= (int)SWIG_As_int(obj1
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->SetChooseFull(arg2
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11713 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxColourData
*arg1
= (wxColourData
*) 0 ;
11716 wxColour
*arg2
= 0 ;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self",(char *) "colour", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 (arg1
)->SetColour((wxColour
const &)*arg2
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 Py_INCREF(Py_None
); resultobj
= Py_None
;
11745 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxColourData
*arg1
= (wxColourData
*) 0 ;
11749 wxColour
*arg3
= 0 ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 PyObject
* obj2
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "i",(char *) "colour", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 arg2
= (int)SWIG_As_int(obj1
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 Py_INCREF(Py_None
); resultobj
= Py_None
;
11781 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11784 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11786 return Py_BuildValue((char *)"");
11788 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxWindow
*arg1
= (wxWindow
*) 0 ;
11791 wxColourData
*arg2
= (wxColourData
*) NULL
;
11792 wxColourDialog
*result
;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "parent",(char *) "data", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11807 if (!wxPyCheckForApp()) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11821 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11824 wxColourData
*result
;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11837 result
= (wxColourData
*) &_result_ref
;
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11850 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11853 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11855 return Py_BuildValue((char *)"");
11857 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxWindow
*arg1
= (wxWindow
*) 0 ;
11860 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11861 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11862 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11863 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11864 long arg4
= (long) 0 ;
11865 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11866 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11867 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11868 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11869 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11871 wxDirDialog
*result
;
11872 bool temp2
= false ;
11873 bool temp3
= false ;
11876 bool temp7
= false ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 PyObject
* obj3
= 0 ;
11881 PyObject
* obj4
= 0 ;
11882 PyObject
* obj5
= 0 ;
11883 PyObject
* obj6
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 arg2
= wxString_in_helper(obj1
);
11894 if (arg2
== NULL
) SWIG_fail
;
11900 arg3
= wxString_in_helper(obj2
);
11901 if (arg3
== NULL
) SWIG_fail
;
11906 arg4
= (long)SWIG_As_long(obj3
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11912 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11918 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11923 arg7
= wxString_in_helper(obj6
);
11924 if (arg7
== NULL
) SWIG_fail
;
11929 if (!wxPyCheckForApp()) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11967 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (arg1
)->GetPath();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11999 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= (arg1
)->GetMessage();
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12031 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (long)(arg1
)->GetStyle();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= SWIG_From_long((long)result
);
12057 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12060 wxString
*arg2
= 0 ;
12061 bool temp2
= false ;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 char *kwnames
[] = {
12065 (char *) "self",(char *) "message", NULL
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12072 arg2
= wxString_in_helper(obj1
);
12073 if (arg2
== NULL
) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetMessage((wxString
const &)*arg2
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 Py_INCREF(Py_None
); resultobj
= Py_None
;
12098 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12101 wxString
*arg2
= 0 ;
12102 bool temp2
= false ;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12105 char *kwnames
[] = {
12106 (char *) "self",(char *) "path", NULL
12109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12113 arg2
= wxString_in_helper(obj1
);
12114 if (arg2
== NULL
) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 (arg1
)->SetPath((wxString
const &)*arg2
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 Py_INCREF(Py_None
); resultobj
= Py_None
;
12139 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12142 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12144 return Py_BuildValue((char *)"");
12146 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxWindow
*arg1
= (wxWindow
*) 0 ;
12149 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12150 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12151 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12152 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12153 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12154 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12155 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12156 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12157 long arg6
= (long) 0 ;
12158 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12159 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12160 wxFileDialog
*result
;
12161 bool temp2
= false ;
12162 bool temp3
= false ;
12163 bool temp4
= false ;
12164 bool temp5
= false ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 PyObject
* obj2
= 0 ;
12169 PyObject
* obj3
= 0 ;
12170 PyObject
* obj4
= 0 ;
12171 PyObject
* obj5
= 0 ;
12172 PyObject
* obj6
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 arg2
= wxString_in_helper(obj1
);
12183 if (arg2
== NULL
) SWIG_fail
;
12189 arg3
= wxString_in_helper(obj2
);
12190 if (arg3
== NULL
) SWIG_fail
;
12196 arg4
= wxString_in_helper(obj3
);
12197 if (arg4
== NULL
) SWIG_fail
;
12203 arg5
= wxString_in_helper(obj4
);
12204 if (arg5
== NULL
) SWIG_fail
;
12209 arg6
= (long)SWIG_As_long(obj5
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12215 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12219 if (!wxPyCheckForApp()) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12265 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12268 wxString
*arg2
= 0 ;
12269 bool temp2
= false ;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self",(char *) "message", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 arg2
= wxString_in_helper(obj1
);
12281 if (arg2
== NULL
) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 (arg1
)->SetMessage((wxString
const &)*arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 Py_INCREF(Py_None
); resultobj
= Py_None
;
12306 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12309 wxString
*arg2
= 0 ;
12310 bool temp2
= false ;
12311 PyObject
* obj0
= 0 ;
12312 PyObject
* obj1
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self",(char *) "path", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 arg2
= wxString_in_helper(obj1
);
12322 if (arg2
== NULL
) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 (arg1
)->SetPath((wxString
const &)*arg2
);
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 Py_INCREF(Py_None
); resultobj
= Py_None
;
12347 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12350 wxString
*arg2
= 0 ;
12351 bool temp2
= false ;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self",(char *) "dir", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 arg2
= wxString_in_helper(obj1
);
12363 if (arg2
== NULL
) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 Py_INCREF(Py_None
); resultobj
= Py_None
;
12388 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12391 wxString
*arg2
= 0 ;
12392 bool temp2
= false ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self",(char *) "name", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 arg2
= wxString_in_helper(obj1
);
12404 if (arg2
== NULL
) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 (arg1
)->SetFilename((wxString
const &)*arg2
);
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12432 wxString
*arg2
= 0 ;
12433 bool temp2
= false ;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self",(char *) "wildCard", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 arg2
= wxString_in_helper(obj1
);
12445 if (arg2
== NULL
) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self",(char *) "style", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 arg2
= (long)SWIG_As_long(obj1
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetStyle(arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self",(char *) "filterIndex", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 arg2
= (int)SWIG_As_int(obj1
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetFilterIndex(arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12560 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12592 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12624 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12656 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12688 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= SWIG_From_long((long)result
);
12714 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12718 PyObject
* obj0
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= SWIG_From_int((int)result
);
12740 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12744 PyObject
* obj0
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= result
;
12766 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
;
12792 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12795 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12797 return Py_BuildValue((char *)"");
12799 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxWindow
*arg1
= (wxWindow
*) 0 ;
12802 wxString
*arg2
= 0 ;
12803 wxString
*arg3
= 0 ;
12804 int arg4
= (int) 0 ;
12805 wxString
*arg5
= (wxString
*) NULL
;
12806 long arg6
= (long) wxCHOICEDLG_STYLE
;
12807 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12808 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12809 wxMultiChoiceDialog
*result
;
12810 bool temp2
= false ;
12811 bool temp3
= false ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 PyObject
* obj3
= 0 ;
12817 PyObject
* obj4
= 0 ;
12818 PyObject
* obj5
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 arg2
= wxString_in_helper(obj1
);
12828 if (arg2
== NULL
) SWIG_fail
;
12832 arg3
= wxString_in_helper(obj2
);
12833 if (arg3
== NULL
) SWIG_fail
;
12838 arg4
= PyList_Size(obj3
);
12839 arg5
= wxString_LIST_helper(obj3
);
12840 if (arg5
== NULL
) SWIG_fail
;
12844 arg6
= (long)SWIG_As_long(obj4
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12850 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12854 if (!wxPyCheckForApp()) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12871 if (arg5
) delete [] arg5
;
12884 if (arg5
) delete [] arg5
;
12890 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12893 wxArrayInt
*arg2
= 0 ;
12894 bool temp2
= false ;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self",(char *) "selections", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12905 if (! PySequence_Check(obj1
)) {
12906 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12909 arg2
= new wxArrayInt
;
12911 int i
, len
=PySequence_Length(obj1
);
12912 for (i
=0; i
<len
; i
++) {
12913 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12914 PyObject
* number
= PyNumber_Int(item
);
12915 arg2
->Add(PyInt_AS_LONG(number
));
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 Py_INCREF(Py_None
); resultobj
= Py_None
;
12929 if (temp2
) delete arg2
;
12934 if (temp2
) delete arg2
;
12940 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= result
;
12966 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12969 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12971 return Py_BuildValue((char *)"");
12973 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxWindow
*arg1
= (wxWindow
*) 0 ;
12976 wxString
*arg2
= 0 ;
12977 wxString
*arg3
= 0 ;
12979 wxString
*arg5
= (wxString
*) 0 ;
12980 long arg6
= (long) wxCHOICEDLG_STYLE
;
12981 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12982 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12983 wxSingleChoiceDialog
*result
;
12984 bool temp2
= false ;
12985 bool temp3
= false ;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 PyObject
* obj2
= 0 ;
12990 PyObject
* obj3
= 0 ;
12991 PyObject
* obj4
= 0 ;
12992 PyObject
* obj5
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 arg2
= wxString_in_helper(obj1
);
13002 if (arg2
== NULL
) SWIG_fail
;
13006 arg3
= wxString_in_helper(obj2
);
13007 if (arg3
== NULL
) SWIG_fail
;
13011 arg4
= PyList_Size(obj3
);
13012 arg5
= wxString_LIST_helper(obj3
);
13013 if (arg5
== NULL
) SWIG_fail
;
13016 arg6
= (long)SWIG_As_long(obj4
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13022 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13026 if (!wxPyCheckForApp()) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13043 if (arg5
) delete [] arg5
;
13056 if (arg5
) delete [] arg5
;
13062 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13066 PyObject
* obj0
= 0 ;
13067 char *kwnames
[] = {
13068 (char *) "self", NULL
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (int)(arg1
)->GetSelection();
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= SWIG_From_int((int)result
);
13088 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13092 PyObject
* obj0
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (arg1
)->GetStringSelection();
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13120 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char *kwnames
[] = {
13127 (char *) "self",(char *) "sel", NULL
13130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 arg2
= (int)SWIG_As_int(obj1
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 (arg1
)->SetSelection(arg2
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 Py_INCREF(Py_None
); resultobj
= Py_None
;
13149 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13152 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13154 return Py_BuildValue((char *)"");
13156 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxWindow
*arg1
= (wxWindow
*) 0 ;
13159 wxString
*arg2
= 0 ;
13160 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13161 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13162 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13163 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13164 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13165 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13166 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13167 wxTextEntryDialog
*result
;
13168 bool temp2
= false ;
13169 bool temp3
= false ;
13170 bool temp4
= false ;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 PyObject
* obj2
= 0 ;
13175 PyObject
* obj3
= 0 ;
13176 PyObject
* obj4
= 0 ;
13177 PyObject
* obj5
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 arg2
= wxString_in_helper(obj1
);
13187 if (arg2
== NULL
) SWIG_fail
;
13192 arg3
= wxString_in_helper(obj2
);
13193 if (arg3
== NULL
) SWIG_fail
;
13199 arg4
= wxString_in_helper(obj3
);
13200 if (arg4
== NULL
) SWIG_fail
;
13205 arg5
= (long)SWIG_As_long(obj4
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13211 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13215 if (!wxPyCheckForApp()) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13253 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13257 PyObject
* obj0
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (arg1
)->GetValue();
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13285 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13288 wxString
*arg2
= 0 ;
13289 bool temp2
= false ;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self",(char *) "value", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13300 arg2
= wxString_in_helper(obj1
);
13301 if (arg2
== NULL
) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->SetValue((wxString
const &)*arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13329 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13331 return Py_BuildValue((char *)"");
13333 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxFontData
*result
;
13336 char *kwnames
[] = {
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (wxFontData
*)new wxFontData();
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13355 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxFontData
*arg1
= (wxFontData
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxFontData
*arg1
= (wxFontData
*) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self",(char *) "enable", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13393 arg2
= (bool)SWIG_As_bool(obj1
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 (arg1
)->EnableEffects(arg2
);
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 Py_INCREF(Py_None
); resultobj
= Py_None
;
13409 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxFontData
*arg1
= (wxFontData
*) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (bool)(arg1
)->GetAllowSymbols();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13437 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxFontData
*arg1
= (wxFontData
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 result
= (arg1
)->GetColour();
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13457 wxColour
* resultptr
;
13458 resultptr
= new wxColour((wxColour
&) result
);
13459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13467 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxFontData
*arg1
= (wxFontData
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (arg1
)->GetChosenFont();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 wxFont
* resultptr
;
13488 resultptr
= new wxFont((wxFont
&) result
);
13489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13497 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxFontData
*arg1
= (wxFontData
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (bool)(arg1
)->GetEnableEffects();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13525 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxFontData
*arg1
= (wxFontData
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (arg1
)->GetInitialFont();
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13545 wxFont
* resultptr
;
13546 resultptr
= new wxFont((wxFont
&) result
);
13547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13555 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
;
13557 wxFontData
*arg1
= (wxFontData
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (bool)(arg1
)->GetShowHelp();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13583 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxFontData
*arg1
= (wxFontData
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self",(char *) "allowSymbols", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13596 arg2
= (bool)SWIG_As_bool(obj1
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 (arg1
)->SetAllowSymbols(arg2
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 Py_INCREF(Py_None
); resultobj
= Py_None
;
13612 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxFontData
*arg1
= (wxFontData
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "self",(char *) "font", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13628 if (arg2
== NULL
) {
13629 PyErr_SetString(PyExc_TypeError
,"null reference");
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 Py_INCREF(Py_None
); resultobj
= Py_None
;
13646 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxFontData
*arg1
= (wxFontData
*) 0 ;
13649 wxColour
*arg2
= 0 ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self",(char *) "colour", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 (arg1
)->SetColour((wxColour
const &)*arg2
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 Py_INCREF(Py_None
); resultobj
= Py_None
;
13678 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxFontData
*arg1
= (wxFontData
*) 0 ;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self",(char *) "font", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13694 if (arg2
== NULL
) {
13695 PyErr_SetString(PyExc_TypeError
,"null reference");
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 Py_INCREF(Py_None
); resultobj
= Py_None
;
13712 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxFontData
*arg1
= (wxFontData
*) 0 ;
13717 PyObject
* obj0
= 0 ;
13718 PyObject
* obj1
= 0 ;
13719 PyObject
* obj2
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self",(char *) "min",(char *) "max", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 arg2
= (int)SWIG_As_int(obj1
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13729 arg3
= (int)SWIG_As_int(obj2
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 (arg1
)->SetRange(arg2
,arg3
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 Py_INCREF(Py_None
); resultobj
= Py_None
;
13745 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
*resultobj
;
13747 wxFontData
*arg1
= (wxFontData
*) 0 ;
13749 PyObject
* obj0
= 0 ;
13750 PyObject
* obj1
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self",(char *) "showHelp", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13758 arg2
= (bool)SWIG_As_bool(obj1
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 (arg1
)->SetShowHelp(arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 Py_INCREF(Py_None
); resultobj
= Py_None
;
13774 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13777 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13779 return Py_BuildValue((char *)"");
13781 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxWindow
*arg1
= (wxWindow
*) 0 ;
13784 wxFontData
*arg2
= 0 ;
13785 wxFontDialog
*result
;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "parent",(char *) "data", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13798 if (arg2
== NULL
) {
13799 PyErr_SetString(PyExc_TypeError
,"null reference");
13803 if (!wxPyCheckForApp()) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13817 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13820 wxFontData
*result
;
13821 PyObject
* obj0
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13833 result
= (wxFontData
*) &_result_ref
;
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13846 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13849 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13851 return Py_BuildValue((char *)"");
13853 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
;
13855 wxWindow
*arg1
= (wxWindow
*) 0 ;
13856 wxString
*arg2
= 0 ;
13857 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13858 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13859 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13860 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13861 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13862 wxMessageDialog
*result
;
13863 bool temp2
= false ;
13864 bool temp3
= false ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 PyObject
* obj2
= 0 ;
13869 PyObject
* obj3
= 0 ;
13870 PyObject
* obj4
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 arg2
= wxString_in_helper(obj1
);
13880 if (arg2
== NULL
) SWIG_fail
;
13885 arg3
= wxString_in_helper(obj2
);
13886 if (arg3
== NULL
) SWIG_fail
;
13891 arg4
= (long)SWIG_As_long(obj3
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13901 if (!wxPyCheckForApp()) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13931 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13934 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13936 return Py_BuildValue((char *)"");
13938 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxString
*arg1
= 0 ;
13941 wxString
*arg2
= 0 ;
13942 int arg3
= (int) 100 ;
13943 wxWindow
*arg4
= (wxWindow
*) NULL
;
13944 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13945 wxProgressDialog
*result
;
13946 bool temp1
= false ;
13947 bool temp2
= false ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 PyObject
* obj2
= 0 ;
13951 PyObject
* obj3
= 0 ;
13952 PyObject
* obj4
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13959 arg1
= wxString_in_helper(obj0
);
13960 if (arg1
== NULL
) SWIG_fail
;
13964 arg2
= wxString_in_helper(obj1
);
13965 if (arg2
== NULL
) SWIG_fail
;
13969 arg3
= (int)SWIG_As_int(obj2
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13973 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13977 arg5
= (int)SWIG_As_int(obj4
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 if (!wxPyCheckForApp()) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14011 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14015 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14016 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14018 bool temp3
= false ;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj1
= 0 ;
14021 PyObject
* obj2
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14029 arg2
= (int)SWIG_As_int(obj1
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 arg3
= wxString_in_helper(obj2
);
14034 if (arg3
== NULL
) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14062 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14065 PyObject
* obj0
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "self", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 Py_INCREF(Py_None
); resultobj
= Py_None
;
14087 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14090 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14092 return Py_BuildValue((char *)"");
14094 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14097 int arg2
= (int) 0 ;
14098 wxFindDialogEvent
*result
;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "commandType",(char *) "id", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14107 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14111 arg2
= (int)SWIG_As_int(obj1
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14128 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14132 PyObject
* obj0
= 0 ;
14133 char *kwnames
[] = {
14134 (char *) "self", NULL
14137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= (int)(arg1
)->GetFlags();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_From_int((int)result
);
14154 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 wxString
const &_result_ref
= (arg1
)->GetFindString();
14170 result
= (wxString
*) &_result_ref
;
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14189 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14205 result
= (wxString
*) &_result_ref
;
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14215 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14224 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14227 wxFindReplaceDialog
*result
;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14250 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self",(char *) "flags", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 arg2
= (int)SWIG_As_int(obj1
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 (arg1
)->SetFlags(arg2
);
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 Py_INCREF(Py_None
); resultobj
= Py_None
;
14279 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14282 wxString
*arg2
= 0 ;
14283 bool temp2
= false ;
14284 PyObject
* obj0
= 0 ;
14285 PyObject
* obj1
= 0 ;
14286 char *kwnames
[] = {
14287 (char *) "self",(char *) "str", NULL
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14294 arg2
= wxString_in_helper(obj1
);
14295 if (arg2
== NULL
) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 (arg1
)->SetFindString((wxString
const &)*arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 Py_INCREF(Py_None
); resultobj
= Py_None
;
14320 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14323 wxString
*arg2
= 0 ;
14324 bool temp2
= false ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self",(char *) "str", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 arg2
= wxString_in_helper(obj1
);
14336 if (arg2
== NULL
) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14361 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14364 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14366 return Py_BuildValue((char *)"");
14368 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 int arg1
= (int) 0 ;
14371 wxFindReplaceData
*result
;
14372 PyObject
* obj0
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "flags", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14379 arg1
= (int)SWIG_As_int(obj0
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14396 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 Py_INCREF(Py_None
); resultobj
= Py_None
;
14421 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self", NULL
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 wxString
const &_result_ref
= (arg1
)->GetFindString();
14437 result
= (wxString
*) &_result_ref
;
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14447 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14456 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14472 result
= (wxString
*) &_result_ref
;
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14491 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (int)(arg1
)->GetFlags();
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_From_int((int)result
);
14517 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
;
14519 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self",(char *) "flags", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14530 arg2
= (int)SWIG_As_int(obj1
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 (arg1
)->SetFlags(arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 Py_INCREF(Py_None
); resultobj
= Py_None
;
14546 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14549 wxString
*arg2
= 0 ;
14550 bool temp2
= false ;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self",(char *) "str", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14561 arg2
= wxString_in_helper(obj1
);
14562 if (arg2
== NULL
) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 (arg1
)->SetFindString((wxString
const &)*arg2
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 Py_INCREF(Py_None
); resultobj
= Py_None
;
14587 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14590 wxString
*arg2
= 0 ;
14591 bool temp2
= false ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "self",(char *) "str", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14602 arg2
= wxString_in_helper(obj1
);
14603 if (arg2
== NULL
) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 Py_INCREF(Py_None
); resultobj
= Py_None
;
14628 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14631 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14633 return Py_BuildValue((char *)"");
14635 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxWindow
*arg1
= (wxWindow
*) 0 ;
14638 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14639 wxString
*arg3
= 0 ;
14640 int arg4
= (int) 0 ;
14641 wxFindReplaceDialog
*result
;
14642 bool temp3
= false ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 PyObject
* obj2
= 0 ;
14646 PyObject
* obj3
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14657 arg3
= wxString_in_helper(obj2
);
14658 if (arg3
== NULL
) SWIG_fail
;
14662 arg4
= (int)SWIG_As_int(obj3
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 if (!wxPyCheckForApp()) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14688 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxFindReplaceDialog
*result
;
14691 char *kwnames
[] = {
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14697 if (!wxPyCheckForApp()) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14711 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14714 wxWindow
*arg2
= (wxWindow
*) 0 ;
14715 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14716 wxString
*arg4
= 0 ;
14717 int arg5
= (int) 0 ;
14719 bool temp4
= false ;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 PyObject
* obj2
= 0 ;
14723 PyObject
* obj3
= 0 ;
14724 PyObject
* obj4
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 arg4
= wxString_in_helper(obj3
);
14738 if (arg4
== NULL
) SWIG_fail
;
14742 arg5
= (int)SWIG_As_int(obj4
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14769 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
;
14771 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14772 wxFindReplaceData
*result
;
14773 PyObject
* obj0
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14795 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14798 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self",(char *) "data", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 (arg1
)->SetData(arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 Py_INCREF(Py_None
); resultobj
= Py_None
;
14824 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14827 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14829 return Py_BuildValue((char *)"");
14831 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxWindow
*arg1
= (wxWindow
*) 0 ;
14834 int arg2
= (int) (int)-1 ;
14835 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14836 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14841 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14842 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14843 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14844 wxMDIParentFrame
*result
;
14845 bool temp3
= false ;
14848 bool temp7
= false ;
14849 PyObject
* obj0
= 0 ;
14850 PyObject
* obj1
= 0 ;
14851 PyObject
* obj2
= 0 ;
14852 PyObject
* obj3
= 0 ;
14853 PyObject
* obj4
= 0 ;
14854 PyObject
* obj5
= 0 ;
14855 PyObject
* obj6
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14864 arg2
= (int)SWIG_As_int(obj1
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14869 arg3
= wxString_in_helper(obj2
);
14870 if (arg3
== NULL
) SWIG_fail
;
14877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14887 arg6
= (long)SWIG_As_long(obj5
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14892 arg7
= wxString_in_helper(obj6
);
14893 if (arg7
== NULL
) SWIG_fail
;
14898 if (!wxPyCheckForApp()) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14928 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxMDIParentFrame
*result
;
14931 char *kwnames
[] = {
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14937 if (!wxPyCheckForApp()) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14951 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14954 wxWindow
*arg2
= (wxWindow
*) 0 ;
14955 int arg3
= (int) (int)-1 ;
14956 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14957 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14958 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14959 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14960 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14961 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14962 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14963 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14964 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14966 bool temp4
= false ;
14969 bool temp8
= false ;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 PyObject
* obj2
= 0 ;
14973 PyObject
* obj3
= 0 ;
14974 PyObject
* obj4
= 0 ;
14975 PyObject
* obj5
= 0 ;
14976 PyObject
* obj6
= 0 ;
14977 PyObject
* obj7
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 arg3
= (int)SWIG_As_int(obj2
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14993 arg4
= wxString_in_helper(obj3
);
14994 if (arg4
== NULL
) SWIG_fail
;
15001 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15007 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15011 arg7
= (long)SWIG_As_long(obj6
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15016 arg8
= wxString_in_helper(obj7
);
15017 if (arg8
== NULL
) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15053 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 (arg1
)->ActivateNext();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 Py_INCREF(Py_None
); resultobj
= Py_None
;
15078 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->ActivatePrevious();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 Py_INCREF(Py_None
); resultobj
= Py_None
;
15103 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 (arg1
)->ArrangeIcons();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 Py_INCREF(Py_None
); resultobj
= Py_None
;
15128 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 Py_INCREF(Py_None
); resultobj
= Py_None
;
15153 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15156 wxMDIChildFrame
*result
;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= wxPyMake_wxObject(result
, 0);
15181 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15184 wxMDIClientWindow
*result
;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= wxPyMake_wxObject(result
, 0);
15209 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (wxWindow
*)(arg1
)->GetToolBar();
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= wxPyMake_wxObject(result
, 0);
15237 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
15247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= wxPyMake_wxObject(result
, 0);
15265 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
;
15267 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15268 wxMenu
*arg2
= (wxMenu
*) 0 ;
15269 PyObject
* obj0
= 0 ;
15270 PyObject
* obj1
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self",(char *) "menu", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
15279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 (arg1
)->SetWindowMenu(arg2
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 Py_INCREF(Py_None
); resultobj
= Py_None
;
15294 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15297 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 PyObject
* obj1
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self",(char *) "toolbar", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
15308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 (arg1
)->SetToolBar(arg2
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 Py_INCREF(Py_None
); resultobj
= Py_None
;
15323 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 Py_INCREF(Py_None
); resultobj
= Py_None
;
15348 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15351 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15353 return Py_BuildValue((char *)"");
15355 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15358 int arg2
= (int) (int)-1 ;
15359 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15360 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15365 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15366 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15368 wxMDIChildFrame
*result
;
15369 bool temp3
= false ;
15372 bool temp7
= false ;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 PyObject
* obj2
= 0 ;
15376 PyObject
* obj3
= 0 ;
15377 PyObject
* obj4
= 0 ;
15378 PyObject
* obj5
= 0 ;
15379 PyObject
* obj6
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15388 arg2
= (int)SWIG_As_int(obj1
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15393 arg3
= wxString_in_helper(obj2
);
15394 if (arg3
== NULL
) SWIG_fail
;
15401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15407 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15411 arg6
= (long)SWIG_As_long(obj5
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15416 arg7
= wxString_in_helper(obj6
);
15417 if (arg7
== NULL
) SWIG_fail
;
15422 if (!wxPyCheckForApp()) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15452 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxMDIChildFrame
*result
;
15455 char *kwnames
[] = {
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15461 if (!wxPyCheckForApp()) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15475 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15478 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15479 int arg3
= (int) (int)-1 ;
15480 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15481 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15482 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15483 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15484 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15485 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15486 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15487 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15488 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15490 bool temp4
= false ;
15493 bool temp8
= false ;
15494 PyObject
* obj0
= 0 ;
15495 PyObject
* obj1
= 0 ;
15496 PyObject
* obj2
= 0 ;
15497 PyObject
* obj3
= 0 ;
15498 PyObject
* obj4
= 0 ;
15499 PyObject
* obj5
= 0 ;
15500 PyObject
* obj6
= 0 ;
15501 PyObject
* obj7
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 arg3
= (int)SWIG_As_int(obj2
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15517 arg4
= wxString_in_helper(obj3
);
15518 if (arg4
== NULL
) SWIG_fail
;
15525 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15531 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15535 arg7
= (long)SWIG_As_long(obj6
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15540 arg8
= wxString_in_helper(obj7
);
15541 if (arg8
== NULL
) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15577 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 (arg1
)->Activate();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "maximize", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15615 arg2
= (bool)SWIG_As_bool(obj1
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 (arg1
)->Maximize(arg2
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 Py_INCREF(Py_None
); resultobj
= Py_None
;
15631 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 Py_INCREF(Py_None
); resultobj
= Py_None
;
15656 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15659 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15661 return Py_BuildValue((char *)"");
15663 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15666 long arg2
= (long) 0 ;
15667 wxMDIClientWindow
*result
;
15668 PyObject
* obj0
= 0 ;
15669 PyObject
* obj1
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "parent",(char *) "style", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15678 arg2
= (long)SWIG_As_long(obj1
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15682 if (!wxPyCheckForApp()) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15696 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxMDIClientWindow
*result
;
15699 char *kwnames
[] = {
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15705 if (!wxPyCheckForApp()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15719 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15722 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15723 long arg3
= (long) 0 ;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 PyObject
* obj2
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self",(char *) "parent",(char *) "style", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15738 arg3
= (long)SWIG_As_long(obj2
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15757 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15760 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15762 return Py_BuildValue((char *)"");
15764 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxWindow
*arg1
= (wxWindow
*) 0 ;
15767 int arg2
= (int) (int)-1 ;
15768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15772 long arg5
= (long) 0 ;
15773 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15774 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15775 wxPyWindow
*result
;
15778 bool temp6
= false ;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 PyObject
* obj2
= 0 ;
15782 PyObject
* obj3
= 0 ;
15783 PyObject
* obj4
= 0 ;
15784 PyObject
* obj5
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 arg2
= (int)SWIG_As_int(obj1
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15809 arg5
= (long)SWIG_As_long(obj4
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15814 arg6
= wxString_in_helper(obj5
);
15815 if (arg6
== NULL
) SWIG_fail
;
15820 if (!wxPyCheckForApp()) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15842 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxPyWindow
*result
;
15845 char *kwnames
[] = {
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15851 if (!wxPyCheckForApp()) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (wxPyWindow
*)new wxPyWindow();
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15865 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15868 PyObject
*arg2
= (PyObject
*) 0 ;
15869 PyObject
*arg3
= (PyObject
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 PyObject
* obj2
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "self",(char *) "_class", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 Py_INCREF(Py_None
); resultobj
= Py_None
;
15896 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "size", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 Py_INCREF(Py_None
); resultobj
= Py_None
;
15928 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15935 PyObject
* obj0
= 0 ;
15936 PyObject
* obj1
= 0 ;
15937 PyObject
* obj2
= 0 ;
15938 PyObject
* obj3
= 0 ;
15939 PyObject
* obj4
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 arg2
= (int)SWIG_As_int(obj1
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15949 arg3
= (int)SWIG_As_int(obj2
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15951 arg4
= (int)SWIG_As_int(obj3
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15953 arg5
= (int)SWIG_As_int(obj4
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 Py_INCREF(Py_None
); resultobj
= Py_None
;
15969 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15976 int arg6
= (int) wxSIZE_AUTO
;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 PyObject
* obj2
= 0 ;
15980 PyObject
* obj3
= 0 ;
15981 PyObject
* obj4
= 0 ;
15982 PyObject
* obj5
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15990 arg2
= (int)SWIG_As_int(obj1
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15992 arg3
= (int)SWIG_As_int(obj2
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15994 arg4
= (int)SWIG_As_int(obj3
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15996 arg5
= (int)SWIG_As_int(obj4
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 arg6
= (int)SWIG_As_int(obj5
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 Py_INCREF(Py_None
); resultobj
= Py_None
;
16016 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16021 PyObject
* obj0
= 0 ;
16022 PyObject
* obj1
= 0 ;
16023 PyObject
* obj2
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "width",(char *) "height", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16031 arg2
= (int)SWIG_As_int(obj1
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16033 arg3
= (int)SWIG_As_int(obj2
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 Py_INCREF(Py_None
); resultobj
= Py_None
;
16049 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 PyObject
* obj2
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "x",(char *) "y", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 arg2
= (int)SWIG_As_int(obj1
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16066 arg3
= (int)SWIG_As_int(obj2
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 Py_INCREF(Py_None
); resultobj
= Py_None
;
16082 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16085 int *arg2
= (int *) 0 ;
16086 int *arg3
= (int *) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16097 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 Py_INCREF(Py_None
); resultobj
= Py_None
;
16109 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16110 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16111 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16112 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16119 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16122 int *arg2
= (int *) 0 ;
16123 int *arg3
= (int *) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16133 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16134 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16145 Py_INCREF(Py_None
); resultobj
= Py_None
;
16146 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16147 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16148 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16149 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16156 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16159 int *arg2
= (int *) 0 ;
16160 int *arg3
= (int *) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16171 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 Py_INCREF(Py_None
); resultobj
= Py_None
;
16183 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16184 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16185 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16186 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16193 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 wxSize
* resultptr
;
16214 resultptr
= new wxSize((wxSize
&) result
);
16215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16223 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 wxSize
* resultptr
;
16244 resultptr
= new wxSize((wxSize
&) result
);
16245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16253 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16256 PyObject
* obj0
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "self", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 (arg1
)->base_InitDialog();
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 Py_INCREF(Py_None
); resultobj
= Py_None
;
16278 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (bool)(arg1
)->base_TransferDataToWindow();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16306 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16334 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (bool)(arg1
)->base_Validate();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16362 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16390 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16418 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 wxSize
* resultptr
;
16439 resultptr
= new wxSize((wxSize
&) result
);
16440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16448 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16451 wxWindow
*arg2
= (wxWindow
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self",(char *) "child", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 (arg1
)->base_AddChild(arg2
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 Py_INCREF(Py_None
); resultobj
= Py_None
;
16477 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16480 wxWindow
*arg2
= (wxWindow
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self",(char *) "child", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 (arg1
)->base_RemoveChild(arg2
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 Py_INCREF(Py_None
); resultobj
= Py_None
;
16506 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16534 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16537 wxColour
*arg2
= 0 ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self",(char *) "c", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16569 wxVisualAttributes result
;
16570 PyObject
* obj0
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (arg1
)->base_GetDefaultAttributes();
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16586 wxVisualAttributes
* resultptr
;
16587 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16596 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16599 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16601 return Py_BuildValue((char *)"");
16603 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxWindow
*arg1
= (wxWindow
*) 0 ;
16606 int arg2
= (int) (int)-1 ;
16607 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16608 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16609 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16610 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16611 long arg5
= (long) 0 ;
16612 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16613 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16617 bool temp6
= false ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 PyObject
* obj2
= 0 ;
16621 PyObject
* obj3
= 0 ;
16622 PyObject
* obj4
= 0 ;
16623 PyObject
* obj5
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 arg2
= (int)SWIG_As_int(obj1
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16638 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16644 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16648 arg5
= (long)SWIG_As_long(obj4
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16653 arg6
= wxString_in_helper(obj5
);
16654 if (arg6
== NULL
) SWIG_fail
;
16659 if (!wxPyCheckForApp()) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16681 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16684 char *kwnames
[] = {
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16690 if (!wxPyCheckForApp()) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (wxPyPanel
*)new wxPyPanel();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16704 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16707 PyObject
*arg2
= (PyObject
*) 0 ;
16708 PyObject
*arg3
= (PyObject
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 PyObject
* obj2
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self",(char *) "self",(char *) "_class", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 Py_INCREF(Py_None
); resultobj
= Py_None
;
16735 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self",(char *) "size", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 Py_INCREF(Py_None
); resultobj
= Py_None
;
16767 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 PyObject
* obj2
= 0 ;
16777 PyObject
* obj3
= 0 ;
16778 PyObject
* obj4
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16786 arg2
= (int)SWIG_As_int(obj1
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16788 arg3
= (int)SWIG_As_int(obj2
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16790 arg4
= (int)SWIG_As_int(obj3
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16792 arg5
= (int)SWIG_As_int(obj4
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 Py_INCREF(Py_None
); resultobj
= Py_None
;
16808 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16815 int arg6
= (int) wxSIZE_AUTO
;
16816 PyObject
* obj0
= 0 ;
16817 PyObject
* obj1
= 0 ;
16818 PyObject
* obj2
= 0 ;
16819 PyObject
* obj3
= 0 ;
16820 PyObject
* obj4
= 0 ;
16821 PyObject
* obj5
= 0 ;
16822 char *kwnames
[] = {
16823 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16829 arg2
= (int)SWIG_As_int(obj1
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16831 arg3
= (int)SWIG_As_int(obj2
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16833 arg4
= (int)SWIG_As_int(obj3
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16835 arg5
= (int)SWIG_As_int(obj4
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 arg6
= (int)SWIG_As_int(obj5
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 Py_INCREF(Py_None
); resultobj
= Py_None
;
16855 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16860 PyObject
* obj0
= 0 ;
16861 PyObject
* obj1
= 0 ;
16862 PyObject
* obj2
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self",(char *) "width",(char *) "height", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16870 arg2
= (int)SWIG_As_int(obj1
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16872 arg3
= (int)SWIG_As_int(obj2
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 Py_INCREF(Py_None
); resultobj
= Py_None
;
16888 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 PyObject
* obj2
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "x",(char *) "y", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 arg2
= (int)SWIG_As_int(obj1
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16905 arg3
= (int)SWIG_As_int(obj2
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 Py_INCREF(Py_None
); resultobj
= Py_None
;
16921 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16923 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16924 int *arg2
= (int *) 0 ;
16925 int *arg3
= (int *) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self", NULL
16935 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16936 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 Py_INCREF(Py_None
); resultobj
= Py_None
;
16948 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16949 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16950 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16951 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16958 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16961 int *arg2
= (int *) 0 ;
16962 int *arg3
= (int *) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self", NULL
16972 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16973 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16986 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16987 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16988 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16995 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16998 int *arg2
= (int *) 0 ;
16999 int *arg3
= (int *) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "self", NULL
17009 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17010 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17023 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17024 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17025 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17032 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 wxSize
* resultptr
;
17053 resultptr
= new wxSize((wxSize
&) result
);
17054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17062 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 wxSize
* resultptr
;
17083 resultptr
= new wxSize((wxSize
&) result
);
17084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17092 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17095 PyObject
* obj0
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 (arg1
)->base_InitDialog();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 Py_INCREF(Py_None
); resultobj
= Py_None
;
17117 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (bool)(arg1
)->base_TransferDataToWindow();
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17145 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17173 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17175 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17177 PyObject
* obj0
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (bool)(arg1
)->base_Validate();
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17201 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17229 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17231 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17233 PyObject
* obj0
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17257 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 wxSize
* resultptr
;
17278 resultptr
= new wxSize((wxSize
&) result
);
17279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17287 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17290 wxWindow
*arg2
= (wxWindow
*) 0 ;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self",(char *) "child", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 (arg1
)->base_AddChild(arg2
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 Py_INCREF(Py_None
); resultobj
= Py_None
;
17316 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17319 wxWindow
*arg2
= (wxWindow
*) 0 ;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self",(char *) "child", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 (arg1
)->base_RemoveChild(arg2
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17373 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17376 wxColour
*arg2
= 0 ;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self",(char *) "c", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17389 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17408 wxVisualAttributes result
;
17409 PyObject
* obj0
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (arg1
)->base_GetDefaultAttributes();
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 wxVisualAttributes
* resultptr
;
17426 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17435 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17438 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17440 return Py_BuildValue((char *)"");
17442 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxWindow
*arg1
= (wxWindow
*) 0 ;
17445 int arg2
= (int) (int)-1 ;
17446 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17447 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17448 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17449 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17450 long arg5
= (long) 0 ;
17451 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17452 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17453 wxPyScrolledWindow
*result
;
17456 bool temp6
= false ;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 PyObject
* obj2
= 0 ;
17460 PyObject
* obj3
= 0 ;
17461 PyObject
* obj4
= 0 ;
17462 PyObject
* obj5
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17471 arg2
= (int)SWIG_As_int(obj1
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17477 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17483 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17487 arg5
= (long)SWIG_As_long(obj4
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17492 arg6
= wxString_in_helper(obj5
);
17493 if (arg6
== NULL
) SWIG_fail
;
17498 if (!wxPyCheckForApp()) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17520 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxPyScrolledWindow
*result
;
17523 char *kwnames
[] = {
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17529 if (!wxPyCheckForApp()) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17543 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17546 PyObject
*arg2
= (PyObject
*) 0 ;
17547 PyObject
*arg3
= (PyObject
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 PyObject
* obj2
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "self",(char *) "_class", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 Py_INCREF(Py_None
); resultobj
= Py_None
;
17574 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "size", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17590 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 Py_INCREF(Py_None
); resultobj
= Py_None
;
17606 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 PyObject
* obj2
= 0 ;
17616 PyObject
* obj3
= 0 ;
17617 PyObject
* obj4
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17625 arg2
= (int)SWIG_As_int(obj1
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17627 arg3
= (int)SWIG_As_int(obj2
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17629 arg4
= (int)SWIG_As_int(obj3
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17631 arg5
= (int)SWIG_As_int(obj4
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 Py_INCREF(Py_None
); resultobj
= Py_None
;
17647 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17654 int arg6
= (int) wxSIZE_AUTO
;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 PyObject
* obj2
= 0 ;
17658 PyObject
* obj3
= 0 ;
17659 PyObject
* obj4
= 0 ;
17660 PyObject
* obj5
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17668 arg2
= (int)SWIG_As_int(obj1
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17670 arg3
= (int)SWIG_As_int(obj2
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17672 arg4
= (int)SWIG_As_int(obj3
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17674 arg5
= (int)SWIG_As_int(obj4
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 arg6
= (int)SWIG_As_int(obj5
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 Py_INCREF(Py_None
); resultobj
= Py_None
;
17694 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "width",(char *) "height", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 arg2
= (int)SWIG_As_int(obj1
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17711 arg3
= (int)SWIG_As_int(obj2
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 Py_INCREF(Py_None
); resultobj
= Py_None
;
17727 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 PyObject
* obj2
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "x",(char *) "y", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 arg2
= (int)SWIG_As_int(obj1
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17744 arg3
= (int)SWIG_As_int(obj2
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 Py_INCREF(Py_None
); resultobj
= Py_None
;
17760 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17763 int *arg2
= (int *) 0 ;
17764 int *arg3
= (int *) 0 ;
17769 PyObject
* obj0
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self", NULL
17774 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17775 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 Py_INCREF(Py_None
); resultobj
= Py_None
;
17787 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17788 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17789 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17790 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17797 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17800 int *arg2
= (int *) 0 ;
17801 int *arg3
= (int *) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self", NULL
17811 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17812 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 Py_INCREF(Py_None
); resultobj
= Py_None
;
17824 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17825 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17826 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17827 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17834 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17837 int *arg2
= (int *) 0 ;
17838 int *arg3
= (int *) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self", NULL
17848 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17849 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17861 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17862 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17863 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17864 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17871 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17891 wxSize
* resultptr
;
17892 resultptr
= new wxSize((wxSize
&) result
);
17893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17901 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17921 wxSize
* resultptr
;
17922 resultptr
= new wxSize((wxSize
&) result
);
17923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17931 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 (arg1
)->base_InitDialog();
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 Py_INCREF(Py_None
); resultobj
= Py_None
;
17956 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 result
= (bool)(arg1
)->base_TransferDataToWindow();
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17984 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18012 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (bool)(arg1
)->base_Validate();
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18040 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18068 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18096 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18100 PyObject
* obj0
= 0 ;
18101 char *kwnames
[] = {
18102 (char *) "self", NULL
18105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18116 wxSize
* resultptr
;
18117 resultptr
= new wxSize((wxSize
&) result
);
18118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18126 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
;
18128 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18129 wxWindow
*arg2
= (wxWindow
*) 0 ;
18130 PyObject
* obj0
= 0 ;
18131 PyObject
* obj1
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self",(char *) "child", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->base_AddChild(arg2
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 Py_INCREF(Py_None
); resultobj
= Py_None
;
18155 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18158 wxWindow
*arg2
= (wxWindow
*) 0 ;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj1
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "child", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 (arg1
)->base_RemoveChild(arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 Py_INCREF(Py_None
); resultobj
= Py_None
;
18184 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18212 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18215 wxColour
*arg2
= 0 ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self",(char *) "c", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 Py_INCREF(Py_None
); resultobj
= Py_None
;
18244 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18247 wxVisualAttributes result
;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (arg1
)->base_GetDefaultAttributes();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 wxVisualAttributes
* resultptr
;
18265 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18274 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18277 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18279 return Py_BuildValue((char *)"");
18281 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18282 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18287 static PyObject
*_wrap_PrintoutTitleStr_get() {
18292 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18294 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18301 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18302 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18307 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18312 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18314 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18321 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18322 PyObject
*resultobj
;
18323 wxPrintData
*result
;
18325 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (wxPrintData
*)new wxPrintData();
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18340 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18341 PyObject
*resultobj
;
18342 wxPrintData
*arg1
= 0 ;
18343 wxPrintData
*result
;
18344 PyObject
* obj0
= 0 ;
18346 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18350 if (arg1
== NULL
) {
18351 PyErr_SetString(PyExc_TypeError
,"null reference");
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18368 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18373 argc
= PyObject_Length(args
);
18374 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18375 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18378 return _wrap_new_PrintData__SWIG_0(self
,args
);
18384 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18392 return _wrap_new_PrintData__SWIG_1(self
,args
);
18396 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18401 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18426 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (int)(arg1
)->GetNoCopies();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_From_int((int)result
);
18452 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (bool)(arg1
)->GetCollate();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18480 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (int)(arg1
)->GetOrientation();
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= SWIG_From_int((int)result
);
18506 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18507 PyObject
*resultobj
;
18508 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "self", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 result
= (bool)(arg1
)->Ok();
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18534 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18550 result
= (wxString
*) &_result_ref
;
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18560 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18569 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18573 PyObject
* obj0
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (bool)(arg1
)->GetColour();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18597 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18601 PyObject
* obj0
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (int)(arg1
)->GetDuplex();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_From_int((int)result
);
18623 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18627 PyObject
* obj0
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (int)(arg1
)->GetPaperId();
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_From_int((int)result
);
18649 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18665 result
= (wxSize
*) &_result_ref
;
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18678 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (int)(arg1
)->GetQuality();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_From_int((int)result
);
18704 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (int)(arg1
)->GetBin();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_From_int((int)result
);
18730 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self",(char *) "v", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18743 arg2
= (int)SWIG_As_int(obj1
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 (arg1
)->SetNoCopies(arg2
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 Py_INCREF(Py_None
); resultobj
= Py_None
;
18759 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "flag", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 arg2
= (bool)SWIG_As_bool(obj1
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 (arg1
)->SetCollate(arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 Py_INCREF(Py_None
); resultobj
= Py_None
;
18788 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self",(char *) "orient", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18801 arg2
= (int)SWIG_As_int(obj1
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->SetOrientation(arg2
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18817 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18820 wxString
*arg2
= 0 ;
18821 bool temp2
= false ;
18822 PyObject
* obj0
= 0 ;
18823 PyObject
* obj1
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "name", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 arg2
= wxString_in_helper(obj1
);
18833 if (arg2
== NULL
) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18843 Py_INCREF(Py_None
); resultobj
= Py_None
;
18858 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "colour", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 arg2
= (bool)SWIG_As_bool(obj1
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 (arg1
)->SetColour(arg2
);
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 Py_INCREF(Py_None
); resultobj
= Py_None
;
18887 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self",(char *) "duplex", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18900 arg2
= (int)SWIG_As_int(obj1
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 Py_INCREF(Py_None
); resultobj
= Py_None
;
18916 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self",(char *) "sizeId", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18929 arg2
= (int)SWIG_As_int(obj1
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 Py_INCREF(Py_None
); resultobj
= Py_None
;
18945 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self",(char *) "sz", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "quality", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 arg2
= (int)SWIG_As_int(obj1
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetQuality(arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 Py_INCREF(Py_None
); resultobj
= Py_None
;
19006 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self",(char *) "bin", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 arg2
= (int)SWIG_As_int(obj1
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->SetBin((wxPrintBin
)arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 Py_INCREF(Py_None
); resultobj
= Py_None
;
19035 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "self", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
19045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19051 result
= (wxString
*) &_result_ref
;
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19061 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19070 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19086 result
= (wxString
*) &_result_ref
;
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19096 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19105 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19121 result
= (wxString
*) &_result_ref
;
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19131 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19140 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 wxString
const &_result_ref
= (arg1
)->GetFilename();
19156 result
= (wxString
*) &_result_ref
;
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19166 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19175 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19191 result
= (wxString
*) &_result_ref
;
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19201 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19210 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19214 PyObject
* obj0
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (double)(arg1
)->GetPrinterScaleX();
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_From_double((double)result
);
19236 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= (double)(arg1
)->GetPrinterScaleY();
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= SWIG_From_double((double)result
);
19262 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 result
= (long)(arg1
)->GetPrinterTranslateX();
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 resultobj
= SWIG_From_long((long)result
);
19288 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= (long)(arg1
)->GetPrinterTranslateY();
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_From_long((long)result
);
19314 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (int)(arg1
)->GetPrintMode();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= SWIG_From_int((int)result
);
19340 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19343 wxString
*arg2
= 0 ;
19344 bool temp2
= false ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self",(char *) "command", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19355 arg2
= wxString_in_helper(obj1
);
19356 if (arg2
== NULL
) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 Py_INCREF(Py_None
); resultobj
= Py_None
;
19381 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19384 wxString
*arg2
= 0 ;
19385 bool temp2
= false ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self",(char *) "options", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 arg2
= wxString_in_helper(obj1
);
19397 if (arg2
== NULL
) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 Py_INCREF(Py_None
); resultobj
= Py_None
;
19422 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19425 wxString
*arg2
= 0 ;
19426 bool temp2
= false ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "command", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19437 arg2
= wxString_in_helper(obj1
);
19438 if (arg2
== NULL
) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 Py_INCREF(Py_None
); resultobj
= Py_None
;
19463 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19466 wxString
*arg2
= 0 ;
19467 bool temp2
= false ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "filename", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19478 arg2
= wxString_in_helper(obj1
);
19479 if (arg2
== NULL
) SWIG_fail
;
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->SetFilename((wxString
const &)*arg2
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 Py_INCREF(Py_None
); resultobj
= Py_None
;
19504 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19507 wxString
*arg2
= 0 ;
19508 bool temp2
= false ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self",(char *) "path", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 arg2
= wxString_in_helper(obj1
);
19520 if (arg2
== NULL
) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 Py_INCREF(Py_None
); resultobj
= Py_None
;
19545 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 PyObject
* obj1
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self",(char *) "x", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) 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
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 (arg1
)->SetPrinterScaleX(arg2
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 Py_INCREF(Py_None
); resultobj
= Py_None
;
19574 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self",(char *) "y", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 arg2
= (double)SWIG_As_double(obj1
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 (arg1
)->SetPrinterScaleY(arg2
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 Py_INCREF(Py_None
); resultobj
= Py_None
;
19603 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 PyObject
* obj2
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "x",(char *) "y", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 arg2
= (double)SWIG_As_double(obj1
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19620 arg3
= (double)SWIG_As_double(obj2
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19636 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "x", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) 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
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 (arg1
)->SetPrinterTranslateX(arg2
);
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 Py_INCREF(Py_None
); resultobj
= Py_None
;
19665 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "y", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19678 arg2
= (long)SWIG_As_long(obj1
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->SetPrinterTranslateY(arg2
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19694 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 PyObject
* obj2
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self",(char *) "x",(char *) "y", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19709 arg2
= (long)SWIG_As_long(obj1
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19711 arg3
= (long)SWIG_As_long(obj2
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 Py_INCREF(Py_None
); resultobj
= Py_None
;
19727 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj1
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "self",(char *) "printMode", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19740 arg2
= (int)SWIG_As_int(obj1
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 Py_INCREF(Py_None
); resultobj
= Py_None
;
19756 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19759 wxOutputStream
*result
;
19760 PyObject
* obj0
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19782 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
;
19784 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19785 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 PyObject
* obj1
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self",(char *) "outputstream", NULL
19792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 (arg1
)->SetOutputStream(arg2
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 Py_INCREF(Py_None
); resultobj
= Py_None
;
19811 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19814 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19816 return Py_BuildValue((char *)"");
19818 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19819 PyObject
*resultobj
;
19820 wxPageSetupDialogData
*result
;
19822 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19837 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19838 PyObject
*resultobj
;
19839 wxPageSetupDialogData
*arg1
= 0 ;
19840 wxPageSetupDialogData
*result
;
19841 PyObject
* obj0
= 0 ;
19843 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19847 if (arg1
== NULL
) {
19848 PyErr_SetString(PyExc_TypeError
,"null reference");
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19865 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19870 argc
= PyObject_Length(args
);
19871 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19872 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19875 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19881 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19889 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19893 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19898 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 Py_INCREF(Py_None
); resultobj
= Py_None
;
19923 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self",(char *) "flag", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 arg2
= (bool)SWIG_As_bool(obj1
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 (arg1
)->EnableHelp(arg2
);
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19945 Py_INCREF(Py_None
); resultobj
= Py_None
;
19952 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19954 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19956 PyObject
* obj0
= 0 ;
19957 PyObject
* obj1
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self",(char *) "flag", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19965 arg2
= (bool)SWIG_As_bool(obj1
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 (arg1
)->EnableMargins(arg2
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 Py_INCREF(Py_None
); resultobj
= Py_None
;
19981 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
;
19983 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self",(char *) "flag", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19994 arg2
= (bool)SWIG_As_bool(obj1
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 (arg1
)->EnableOrientation(arg2
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 Py_INCREF(Py_None
); resultobj
= Py_None
;
20010 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "flag", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 arg2
= (bool)SWIG_As_bool(obj1
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 (arg1
)->EnablePaper(arg2
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 Py_INCREF(Py_None
); resultobj
= Py_None
;
20039 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self",(char *) "flag", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20052 arg2
= (bool)SWIG_As_bool(obj1
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 (arg1
)->EnablePrinter(arg2
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 Py_INCREF(Py_None
); resultobj
= Py_None
;
20068 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (bool)(arg1
)->GetDefaultMinMargins();
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20096 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 result
= (bool)(arg1
)->GetEnableMargins();
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20124 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20128 PyObject
* obj0
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "self", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (bool)(arg1
)->GetEnableOrientation();
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20152 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
;
20154 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20156 PyObject
* obj0
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (bool)(arg1
)->GetEnablePaper();
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20180 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (bool)(arg1
)->GetEnablePrinter();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20208 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (bool)(arg1
)->GetEnableHelp();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20236 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (bool)(arg1
)->GetDefaultInfo();
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20264 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(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_GetMarginTopLeft",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
)->GetMarginTopLeft();
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_GetMarginBottomRight(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_GetMarginBottomRight",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
)->GetMarginBottomRight();
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_GetMinMarginTopLeft(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_GetMinMarginTopLeft",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
= (arg1
)->GetMinMarginTopLeft();
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20344 wxPoint
* resultptr
;
20345 resultptr
= new wxPoint((wxPoint
&) result
);
20346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20354 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (arg1
)->GetMinMarginBottomRight();
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20374 wxPoint
* resultptr
;
20375 resultptr
= new wxPoint((wxPoint
&) result
);
20376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20384 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= (int)(arg1
)->GetPaperId();
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= SWIG_From_int((int)result
);
20410 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (arg1
)->GetPaperSize();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20430 wxSize
* resultptr
;
20431 resultptr
= new wxSize((wxSize
&) result
);
20432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20440 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20443 wxPrintData
*result
;
20444 PyObject
* obj0
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20456 result
= (wxPrintData
*) &_result_ref
;
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20469 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (bool)(arg1
)->Ok();
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20497 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "flag", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20510 arg2
= (bool)SWIG_As_bool(obj1
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->SetDefaultInfo(arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self",(char *) "flag", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20539 arg2
= (bool)SWIG_As_bool(obj1
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->SetDefaultMinMargins(arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 Py_INCREF(Py_None
); resultobj
= Py_None
;
20555 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20558 wxPoint
*arg2
= 0 ;
20560 PyObject
* obj0
= 0 ;
20561 PyObject
* obj1
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self",(char *) "pt", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20571 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 Py_INCREF(Py_None
); resultobj
= Py_None
;
20587 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20590 wxPoint
*arg2
= 0 ;
20592 PyObject
* obj0
= 0 ;
20593 PyObject
* obj1
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "self",(char *) "pt", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 Py_INCREF(Py_None
); resultobj
= Py_None
;
20619 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20622 wxPoint
*arg2
= 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "self",(char *) "pt", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 Py_INCREF(Py_None
); resultobj
= Py_None
;
20651 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20654 wxPoint
*arg2
= 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "self",(char *) "pt", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 Py_INCREF(Py_None
); resultobj
= Py_None
;
20683 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20687 PyObject
* obj0
= 0 ;
20688 PyObject
* obj1
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self",(char *) "id", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20696 arg2
= (int)SWIG_As_int(obj1
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20705 Py_INCREF(Py_None
); resultobj
= Py_None
;
20712 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self",(char *) "size", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20728 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 Py_INCREF(Py_None
); resultobj
= Py_None
;
20744 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20747 wxPrintData
*arg2
= 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "printData", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20760 if (arg2
== NULL
) {
20761 PyErr_SetString(PyExc_TypeError
,"null reference");
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 Py_INCREF(Py_None
); resultobj
= Py_None
;
20778 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20781 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20783 return Py_BuildValue((char *)"");
20785 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxWindow
*arg1
= (wxWindow
*) 0 ;
20788 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20789 wxPageSetupDialog
*result
;
20790 PyObject
* obj0
= 0 ;
20791 PyObject
* obj1
= 0 ;
20792 char *kwnames
[] = {
20793 (char *) "parent",(char *) "data", NULL
20796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20804 if (!wxPyCheckForApp()) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20818 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20821 wxPageSetupDialogData
*result
;
20822 PyObject
* obj0
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20834 result
= (wxPageSetupDialogData
*) &_result_ref
;
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20847 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (int)(arg1
)->ShowModal();
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= SWIG_From_int((int)result
);
20873 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20876 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20878 return Py_BuildValue((char *)"");
20880 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20881 PyObject
*resultobj
;
20882 wxPrintDialogData
*result
;
20884 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20899 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20900 PyObject
*resultobj
;
20901 wxPrintData
*arg1
= 0 ;
20902 wxPrintDialogData
*result
;
20903 PyObject
* obj0
= 0 ;
20905 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20909 if (arg1
== NULL
) {
20910 PyErr_SetString(PyExc_TypeError
,"null reference");
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20927 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20932 argc
= PyObject_Length(args
);
20933 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20934 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20937 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20943 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20951 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20955 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20960 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20963 PyObject
* obj0
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "self", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 Py_INCREF(Py_None
); resultobj
= Py_None
;
20985 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "self", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_From_int((int)result
);
21011 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
21021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= SWIG_From_int((int)result
);
21037 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21041 PyObject
* obj0
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_From_int((int)result
);
21063 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21067 PyObject
* obj0
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "self", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 resultobj
= SWIG_From_int((int)result
);
21089 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= SWIG_From_int((int)result
);
21115 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21117 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21143 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21147 PyObject
* obj0
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21171 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21199 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21203 PyObject
* obj0
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21227 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21255 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21259 PyObject
* obj0
= 0 ;
21260 PyObject
* obj1
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self",(char *) "v", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21268 arg2
= (int)SWIG_As_int(obj1
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 (arg1
)->SetFromPage(arg2
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 Py_INCREF(Py_None
); resultobj
= Py_None
;
21284 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21288 PyObject
* obj0
= 0 ;
21289 PyObject
* obj1
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self",(char *) "v", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 arg2
= (int)SWIG_As_int(obj1
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 (arg1
)->SetToPage(arg2
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 Py_INCREF(Py_None
); resultobj
= Py_None
;
21313 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "v", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21326 arg2
= (int)SWIG_As_int(obj1
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 (arg1
)->SetMinPage(arg2
);
21332 wxPyEndAllowThreads(__tstate
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21335 Py_INCREF(Py_None
); resultobj
= Py_None
;
21342 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 PyObject
* obj1
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self",(char *) "v", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21355 arg2
= (int)SWIG_As_int(obj1
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 (arg1
)->SetMaxPage(arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 Py_INCREF(Py_None
); resultobj
= Py_None
;
21371 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "v", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 arg2
= (int)SWIG_As_int(obj1
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 (arg1
)->SetNoCopies(arg2
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 Py_INCREF(Py_None
); resultobj
= Py_None
;
21400 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char *kwnames
[] = {
21407 (char *) "self",(char *) "flag", NULL
21410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21413 arg2
= (bool)SWIG_As_bool(obj1
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 (arg1
)->SetAllPages(arg2
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self",(char *) "flag", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 arg2
= (bool)SWIG_As_bool(obj1
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 (arg1
)->SetSelection(arg2
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 Py_INCREF(Py_None
); resultobj
= Py_None
;
21458 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self",(char *) "flag", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21471 arg2
= (bool)SWIG_As_bool(obj1
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 (arg1
)->SetCollate(arg2
);
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 Py_INCREF(Py_None
); resultobj
= Py_None
;
21487 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21488 PyObject
*resultobj
;
21489 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self",(char *) "flag", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21500 arg2
= (bool)SWIG_As_bool(obj1
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 (arg1
)->SetPrintToFile(arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 Py_INCREF(Py_None
); resultobj
= Py_None
;
21516 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self",(char *) "flag", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 arg2
= (bool)SWIG_As_bool(obj1
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 (arg1
)->SetSetupDialog(arg2
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 Py_INCREF(Py_None
); resultobj
= Py_None
;
21545 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21549 PyObject
* obj0
= 0 ;
21550 PyObject
* obj1
= 0 ;
21551 char *kwnames
[] = {
21552 (char *) "self",(char *) "flag", NULL
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21558 arg2
= (bool)SWIG_As_bool(obj1
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->EnablePrintToFile(arg2
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 Py_INCREF(Py_None
); resultobj
= Py_None
;
21574 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self",(char *) "flag", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21587 arg2
= (bool)SWIG_As_bool(obj1
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 (arg1
)->EnableSelection(arg2
);
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 Py_INCREF(Py_None
); resultobj
= Py_None
;
21603 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self",(char *) "flag", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21616 arg2
= (bool)SWIG_As_bool(obj1
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->EnablePageNumbers(arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
;
21634 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self",(char *) "flag", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21645 arg2
= (bool)SWIG_As_bool(obj1
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 (arg1
)->EnableHelp(arg2
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 Py_INCREF(Py_None
); resultobj
= Py_None
;
21661 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21665 PyObject
* obj0
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21689 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
;
21691 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21717 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21745 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21749 PyObject
* obj0
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21773 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21801 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21804 wxPrintData
*result
;
21805 PyObject
* obj0
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21817 result
= (wxPrintData
*) &_result_ref
;
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21830 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21833 wxPrintData
*arg2
= 0 ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self",(char *) "printData", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21846 if (arg2
== NULL
) {
21847 PyErr_SetString(PyExc_TypeError
,"null reference");
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 Py_INCREF(Py_None
); resultobj
= Py_None
;
21864 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21867 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21869 return Py_BuildValue((char *)"");
21871 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxWindow
*arg1
= (wxWindow
*) 0 ;
21874 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21875 wxPrintDialog
*result
;
21876 PyObject
* obj0
= 0 ;
21877 PyObject
* obj1
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "parent",(char *) "data", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21890 if (!wxPyCheckForApp()) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21904 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21907 wxPrintDialogData
*result
;
21908 PyObject
* obj0
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21920 result
= (wxPrintDialogData
*) &_result_ref
;
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21933 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (wxDC
*)(arg1
)->GetPrintDC();
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= wxPyMake_wxObject(result
, 1);
21961 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (int)(arg1
)->ShowModal();
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_From_int((int)result
);
21987 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21990 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21992 return Py_BuildValue((char *)"");
21994 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21998 PyObject
* obj0
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "data", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22009 if (!wxPyCheckForApp()) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (wxPrinter
*)new wxPrinter(arg1
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
22023 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 Py_INCREF(Py_None
); resultobj
= Py_None
;
22048 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22051 wxWindow
*arg2
= (wxWindow
*) 0 ;
22052 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 PyObject
* obj2
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "parent",(char *) "printout", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 (arg1
)->CreateAbortWindow(arg2
,arg3
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 Py_INCREF(Py_None
); resultobj
= Py_None
;
22081 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22084 wxPrintDialogData
*result
;
22085 PyObject
* obj0
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22097 result
= (wxPrintDialogData
*) &_result_ref
;
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22110 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22113 wxWindow
*arg2
= (wxWindow
*) 0 ;
22114 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22115 int arg4
= (int) true ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 PyObject
* obj2
= 0 ;
22120 PyObject
* obj3
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22130 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22133 arg4
= (int)SWIG_As_int(obj3
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22152 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22155 wxWindow
*arg2
= (wxWindow
*) 0 ;
22157 PyObject
* obj0
= 0 ;
22158 PyObject
* obj1
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "self",(char *) "parent", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= wxPyMake_wxObject(result
, 0);
22184 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22187 wxWindow
*arg2
= (wxWindow
*) 0 ;
22188 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22189 wxString
*arg4
= 0 ;
22190 bool temp4
= false ;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 PyObject
* obj2
= 0 ;
22194 PyObject
* obj3
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22207 arg4
= wxString_in_helper(obj3
);
22208 if (arg4
== NULL
) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 Py_INCREF(Py_None
); resultobj
= Py_None
;
22233 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22236 wxWindow
*arg2
= (wxWindow
*) 0 ;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self",(char *) "parent", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (bool)(arg1
)->Setup(arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22265 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)(arg1
)->GetAbort();
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22293 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22296 char *kwnames
[] = {
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (int)wxPrinter::GetLastError();
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_From_int((int)result
);
22315 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22318 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22320 return Py_BuildValue((char *)"");
22322 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22325 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22326 wxPyPrintout
*result
;
22327 bool temp1
= false ;
22328 PyObject
* obj0
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "title", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22336 arg1
= wxString_in_helper(obj0
);
22337 if (arg1
== NULL
) SWIG_fail
;
22342 if (!wxPyCheckForApp()) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= wxPyMake_wxObject(result
, 1);
22366 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22369 PyObject
*arg2
= (PyObject
*) 0 ;
22370 PyObject
*arg3
= (PyObject
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 PyObject
* obj2
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self",(char *) "self",(char *) "_class", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 Py_INCREF(Py_None
); resultobj
= Py_None
;
22397 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22429 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 result
= (wxDC
*)(arg1
)->GetDC();
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22449 resultobj
= wxPyMake_wxObject(result
, 0);
22457 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22460 wxDC
*arg2
= (wxDC
*) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "dc", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 (arg1
)->SetDC(arg2
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 Py_INCREF(Py_None
); resultobj
= Py_None
;
22486 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 PyObject
* obj1
= 0 ;
22493 PyObject
* obj2
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "w",(char *) "h", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 arg2
= (int)SWIG_As_int(obj1
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22503 arg3
= (int)SWIG_As_int(obj2
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 Py_INCREF(Py_None
); resultobj
= Py_None
;
22519 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22522 int *arg2
= (int *) 0 ;
22523 int *arg3
= (int *) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self", NULL
22533 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22534 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 Py_INCREF(Py_None
); resultobj
= Py_None
;
22546 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22547 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22548 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22549 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22556 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22561 PyObject
* obj0
= 0 ;
22562 PyObject
* obj1
= 0 ;
22563 PyObject
* obj2
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self",(char *) "w",(char *) "h", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22571 arg2
= (int)SWIG_As_int(obj1
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22573 arg3
= (int)SWIG_As_int(obj2
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 Py_INCREF(Py_None
); resultobj
= Py_None
;
22589 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
;
22591 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22592 int *arg2
= (int *) 0 ;
22593 int *arg3
= (int *) 0 ;
22598 PyObject
* obj0
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "self", NULL
22603 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22604 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22617 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22618 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22619 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22626 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22633 PyObject
* obj2
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "x",(char *) "y", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22641 arg2
= (int)SWIG_As_int(obj1
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22643 arg3
= (int)SWIG_As_int(obj2
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 (arg1
)->SetPPIScreen(arg2
,arg3
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 Py_INCREF(Py_None
); resultobj
= Py_None
;
22659 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22661 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22662 int *arg2
= (int *) 0 ;
22663 int *arg3
= (int *) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22674 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 (arg1
)->GetPPIScreen(arg2
,arg3
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 Py_INCREF(Py_None
); resultobj
= Py_None
;
22686 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22687 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22688 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22689 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22696 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 PyObject
* obj2
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self",(char *) "x",(char *) "y", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22711 arg2
= (int)SWIG_As_int(obj1
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22713 arg3
= (int)SWIG_As_int(obj2
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 Py_INCREF(Py_None
); resultobj
= Py_None
;
22729 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22732 int *arg2
= (int *) 0 ;
22733 int *arg3
= (int *) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self", NULL
22743 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22744 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 Py_INCREF(Py_None
); resultobj
= Py_None
;
22756 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22757 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22758 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22759 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22766 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 result
= (bool)(arg1
)->IsPreview();
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22794 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "p", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22807 arg2
= (bool)SWIG_As_bool(obj1
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->SetIsPreview(arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 PyObject
* obj2
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22839 arg2
= (int)SWIG_As_int(obj1
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22841 arg3
= (int)SWIG_As_int(obj2
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22859 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "self", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->base_OnEndDocument();
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 (arg1
)->base_OnBeginPrinting();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 Py_INCREF(Py_None
); resultobj
= Py_None
;
22909 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22912 PyObject
* obj0
= 0 ;
22913 char *kwnames
[] = {
22914 (char *) "self", NULL
22917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 (arg1
)->base_OnEndPrinting();
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 Py_INCREF(Py_None
); resultobj
= Py_None
;
22934 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22937 PyObject
* obj0
= 0 ;
22938 char *kwnames
[] = {
22939 (char *) "self", NULL
22942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 (arg1
)->base_OnPreparePrinting();
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 Py_INCREF(Py_None
); resultobj
= Py_None
;
22959 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
;
22961 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self",(char *) "page", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22973 arg2
= (int)SWIG_As_int(obj1
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (bool)(arg1
)->base_HasPage(arg2
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22991 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22994 int *arg2
= (int *) 0 ;
22995 int *arg3
= (int *) 0 ;
22996 int *arg4
= (int *) 0 ;
22997 int *arg5
= (int *) 0 ;
23006 PyObject
* obj0
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self", NULL
23011 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23012 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23013 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
23014 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 Py_INCREF(Py_None
); resultobj
= Py_None
;
23026 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23027 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23028 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23029 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23030 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
23031 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
23032 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
23033 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
23040 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
23042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23043 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
23045 return Py_BuildValue((char *)"");
23047 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23050 wxWindow
*arg2
= (wxWindow
*) 0 ;
23051 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23052 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23053 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23054 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23055 long arg5
= (long) 0 ;
23056 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
23057 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23058 wxPreviewCanvas
*result
;
23061 bool temp6
= false ;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23064 PyObject
* obj2
= 0 ;
23065 PyObject
* obj3
= 0 ;
23066 PyObject
* obj4
= 0 ;
23067 PyObject
* obj5
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23086 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23090 arg5
= (long)SWIG_As_long(obj4
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23095 arg6
= wxString_in_helper(obj5
);
23096 if (arg6
== NULL
) SWIG_fail
;
23101 if (!wxPyCheckForApp()) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23123 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23126 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23128 return Py_BuildValue((char *)"");
23130 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23133 wxFrame
*arg2
= (wxFrame
*) 0 ;
23134 wxString
*arg3
= 0 ;
23135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23139 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23140 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23141 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23142 wxPreviewFrame
*result
;
23143 bool temp3
= false ;
23146 bool temp7
= false ;
23147 PyObject
* obj0
= 0 ;
23148 PyObject
* obj1
= 0 ;
23149 PyObject
* obj2
= 0 ;
23150 PyObject
* obj3
= 0 ;
23151 PyObject
* obj4
= 0 ;
23152 PyObject
* obj5
= 0 ;
23153 PyObject
* obj6
= 0 ;
23154 char *kwnames
[] = {
23155 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23164 arg3
= wxString_in_helper(obj2
);
23165 if (arg3
== NULL
) SWIG_fail
;
23171 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23177 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23181 arg6
= (long)SWIG_As_long(obj5
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23186 arg7
= wxString_in_helper(obj6
);
23187 if (arg7
== NULL
) SWIG_fail
;
23192 if (!wxPyCheckForApp()) SWIG_fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23222 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23225 PyObject
* obj0
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 (arg1
)->Initialize();
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 Py_INCREF(Py_None
); resultobj
= Py_None
;
23247 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
;
23249 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 (arg1
)->CreateControlBar();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 Py_INCREF(Py_None
); resultobj
= Py_None
;
23272 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23275 PyObject
* obj0
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 (arg1
)->CreateCanvas();
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 Py_INCREF(Py_None
); resultobj
= Py_None
;
23297 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23300 wxPreviewControlBar
*result
;
23301 PyObject
* obj0
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23323 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23326 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23328 return Py_BuildValue((char *)"");
23330 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23334 wxWindow
*arg3
= (wxWindow
*) 0 ;
23335 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23336 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23337 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23338 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23339 long arg6
= (long) wxTAB_TRAVERSAL
;
23340 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23341 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23342 wxPreviewControlBar
*result
;
23345 bool temp7
= false ;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 PyObject
* obj2
= 0 ;
23349 PyObject
* obj3
= 0 ;
23350 PyObject
* obj4
= 0 ;
23351 PyObject
* obj5
= 0 ;
23352 PyObject
* obj6
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 arg2
= (long)SWIG_As_long(obj1
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23362 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23377 arg6
= (long)SWIG_As_long(obj5
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23382 arg7
= wxString_in_helper(obj6
);
23383 if (arg7
== NULL
) SWIG_fail
;
23388 if (!wxPyCheckForApp()) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23410 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23414 PyObject
* obj0
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 result
= (int)(arg1
)->GetZoomControl();
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= SWIG_From_int((int)result
);
23436 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self",(char *) "zoom", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23449 arg2
= (int)SWIG_As_int(obj1
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 (arg1
)->SetZoomControl(arg2
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 Py_INCREF(Py_None
); resultobj
= Py_None
;
23465 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23468 wxPrintPreview
*result
;
23469 PyObject
* obj0
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23491 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 Py_INCREF(Py_None
); resultobj
= Py_None
;
23516 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
;
23518 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23519 PyObject
* obj0
= 0 ;
23520 char *kwnames
[] = {
23521 (char *) "self", NULL
23524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 (arg1
)->OnPrevious();
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 Py_INCREF(Py_None
); resultobj
= Py_None
;
23541 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self", NULL
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 Py_INCREF(Py_None
); resultobj
= Py_None
;
23566 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 Py_INCREF(Py_None
); resultobj
= Py_None
;
23591 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23594 PyObject
* obj0
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "self", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 Py_INCREF(Py_None
); resultobj
= Py_None
;
23616 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23619 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23621 return Py_BuildValue((char *)"");
23623 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23624 PyObject
*resultobj
;
23625 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23626 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23627 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23628 wxPrintPreview
*result
;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 PyObject
* obj2
= 0 ;
23633 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23643 if (!wxPyCheckForApp()) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23657 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23658 PyObject
*resultobj
;
23659 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23660 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23661 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23662 wxPrintPreview
*result
;
23663 PyObject
* obj0
= 0 ;
23664 PyObject
* obj1
= 0 ;
23665 PyObject
* obj2
= 0 ;
23667 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23672 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23675 if (!wxPyCheckForApp()) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23689 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23694 argc
= PyObject_Length(args
);
23695 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23696 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23698 if ((argc
>= 2) && (argc
<= 3)) {
23702 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23712 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23721 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23725 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23733 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23742 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23752 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23762 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23770 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23776 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23781 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "pageNum", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23795 arg2
= (int)SWIG_As_int(obj1
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23813 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 char *kwnames
[] = {
23819 (char *) "self", NULL
23822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 result
= (int)(arg1
)->GetCurrentPage();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= SWIG_From_int((int)result
);
23839 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23842 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 PyObject
* obj1
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self",(char *) "printout", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 (arg1
)->SetPrintout(arg2
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23868 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23871 wxPyPrintout
*result
;
23872 PyObject
* obj0
= 0 ;
23873 char *kwnames
[] = {
23874 (char *) "self", NULL
23877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= wxPyMake_wxObject(result
, 0);
23896 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
;
23898 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23899 wxPyPrintout
*result
;
23900 PyObject
* obj0
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "self", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= wxPyMake_wxObject(result
, 0);
23924 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23927 wxFrame
*arg2
= (wxFrame
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self",(char *) "frame", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 (arg1
)->SetFrame(arg2
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 Py_INCREF(Py_None
); resultobj
= Py_None
;
23953 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23956 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self",(char *) "canvas", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 (arg1
)->SetCanvas(arg2
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 Py_INCREF(Py_None
); resultobj
= Py_None
;
23982 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23986 PyObject
* obj0
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "self", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (wxFrame
*)(arg1
)->GetFrame();
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= wxPyMake_wxObject(result
, 0);
24010 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24013 wxPreviewCanvas
*result
;
24014 PyObject
* obj0
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
24036 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24039 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 PyObject
* obj2
= 0 ;
24045 char *kwnames
[] = {
24046 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24057 if (arg3
== NULL
) {
24058 PyErr_SetString(PyExc_TypeError
,"null reference");
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24077 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24079 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24080 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 PyObject
* obj2
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24095 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24098 if (arg3
== NULL
) {
24099 PyErr_SetString(PyExc_TypeError
,"null reference");
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24118 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 PyObject
* obj1
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self",(char *) "pageNum", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 arg2
= (int)SWIG_As_int(obj1
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (bool)(arg1
)->RenderPage(arg2
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24150 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24153 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self",(char *) "canvas", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 (arg1
)->AdjustScrollbars(arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 Py_INCREF(Py_None
); resultobj
= Py_None
;
24179 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24182 wxPrintDialogData
*result
;
24183 PyObject
* obj0
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24195 result
= (wxPrintDialogData
*) &_result_ref
;
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24208 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 PyObject
* obj1
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self",(char *) "percent", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 arg2
= (int)SWIG_As_int(obj1
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 (arg1
)->SetZoom(arg2
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 Py_INCREF(Py_None
); resultobj
= Py_None
;
24237 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (int)(arg1
)->GetZoom();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_From_int((int)result
);
24263 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (int)(arg1
)->GetMaxPage();
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= SWIG_From_int((int)result
);
24289 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24293 PyObject
* obj0
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= (int)(arg1
)->GetMinPage();
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_From_int((int)result
);
24315 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)(arg1
)->Ok();
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24343 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "self",(char *) "ok", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 arg2
= (bool)SWIG_As_bool(obj1
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 (arg1
)->SetOk(arg2
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 Py_INCREF(Py_None
); resultobj
= Py_None
;
24372 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "interactive", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24386 arg2
= (bool)SWIG_As_bool(obj1
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (bool)(arg1
)->Print(arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24404 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 (arg1
)->DetermineScaling();
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 Py_INCREF(Py_None
); resultobj
= Py_None
;
24429 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24432 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24434 return Py_BuildValue((char *)"");
24436 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24437 PyObject
*resultobj
;
24438 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24439 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24440 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24441 wxPyPrintPreview
*result
;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 PyObject
* obj2
= 0 ;
24446 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24452 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 if (!wxPyCheckForApp()) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24470 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24471 PyObject
*resultobj
;
24472 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24473 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24474 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24475 wxPyPrintPreview
*result
;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 PyObject
* obj2
= 0 ;
24480 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24485 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 if (!wxPyCheckForApp()) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24502 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24507 argc
= PyObject_Length(args
);
24508 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24509 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24511 if ((argc
>= 2) && (argc
<= 3)) {
24515 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24525 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24534 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24538 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24546 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24555 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24565 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24575 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24583 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24589 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24594 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24597 PyObject
*arg2
= (PyObject
*) 0 ;
24598 PyObject
*arg3
= (PyObject
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 PyObject
* obj1
= 0 ;
24601 PyObject
* obj2
= 0 ;
24602 char *kwnames
[] = {
24603 (char *) "self",(char *) "self",(char *) "_class", NULL
24606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 Py_INCREF(Py_None
); resultobj
= Py_None
;
24625 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
;
24627 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self",(char *) "pageNum", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24639 arg2
= (int)SWIG_As_int(obj1
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24657 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24660 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 PyObject
* obj2
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24675 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24678 if (arg3
== NULL
) {
24679 PyErr_SetString(PyExc_TypeError
,"null reference");
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24698 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24701 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 PyObject
* obj1
= 0 ;
24706 PyObject
* obj2
= 0 ;
24707 char *kwnames
[] = {
24708 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24716 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24719 if (arg3
== NULL
) {
24720 PyErr_SetString(PyExc_TypeError
,"null reference");
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24739 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "pageNum", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24753 arg2
= (int)SWIG_As_int(obj1
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24771 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 char *kwnames
[] = {
24778 (char *) "self",(char *) "percent", NULL
24781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24784 arg2
= (int)SWIG_As_int(obj1
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 (arg1
)->base_SetZoom(arg2
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 Py_INCREF(Py_None
); resultobj
= Py_None
;
24800 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
;
24802 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "interactive", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24814 arg2
= (bool)SWIG_As_bool(obj1
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (bool)(arg1
)->base_Print(arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24832 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 (arg1
)->base_DetermineScaling();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 Py_INCREF(Py_None
); resultobj
= Py_None
;
24857 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24860 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24862 return Py_BuildValue((char *)"");
24864 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24867 wxFrame
*arg2
= (wxFrame
*) 0 ;
24868 wxString
*arg3
= 0 ;
24869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24873 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24874 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24876 wxPyPreviewFrame
*result
;
24877 bool temp3
= false ;
24880 bool temp7
= false ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 PyObject
* obj2
= 0 ;
24884 PyObject
* obj3
= 0 ;
24885 PyObject
* obj4
= 0 ;
24886 PyObject
* obj5
= 0 ;
24887 PyObject
* obj6
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 arg3
= wxString_in_helper(obj2
);
24899 if (arg3
== NULL
) SWIG_fail
;
24905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24915 arg6
= (long)SWIG_As_long(obj5
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24920 arg7
= wxString_in_helper(obj6
);
24921 if (arg7
== NULL
) SWIG_fail
;
24926 if (!wxPyCheckForApp()) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24956 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24959 PyObject
*arg2
= (PyObject
*) 0 ;
24960 PyObject
*arg3
= (PyObject
*) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 PyObject
* obj2
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "self",(char *) "self",(char *) "_class", NULL
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 Py_INCREF(Py_None
); resultobj
= Py_None
;
24987 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24990 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "self",(char *) "canvas", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
25001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 (arg1
)->SetPreviewCanvas(arg2
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 Py_INCREF(Py_None
); resultobj
= Py_None
;
25016 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
;
25018 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25019 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
25020 PyObject
* obj0
= 0 ;
25021 PyObject
* obj1
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self",(char *) "bar", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
25030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 (arg1
)->SetControlBar(arg2
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 Py_INCREF(Py_None
); resultobj
= Py_None
;
25045 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 (arg1
)->base_Initialize();
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 (arg1
)->base_CreateCanvas();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 Py_INCREF(Py_None
); resultobj
= Py_None
;
25095 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 (arg1
)->base_CreateControlBar();
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 Py_INCREF(Py_None
); resultobj
= Py_None
;
25120 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25123 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25125 return Py_BuildValue((char *)"");
25127 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25131 wxWindow
*arg3
= (wxWindow
*) 0 ;
25132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25136 long arg6
= (long) 0 ;
25137 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25138 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25139 wxPyPreviewControlBar
*result
;
25142 bool temp7
= false ;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 PyObject
* obj2
= 0 ;
25146 PyObject
* obj3
= 0 ;
25147 PyObject
* obj4
= 0 ;
25148 PyObject
* obj5
= 0 ;
25149 PyObject
* obj6
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25157 arg2
= (long)SWIG_As_long(obj1
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25159 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25174 arg6
= (long)SWIG_As_long(obj5
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25179 arg7
= wxString_in_helper(obj6
);
25180 if (arg7
== NULL
) SWIG_fail
;
25185 if (!wxPyCheckForApp()) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25207 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25210 PyObject
*arg2
= (PyObject
*) 0 ;
25211 PyObject
*arg3
= (PyObject
*) 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 PyObject
* obj2
= 0 ;
25215 char *kwnames
[] = {
25216 (char *) "self",(char *) "self",(char *) "_class", NULL
25219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 Py_INCREF(Py_None
); resultobj
= Py_None
;
25238 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25241 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self",(char *) "preview", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 (arg1
)->SetPrintPreview(arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 Py_INCREF(Py_None
); resultobj
= Py_None
;
25267 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25270 PyObject
* obj0
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 (arg1
)->base_CreateButtons();
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 Py_INCREF(Py_None
); resultobj
= Py_None
;
25292 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 char *kwnames
[] = {
25299 (char *) "self",(char *) "zoom", NULL
25302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 arg2
= (int)SWIG_As_int(obj1
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->base_SetZoomControl(arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25324 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25326 return Py_BuildValue((char *)"");
25328 static PyMethodDef SwigMethods
[] = {
25329 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25335 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25350 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25351 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25360 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25375 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25399 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25411 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25415 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25419 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25424 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25441 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25469 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25476 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25499 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25507 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25519 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25525 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25534 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25540 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25545 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25551 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25555 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25573 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25599 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25607 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25616 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25618 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25627 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25630 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25637 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25655 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25659 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25664 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25668 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25684 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25687 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25689 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25693 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25702 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25711 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25717 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25732 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25739 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25743 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25769 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25795 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25821 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25822 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25869 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25870 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25901 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25905 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25906 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25939 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25944 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25955 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25978 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25980 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25983 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25986 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25996 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25997 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26009 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26010 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
26020 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
26021 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26022 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26023 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26025 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26026 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26027 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26028 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26029 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
26030 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26031 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26032 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26034 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26035 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26036 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26038 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26039 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26040 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26041 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26044 { NULL
, NULL
, 0, NULL
}
26048 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26050 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
26051 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26053 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26054 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26056 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26057 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26059 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26060 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26062 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26063 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26065 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26066 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26068 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26069 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26071 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26072 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26074 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26075 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26077 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26078 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26080 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26081 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26083 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26084 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26086 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26087 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26089 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26090 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26092 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26093 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26095 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26096 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26098 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26099 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26101 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26102 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26104 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26105 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26107 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26108 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26110 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26111 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26113 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26114 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26116 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26117 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26119 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26120 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26122 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26123 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26125 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26126 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26128 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26129 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26131 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26132 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26134 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26135 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26137 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26138 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26140 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26141 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26143 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26144 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26146 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26147 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26149 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26150 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26152 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26153 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26155 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26156 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26158 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26159 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26161 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26162 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26164 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26165 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26167 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26168 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26170 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26171 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26173 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26174 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26176 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26177 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26179 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26182 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26185 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26188 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26189 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26191 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26192 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26194 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26195 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26197 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26198 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26200 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26203 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26206 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26209 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26212 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26215 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26218 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26221 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26222 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26224 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26225 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26227 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26230 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26233 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26236 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26237 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26239 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26242 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26243 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26245 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26246 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26248 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26249 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26251 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26252 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26254 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26257 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26258 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26260 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26261 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26263 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26266 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26267 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26269 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26272 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26275 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26278 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26279 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26281 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26284 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26285 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26287 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26290 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26293 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26296 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26299 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26300 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26302 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
26303 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26305 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26308 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26311 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26314 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26317 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26320 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26323 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26326 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26329 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26330 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26332 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26333 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26335 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26336 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26338 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26339 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26341 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26342 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26344 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26345 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26347 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26348 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26350 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26351 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26353 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26356 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26357 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26359 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26362 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26365 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26366 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26368 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26369 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26371 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26374 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26375 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26377 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26378 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26380 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26381 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26383 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26384 return (void *)((wxObject
*) ((wxSizer
*) x
));
26386 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26387 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26389 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26392 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26395 static void *_p_wxEventTo_p_wxObject(void *x
) {
26396 return (void *)((wxObject
*) ((wxEvent
*) x
));
26398 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26399 return (void *)((wxObject
*) ((wxFontData
*) x
));
26401 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26402 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26404 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26405 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26407 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26408 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26410 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26411 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26413 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26414 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26416 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26417 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26419 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26422 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26423 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26425 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26426 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26428 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26429 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26431 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26432 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26434 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26435 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26437 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26438 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26440 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26443 static void *_p_wxControlTo_p_wxObject(void *x
) {
26444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26446 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26447 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26449 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26452 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26453 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26455 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26456 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26458 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26459 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26461 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26464 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26465 return (void *)((wxObject
*) ((wxColourData
*) x
));
26467 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26468 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26470 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26471 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26473 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26476 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26479 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26482 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26485 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26488 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26491 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26494 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26497 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26500 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26501 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26503 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26504 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26506 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26507 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26509 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26510 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26512 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26515 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26518 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26521 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26524 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26527 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26530 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26533 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26534 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26536 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26537 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26539 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26540 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26542 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26543 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26545 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26548 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26551 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26554 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26557 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26560 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26563 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26566 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26569 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26572 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26575 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26578 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26581 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26584 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26587 static void *_p_wxImageTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) ((wxImage
*) x
));
26590 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26593 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26596 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26599 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26602 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26605 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26608 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26611 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26614 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26617 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26620 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26623 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26626 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26629 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26632 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26635 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26638 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26641 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26644 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26647 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26650 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26653 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26656 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26659 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26662 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26665 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26666 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26668 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26669 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26671 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26674 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26677 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26680 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26683 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26686 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26689 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26692 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26693 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26695 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26698 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26699 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26701 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26702 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26704 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26705 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26707 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26708 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26710 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26711 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26713 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26714 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26716 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26717 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26719 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26722 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26725 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26726 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26728 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26729 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26731 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26734 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26737 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26738 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26740 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26741 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26743 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26746 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26747 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26749 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26750 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26752 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26753 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26755 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26756 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26758 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26759 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26761 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26762 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26764 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26765 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26767 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26768 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26770 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26771 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26773 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26774 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26776 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26777 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26779 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26780 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26782 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26783 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26785 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26786 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26788 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26789 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26791 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26792 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26794 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26795 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26797 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26798 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26800 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26801 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26803 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26804 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26806 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26807 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26809 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26810 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26812 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26813 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26815 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26816 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26818 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26819 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26821 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26822 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26824 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26825 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26827 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26828 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26830 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26831 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26833 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26834 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26836 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26837 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26839 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26840 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26842 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26845 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26846 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26848 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26849 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26851 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26852 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26854 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26855 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26857 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26858 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26860 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26861 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26863 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26864 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26866 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26867 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26869 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26870 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26872 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26873 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26875 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26876 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26878 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26879 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26881 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26882 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26884 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26885 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26887 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26888 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26890 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26891 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26893 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26894 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26896 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26897 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26899 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26900 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26902 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26903 return (void *)((wxWindow
*) ((wxControl
*) x
));
26905 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26906 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26908 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26909 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26911 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26912 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26914 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26915 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26917 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26918 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26920 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26921 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26923 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26924 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26926 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26927 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26929 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26930 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26932 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26933 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26935 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26936 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26938 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26939 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26941 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26942 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26944 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26945 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26947 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26948 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26950 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26951 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26953 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26954 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26956 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26957 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26959 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26960 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26962 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26963 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26965 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26966 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26968 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26969 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26971 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26972 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26974 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26975 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26977 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26978 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26980 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26981 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26983 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26984 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26986 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26987 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26989 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26990 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26992 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26993 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26995 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26996 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26998 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26999 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
27001 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27002 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27004 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27005 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27007 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
27008 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27010 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27011 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27013 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27014 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27016 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27017 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27019 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27020 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27022 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27023 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27025 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27026 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27028 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27029 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27031 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27032 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27034 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27035 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27037 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27038 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27040 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
27041 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27043 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27044 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27046 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27047 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27049 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
27050 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
27052 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27053 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27055 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27056 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27058 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
27059 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
27061 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27062 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27064 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}};
27065 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}};
27066 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}};
27067 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}};
27068 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}};
27069 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}};
27070 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}};
27071 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}};
27072 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}};
27073 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}};
27074 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}};
27075 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}};
27076 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}};
27077 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}};
27078 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}};
27079 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}};
27080 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}};
27081 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}};
27082 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}};
27083 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}};
27084 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}};
27085 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}};
27086 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}};
27087 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}};
27088 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}};
27089 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}};
27090 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}};
27091 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}};
27092 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}};
27093 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}};
27094 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}};
27095 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}};
27096 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}};
27097 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}};
27098 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}};
27099 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}};
27100 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}};
27101 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}};
27102 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}};
27103 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}};
27104 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}};
27105 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}};
27106 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}};
27107 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}};
27108 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}};
27109 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}};
27110 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}};
27111 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}};
27112 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}};
27113 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}};
27114 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}};
27115 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}};
27116 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}};
27117 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}};
27118 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}};
27119 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}};
27120 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}};
27121 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}};
27122 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}};
27123 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}};
27124 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}};
27125 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}};
27126 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}};
27127 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}};
27128 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}};
27129 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}};
27130 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}};
27131 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}};
27132 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}};
27133 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}};
27134 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}};
27135 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}};
27136 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}};
27137 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}};
27138 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}};
27139 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}};
27140 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}};
27141 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}};
27142 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}};
27143 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}};
27144 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}};
27145 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}};
27146 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}};
27147 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}};
27148 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}};
27149 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}};
27151 static swig_type_info
*swig_types_initial
[] = {
27152 _swigt__p_wxQueryLayoutInfoEvent
,
27153 _swigt__p_wxPreviewFrame
,
27154 _swigt__p_wxPyPreviewFrame
,
27155 _swigt__p_wxPyPanel
,
27157 _swigt__p_wxFontData
,
27159 _swigt__p_wxPrintData
,
27160 _swigt__p_wxTaskBarIcon
,
27161 _swigt__p_wxIconBundle
,
27162 _swigt__p_wxLayoutAlgorithm
,
27163 _swigt__p_wxFindDialogEvent
,
27164 _swigt__p_wxPreviewCanvas
,
27166 _swigt__p_wxSplitterEvent
,
27167 _swigt__p_wxRegion
,
27168 _swigt__p_wxFindReplaceData
,
27173 _swigt__p_wxVisualAttributes
,
27174 _swigt__p_wxMDIChildFrame
,
27175 _swigt__p_wxColourData
,
27176 _swigt__p_wxNotifyEvent
,
27177 _swigt__p_wxPyWindow
,
27178 _swigt__p_wxSplashScreen
,
27179 _swigt__p_wxFindReplaceDialog
,
27180 _swigt__p_wxProgressDialog
,
27181 _swigt__p_wxMessageDialog
,
27182 _swigt__p_wxTextEntryDialog
,
27183 _swigt__p_wxSingleChoiceDialog
,
27184 _swigt__p_wxMultiChoiceDialog
,
27185 _swigt__p_wxFileDialog
,
27186 _swigt__p_wxPrinter
,
27187 _swigt__p_wxArrayInt
,
27188 _swigt__p_wxEvtHandler
,
27189 _swigt__p_wxCalculateLayoutEvent
,
27190 _swigt__p_wxPyHtmlListBox
,
27191 _swigt__p_wxPyVListBox
,
27194 _swigt__p_wxMiniFrame
,
27196 _swigt__p_wxPyPrintout
,
27197 _swigt__p_wxTaskBarIconEvent
,
27198 _swigt__p_wxScrollWinEvent
,
27199 _swigt__p_wxStatusBar
,
27200 _swigt__p_wxMDIParentFrame
,
27202 _swigt__p_wxObject
,
27203 _swigt__p_wxOutputStream
,
27204 _swigt__p_wxPyScrolledWindow
,
27205 _swigt__p_wxMDIClientWindow
,
27206 _swigt__p_wxTipWindow
,
27207 _swigt__p_wxSashLayoutWindow
,
27208 _swigt__p_wxSplitterWindow
,
27209 _swigt__p_wxSplashScreenWindow
,
27210 _swigt__p_wxPyVScrolledWindow
,
27211 _swigt__p_wxPyPopupTransientWindow
,
27212 _swigt__p_wxPopupWindow
,
27213 _swigt__p_wxSashWindow
,
27214 _swigt__p_wxTopLevelWindow
,
27215 _swigt__p_wxWindow
,
27216 _swigt__p_wxScrolledWindow
,
27217 _swigt__p_wxMenuBar
,
27218 _swigt__p_wxPrintPreview
,
27219 _swigt__p_wxSashEvent
,
27220 _swigt__p_wxString
,
27221 _swigt__p_wxPyPrintPreview
,
27222 _swigt__p_wxFontDialog
,
27223 _swigt__p_wxDirDialog
,
27224 _swigt__p_wxColourDialog
,
27225 _swigt__p_wxDialog
,
27227 _swigt__p_wxPageSetupDialog
,
27228 _swigt__p_wxPrintDialog
,
27229 _swigt__p_wxFileSystem
,
27230 _swigt__p_wxBitmap
,
27231 _swigt__p_wxCommandEvent
,
27232 _swigt__p_wxPreviewControlBar
,
27233 _swigt__p_wxPyPreviewControlBar
,
27234 _swigt__p_wxColour
,
27235 _swigt__p_wxToolBar
,
27236 _swigt__p_wxPageSetupDialogData
,
27237 _swigt__p_wxPrintDialogData
,
27242 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27244 static swig_const_info swig_const_table
[] = {
27245 {0, 0, 0, 0.0, 0, 0}};
27254 SWIGEXPORT(void) SWIG_init(void) {
27255 static PyObject
*SWIG_globals
= 0;
27256 static int typeinit
= 0;
27259 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27260 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27261 d
= PyModule_GetDict(m
);
27264 for (i
= 0; swig_types_initial
[i
]; i
++) {
27265 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27269 SWIG_InstallConstants(d
,swig_const_table
);
27271 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27272 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27273 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27274 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27275 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27276 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27277 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27278 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27279 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27280 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27281 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27282 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27283 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27284 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27285 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27286 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27287 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27288 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27289 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27290 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27291 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27292 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27293 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27294 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27295 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27296 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27297 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27298 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27299 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27300 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27301 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27302 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27303 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27304 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27305 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27306 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27307 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27308 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27309 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27310 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27311 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27312 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27313 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27314 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27315 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27316 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27317 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27318 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27319 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27320 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27321 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27322 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27323 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27324 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27325 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27326 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27327 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27328 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27329 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27330 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27331 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27332 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27333 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27334 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27335 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27336 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27337 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27338 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27339 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27340 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27341 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27342 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27343 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27344 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27345 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27346 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27347 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27348 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27349 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27350 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27351 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27352 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27353 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27354 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27355 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27356 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27357 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27358 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27359 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27360 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27361 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27362 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27363 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27364 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27365 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27366 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27367 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27368 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27369 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27371 // Map renamed classes back to their common name for OOR
27372 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27373 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27374 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27376 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27377 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27378 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27379 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27380 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27381 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27382 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27383 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27384 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27385 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27386 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27387 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27388 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27389 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27390 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27391 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27392 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27393 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27394 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27395 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27396 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27397 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27398 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27399 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27400 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27401 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27402 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27403 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27404 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27405 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27406 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27407 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27408 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27409 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27410 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27411 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27412 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27413 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27414 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27415 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27416 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27417 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27418 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27419 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27420 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27421 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27422 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27423 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27424 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27425 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27426 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27427 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27428 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27429 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27430 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27431 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27432 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27433 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27434 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27435 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27436 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27437 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27438 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27439 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27440 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27441 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27442 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27443 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27444 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27445 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27446 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27447 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27448 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27449 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27450 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27452 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");