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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
352 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
358 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
361 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
364 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
373 static const wxString
wxPyEmptyString(wxEmptyString
);
374 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
385 if (value
< min_value
) {
387 PyErr_Format(PyExc_OverflowError
,
388 "value %ld is less than '%s' minimum %ld",
389 value
, errmsg
, min_value
);
392 } else if (value
> max_value
) {
394 PyErr_Format(PyExc_OverflowError
,
395 "value %ld is greater than '%s' maximum %ld",
396 value
, errmsg
, max_value
);
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject
* obj
, long* val
)
408 if (PyNumber_Check(obj
)) {
409 if (val
) *val
= PyInt_AsLong(obj
);
413 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
414 obj
->ob_type
->tp_name
);
415 PyErr_SetObject(PyExc_TypeError
, errmsg
);
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject
*obj
, int *val
)
426 const char* errmsg
= val
? "int" : 0;
428 if (SWIG_AsVal_long(obj
, &v
)) {
429 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
430 if (val
) *val
= swig_numeric_cast(v
, int);
439 PyErr_SetString(PyExc_TypeError
, "an int is expected");
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject
*obj
, int *val
)
447 return SWIG_AsVal_long(obj
,(long*)val
);
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject
* obj
)
456 if (!SWIG_AsVal_int(obj
, &v
)) {
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
462 memset((void*)&v
, 0, sizeof(int));
468 SWIGSTATICINLINE(long)
469 SWIG_As_long(PyObject
* obj
)
472 if (!SWIG_AsVal_long(obj
, &v
)) {
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
478 memset((void*)&v
, 0, sizeof(long));
484 SWIGSTATICINLINE(int)
485 SWIG_Check_int(PyObject
* obj
)
487 return SWIG_AsVal_int(obj
, (int*)0);
491 SWIGSTATICINLINE(int)
492 SWIG_Check_long(PyObject
* obj
)
494 return SWIG_AsVal_long(obj
, (long*)0);
498 SWIGSTATICINLINE(int)
499 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj
== Py_True
) {
503 if (val
) *val
= true;
506 if (obj
== Py_False
) {
507 if (val
) *val
= false;
511 if (SWIG_AsVal_int(obj
, &res
)) {
512 if (val
) *val
= (bool)res
;
516 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
522 SWIGSTATICINLINE(bool)
523 SWIG_As_bool(PyObject
* obj
)
526 if (!SWIG_AsVal_bool(obj
, &v
)) {
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
532 memset((void*)&v
, 0, sizeof(bool));
538 SWIGSTATICINLINE(int)
539 SWIG_Check_bool(PyObject
* obj
)
541 return SWIG_AsVal_bool(obj
, (bool*)0);
545 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
551 } else if (target
== Py_None
) {
555 if (!PyTuple_Check(target
)) {
557 target
= PyTuple_New(1);
558 PyTuple_SetItem(target
, 0, o2
);
561 PyTuple_SetItem(o3
, 0, o
);
564 target
= PySequence_Concat(o2
, o3
);
573 // See my_fragments.i
574 SWIGSTATICINLINE(int)
575 SWIG_AsVal_double(PyObject
*obj
, double* val
)
577 if (PyNumber_Check(obj
)) {
578 if (val
) *val
= PyFloat_AsDouble(obj
);
582 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
583 obj
->ob_type
->tp_name
);
584 PyErr_SetObject(PyExc_TypeError
, errmsg
);
591 SWIGSTATICINLINE(double)
592 SWIG_As_double(PyObject
* obj
)
595 if (!SWIG_AsVal_double(obj
, &v
)) {
597 this is needed to make valgrind/purify happier. the other
598 solution is throw an exception, but since this code should work
601 memset((void*)&v
, 0, sizeof(double));
607 SWIGSTATICINLINE(int)
608 SWIG_Check_double(PyObject
* obj
)
610 return SWIG_AsVal_double(obj
, (double*)0);
613 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
614 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
615 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
616 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
619 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
621 self
->GetFieldRect(i
, r
);
624 static const wxString
wxPySplitterNameStr(wxT("splitter"));
625 static const wxString
wxPySashNameStr(wxT("sashWindow"));
626 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
628 #include <wx/popupwin.h>
631 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
634 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
635 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
636 : wxPopupTransientWindow(parent
, style
) {}
638 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
639 DEC_PYCALLBACK__(OnDismiss
);
640 DEC_PYCALLBACK_BOOL_(CanDismiss
);
645 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
646 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
647 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
650 #include <wx/tipwin.h>
652 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
653 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
656 #include <wx/tipwin.h>
659 #include <wx/vscroll.h>
662 class wxPyVScrolledWindow
: public wxVScrolledWindow
664 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
666 wxPyVScrolledWindow() : wxVScrolledWindow() {}
668 wxPyVScrolledWindow(wxWindow
*parent
,
669 wxWindowID id
= wxID_ANY
,
670 const wxPoint
& pos
= wxDefaultPosition
,
671 const wxSize
& size
= wxDefaultSize
,
673 const wxString
& name
= wxPyPanelNameStr
)
674 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
677 // Overridable virtuals
679 // this function must be overridden in the derived class and it should
680 // return the height of the given line in pixels
681 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
684 // this function doesn't have to be overridden but it may be useful to do
685 // it if calculating the lines heights is a relatively expensive operation
686 // as it gives the user code a possibility to calculate several of them at
689 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
690 // shouldn't rely on the latter being called for all lines in the interval
691 // specified here. It is also possible that OnGetLineHeight() will be
692 // called for the lines outside of this interval, so this is really just a
693 // hint, not a promise.
695 // finally note that lineMin is inclusive, while lineMax is exclusive, as
697 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
700 // when the number of lines changes, we try to estimate the total height
701 // of all lines which is a rather expensive operation in terms of lines
702 // access, so if the user code may estimate the average height
703 // better/faster than we do, it should override this function to implement
706 // this function should return the best guess for the total height it may
708 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
711 // Also expose some other interesting protected methods
714 // find the index of the line we need to show at the top of the window such
715 // that the last (fully or partially) visible line is the given one
716 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
717 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
719 // get the total height of the lines between lineMin (inclusive) and
720 // lineMax (exclusive)
721 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
722 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
730 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
731 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
732 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
740 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
741 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
745 *val
= (unsigned long)v
;
750 SWIGSTATICINLINE(unsigned long)
751 SWIG_As_unsigned_SS_long(PyObject
* obj
)
754 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
756 this is needed to make valgrind/purify happier. the other
757 solution is throw an exception, but since this code should work
760 memset((void*)&v
, 0, sizeof(unsigned long));
766 SWIGSTATICINLINE(int)
767 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
769 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
773 SWIGSTATICINLINE(PyObject
* )
774 SWIG_From_unsigned_SS_long(unsigned long value
)
776 return (value
> LONG_MAX
) ?
777 PyLong_FromUnsignedLong(value
)
778 : PyInt_FromLong(swig_numeric_cast(value
,long));
782 #include <wx/vlbox.h>
784 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
786 class wxPyVListBox
: public wxVListBox
788 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
790 wxPyVListBox() : wxVListBox() {}
792 wxPyVListBox(wxWindow
*parent
,
793 wxWindowID id
= wxID_ANY
,
794 const wxPoint
& pos
= wxDefaultPosition
,
795 const wxSize
& size
= wxDefaultSize
,
797 const wxString
& name
= wxPyVListBoxNameStr
)
798 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
801 // Overridable virtuals
803 // the derived class must implement this function to actually draw the item
804 // with the given index on the provided DC
805 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
806 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
809 // the derived class must implement this method to return the height of the
811 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
812 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
815 // this method may be used to draw separators between the lines; note that
816 // the rectangle may be modified, typically to deflate it a bit before
817 // passing to OnDrawItem()
819 // the base class version doesn't do anything
820 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
821 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
824 // this method is used to draw the items background and, maybe, a border
827 // the base class version implements a reasonable default behaviour which
828 // consists in drawing the selected item with the standard background
829 // colour and drawing a border around the item if it is either selected or
831 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
832 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
838 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
840 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
841 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
842 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
843 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
846 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
847 unsigned long cookie
= 0;
848 int selected
= self
->GetFirstSelected(cookie
);
849 bool blocked
= wxPyBeginBlockThreads();
850 PyObject
* tup
= PyTuple_New(2);
851 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
852 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
853 wxPyEndBlockThreads(blocked
);
856 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
857 int selected
= self
->GetNextSelected(cookie
);
858 bool blocked
= wxPyBeginBlockThreads();
859 PyObject
* tup
= PyTuple_New(2);
860 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
861 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
862 wxPyEndBlockThreads(blocked
);
866 #include <wx/htmllbox.h>
869 class wxPyHtmlListBox
: public wxHtmlListBox
871 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
873 wxPyHtmlListBox() : wxHtmlListBox() {}
875 wxPyHtmlListBox(wxWindow
*parent
,
876 wxWindowID id
= wxID_ANY
,
877 const wxPoint
& pos
= wxDefaultPosition
,
878 const wxSize
& size
= wxDefaultSize
,
880 const wxString
& name
= wxPyVListBoxNameStr
)
881 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
884 // Overridable virtuals
886 // this method must be implemented in the derived class and should return
887 // the body (i.e. without <html>) of the HTML for the given item
888 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
890 // this function may be overridden to decorate HTML returned by OnGetItem()
891 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
894 // // this method allows to customize the selection appearance: it may be used
895 // // to specify the colour of the text which normally has the given colour
896 // // colFg when it is inside the selection
898 // // by default, the original colour is not used at all and all text has the
899 // // same (default for this system) colour inside selection
900 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
902 // // this is the same as GetSelectedTextColour() but allows to customize the
903 // // background colour -- this is even more rarely used as you can change it
904 // // globally using SetSelectionBackground()
905 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
912 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
914 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
915 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
922 // implement dummy classes and such for wxMac
924 class wxTaskBarIcon
: public wxEvtHandler
927 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
931 class wxTaskBarIconEvent
: public wxEvent
934 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
935 { wxPyRaiseNotImplemented(); }
936 virtual wxEvent
* Clone() const { return NULL
; }
940 wxEVT_TASKBAR_MOVE
= 0,
941 wxEVT_TASKBAR_LEFT_DOWN
= 0,
942 wxEVT_TASKBAR_LEFT_UP
= 0,
943 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
944 wxEVT_TASKBAR_RIGHT_UP
= 0,
945 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
946 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
951 // // Otherwise make a class that can virtualize CreatePopupMenu
952 // class wxPyTaskBarIcon : public wxTaskBarIcon
954 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
956 // wxPyTaskBarIcon() : wxTaskBarIcon()
959 // wxMenu* CreatePopupMenu() {
960 // wxMenu *rval = NULL;
962 // bool blocked = wxPyBeginBlockThreads();
963 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
966 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
968 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
973 // wxPyEndBlockThreads(blocked);
975 // rval = wxTaskBarIcon::CreatePopupMenu();
982 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
986 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
991 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
992 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
993 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
994 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
995 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
996 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
997 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
999 self
->GetFilenames(arr
);
1000 return wxArrayString2PyList_helper(arr
);
1002 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1004 self
->GetPaths(arr
);
1005 return wxArrayString2PyList_helper(arr
);
1007 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1008 return wxArrayInt2PyList_helper(self
->GetSelections());
1010 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1011 return new wxSingleChoiceDialog(parent
, message
, caption
,
1012 choices
, choices_array
, NULL
, style
, pos
);
1017 // C++ version of Python aware wxWindow
1018 class wxPyWindow
: public wxWindow
1020 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1022 wxPyWindow() : wxWindow() {}
1023 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1024 const wxPoint
& pos
= wxDefaultPosition
,
1025 const wxSize
& size
= wxDefaultSize
,
1027 const wxString
& name
= wxPyPanelNameStr
)
1028 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1030 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1032 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1033 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1041 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1042 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1044 DEC_PYCALLBACK__(InitDialog
);
1045 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1046 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1047 DEC_PYCALLBACK_BOOL_(Validate
);
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1051 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1053 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1054 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1056 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1057 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1058 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1063 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1065 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1066 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1067 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1070 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1074 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1077 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1078 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1082 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1084 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1086 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1089 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1090 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1091 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1094 // C++ version of Python aware wxPanel
1095 class wxPyPanel
: public wxPanel
1097 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1099 wxPyPanel() : wxPanel() {}
1100 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1101 const wxPoint
& pos
= wxDefaultPosition
,
1102 const wxSize
& size
= wxDefaultSize
,
1104 const wxString
& name
= wxPyPanelNameStr
)
1105 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1107 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1110 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1111 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1119 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1120 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1122 DEC_PYCALLBACK__(InitDialog
);
1123 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1124 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1125 DEC_PYCALLBACK_BOOL_(Validate
);
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1129 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1131 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1132 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1134 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1135 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1136 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1141 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1143 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1144 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1145 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1152 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1155 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1156 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1160 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1162 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1167 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1168 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1169 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1172 // C++ version of Python aware wxScrolledWindow
1173 class wxPyScrolledWindow
: public wxScrolledWindow
1175 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1177 wxPyScrolledWindow() : wxScrolledWindow() {}
1178 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1179 const wxPoint
& pos
= wxDefaultPosition
,
1180 const wxSize
& size
= wxDefaultSize
,
1182 const wxString
& name
= wxPyPanelNameStr
)
1183 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1185 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1187 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1188 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1196 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1197 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1199 DEC_PYCALLBACK__(InitDialog
);
1200 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1201 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1202 DEC_PYCALLBACK_BOOL_(Validate
);
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1206 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1208 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1209 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1211 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1212 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1218 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1220 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1221 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1222 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1229 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1232 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1233 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1237 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1239 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1244 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1245 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1246 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1250 #include "wx/wxPython/printfw.h"
1253 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1254 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1258 // Since this one would be tough and ugly to do with the Macros...
1259 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1260 bool hadErr
= False
;
1263 bool blocked
= wxPyBeginBlockThreads();
1264 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1265 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1266 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1269 val
= PyTuple_GetItem(result
, 0);
1270 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1273 val
= PyTuple_GetItem(result
, 1);
1274 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1277 val
= PyTuple_GetItem(result
, 2);
1278 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1281 val
= PyTuple_GetItem(result
, 3);
1282 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1289 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1294 wxPyEndBlockThreads(blocked
);
1296 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1299 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1300 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1304 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1305 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1306 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1307 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1308 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1309 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1310 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1316 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1317 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1318 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1321 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1322 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1325 bool blocked = wxPyBeginBlockThreads(); \
1326 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1327 PyObject* win = wxPyMake_wxObject(a,false); \
1328 PyObject* dc = wxPyMake_wxObject(&b,false); \
1329 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1333 wxPyEndBlockThreads(blocked); \
1335 rval = PCLASS::CBNAME(a, b); \
1338 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1339 return PCLASS::CBNAME(a, b); \
1345 class wxPyPrintPreview
: public wxPrintPreview
1347 DECLARE_CLASS(wxPyPrintPreview
)
1349 wxPyPrintPreview(wxPyPrintout
* printout
,
1350 wxPyPrintout
* printoutForPrinting
,
1351 wxPrintDialogData
* data
=NULL
)
1352 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1354 wxPyPrintPreview(wxPyPrintout
* printout
,
1355 wxPyPrintout
* printoutForPrinting
,
1356 wxPrintData
* data
=NULL
)
1357 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1360 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1362 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1363 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1364 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1365 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1366 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1371 // Stupid renamed classes... Fix this in 2.5...
1372 #if defined(__WXMSW__)
1373 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1374 #elif defined(__WXMAC__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1377 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1380 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1381 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1382 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1383 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1384 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1385 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1386 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1389 class wxPyPreviewFrame
: public wxPreviewFrame
1391 DECLARE_CLASS(wxPyPreviewFrame
);
1393 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1394 const wxString
& title
,
1395 const wxPoint
& pos
= wxDefaultPosition
,
1396 const wxSize
& size
= wxDefaultSize
,
1397 long style
= wxDEFAULT_FRAME_STYLE
,
1398 const wxString
& name
= wxPyFrameNameStr
)
1399 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1402 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1403 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1405 DEC_PYCALLBACK_VOID_(Initialize
);
1406 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1407 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1412 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1414 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1415 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1419 class wxPyPreviewControlBar
: public wxPreviewControlBar
1421 DECLARE_CLASS(wxPyPreviewControlBar
);
1423 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1426 const wxPoint
& pos
= wxDefaultPosition
,
1427 const wxSize
& size
= wxDefaultSize
,
1429 const wxString
& name
= wxPyPanelNameStr
)
1430 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1433 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1435 DEC_PYCALLBACK_VOID_(CreateButtons
);
1436 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1441 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1442 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1443 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1448 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxWindow
*arg1
= (wxWindow
*) 0 ;
1451 int arg2
= (int) (int)-1 ;
1452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1456 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1457 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1458 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1462 bool temp6
= False
;
1463 PyObject
* obj0
= 0 ;
1464 PyObject
* obj1
= 0 ;
1465 PyObject
* obj2
= 0 ;
1466 PyObject
* obj3
= 0 ;
1467 PyObject
* obj4
= 0 ;
1468 PyObject
* obj5
= 0 ;
1470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 arg2
= (int)SWIG_As_int(obj1
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1493 arg5
= (long)SWIG_As_long(obj4
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1498 arg6
= wxString_in_helper(obj5
);
1499 if (arg6
== NULL
) SWIG_fail
;
1504 if (!wxPyCheckForApp()) SWIG_fail
;
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1526 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
*resultobj
;
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1535 if (!wxPyCheckForApp()) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (wxPanel
*)new wxPanel();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1549 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxPanel
*arg1
= (wxPanel
*) 0 ;
1552 wxWindow
*arg2
= (wxWindow
*) 0 ;
1553 int arg3
= (int) (int)-1 ;
1554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1558 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1559 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1560 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1564 bool temp7
= False
;
1565 PyObject
* obj0
= 0 ;
1566 PyObject
* obj1
= 0 ;
1567 PyObject
* obj2
= 0 ;
1568 PyObject
* obj3
= 0 ;
1569 PyObject
* obj4
= 0 ;
1570 PyObject
* obj5
= 0 ;
1571 PyObject
* obj6
= 0 ;
1573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1582 arg3
= (int)SWIG_As_int(obj2
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1598 arg6
= (long)SWIG_As_long(obj5
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1603 arg7
= wxString_in_helper(obj6
);
1604 if (arg7
== NULL
) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1632 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxPanel
*arg1
= (wxPanel
*) 0 ;
1635 PyObject
* obj0
= 0 ;
1637 (char *) "self", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 (arg1
)->InitDialog();
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1650 Py_INCREF(Py_None
); resultobj
= Py_None
;
1657 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
*resultobj
;
1659 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1660 wxVisualAttributes result
;
1661 PyObject
* obj0
= 0 ;
1663 (char *) "variant", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1668 arg1
= (int)SWIG_As_int(obj0
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 if (!wxPyCheckForApp()) SWIG_fail
;
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1680 wxVisualAttributes
* resultptr
;
1681 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1690 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1695 return Py_BuildValue((char *)"");
1697 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxWindow
*arg1
= (wxWindow
*) 0 ;
1700 int arg2
= (int) (int)-1 ;
1701 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1702 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1703 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1704 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1705 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1706 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1707 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1708 wxScrolledWindow
*result
;
1711 bool temp6
= False
;
1712 PyObject
* obj0
= 0 ;
1713 PyObject
* obj1
= 0 ;
1714 PyObject
* obj2
= 0 ;
1715 PyObject
* obj3
= 0 ;
1716 PyObject
* obj4
= 0 ;
1717 PyObject
* obj5
= 0 ;
1719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 arg2
= (int)SWIG_As_int(obj1
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1742 arg5
= (long)SWIG_As_long(obj4
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1747 arg6
= wxString_in_helper(obj5
);
1748 if (arg6
== NULL
) SWIG_fail
;
1753 if (!wxPyCheckForApp()) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1775 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxScrolledWindow
*result
;
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1784 if (!wxPyCheckForApp()) SWIG_fail
;
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1798 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1801 wxWindow
*arg2
= (wxWindow
*) 0 ;
1802 int arg3
= (int) (int)-1 ;
1803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1807 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1808 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1809 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1813 bool temp7
= False
;
1814 PyObject
* obj0
= 0 ;
1815 PyObject
* obj1
= 0 ;
1816 PyObject
* obj2
= 0 ;
1817 PyObject
* obj3
= 0 ;
1818 PyObject
* obj4
= 0 ;
1819 PyObject
* obj5
= 0 ;
1820 PyObject
* obj6
= 0 ;
1822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 arg3
= (int)SWIG_As_int(obj2
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1847 arg6
= (long)SWIG_As_long(obj5
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1852 arg7
= wxString_in_helper(obj6
);
1853 if (arg7
== NULL
) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1881 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1888 int arg6
= (int) 0 ;
1889 int arg7
= (int) 0 ;
1890 bool arg8
= (bool) False
;
1891 PyObject
* obj0
= 0 ;
1892 PyObject
* obj1
= 0 ;
1893 PyObject
* obj2
= 0 ;
1894 PyObject
* obj3
= 0 ;
1895 PyObject
* obj4
= 0 ;
1896 PyObject
* obj5
= 0 ;
1897 PyObject
* obj6
= 0 ;
1898 PyObject
* obj7
= 0 ;
1900 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1906 arg2
= (int)SWIG_As_int(obj1
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1908 arg3
= (int)SWIG_As_int(obj2
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1910 arg4
= (int)SWIG_As_int(obj3
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1912 arg5
= (int)SWIG_As_int(obj4
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 arg6
= (int)SWIG_As_int(obj5
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1919 arg7
= (int)SWIG_As_int(obj6
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1923 arg8
= (bool)SWIG_As_bool(obj7
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 Py_INCREF(Py_None
); resultobj
= Py_None
;
1940 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1945 PyObject
* obj0
= 0 ;
1946 PyObject
* obj1
= 0 ;
1947 PyObject
* obj2
= 0 ;
1949 (char *) "self",(char *) "x",(char *) "y", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1955 arg2
= (int)SWIG_As_int(obj1
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1957 arg3
= (int)SWIG_As_int(obj2
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 (arg1
)->Scroll(arg2
,arg3
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) SWIG_fail
;
1966 Py_INCREF(Py_None
); resultobj
= Py_None
;
1973 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
*resultobj
;
1975 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1979 PyObject
* obj1
= 0 ;
1981 (char *) "self",(char *) "orient", NULL
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1987 arg2
= (int)SWIG_As_int(obj1
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= SWIG_From_int((int)result
);
2003 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2012 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int)SWIG_As_int(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int)SWIG_As_int(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2041 PyObject
* obj0
= 0 ;
2042 PyObject
* obj1
= 0 ;
2043 PyObject
* obj2
= 0 ;
2045 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2051 arg2
= (int)SWIG_As_int(obj1
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2053 arg3
= (int)SWIG_As_int(obj2
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 (arg1
)->SetScrollRate(arg2
,arg3
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 Py_INCREF(Py_None
); resultobj
= Py_None
;
2069 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2072 int *arg2
= (int *) 0 ;
2073 int *arg3
= (int *) 0 ;
2078 PyObject
* obj0
= 0 ;
2080 (char *) "self", NULL
2083 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2084 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2095 Py_INCREF(Py_None
); resultobj
= Py_None
;
2096 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2097 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2098 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2099 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2106 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2113 PyObject
* obj2
= 0 ;
2115 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 arg2
= (bool)SWIG_As_bool(obj1
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2123 arg3
= (bool)SWIG_As_bool(obj2
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 (arg1
)->EnableScrolling(arg2
,arg3
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 Py_INCREF(Py_None
); resultobj
= Py_None
;
2139 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2142 int *arg2
= (int *) 0 ;
2143 int *arg3
= (int *) 0 ;
2148 PyObject
* obj0
= 0 ;
2150 (char *) "self", NULL
2153 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2154 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2167 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2168 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2169 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2176 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2182 PyObject
* obj1
= 0 ;
2183 PyObject
* obj2
= 0 ;
2185 (char *) "self",(char *) "xs",(char *) "ys", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 arg2
= (double)SWIG_As_double(obj1
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2193 arg3
= (double)SWIG_As_double(obj2
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 (arg1
)->SetScale(arg2
,arg3
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2228 resultobj
= SWIG_From_double((double)result
);
2235 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2239 PyObject
* obj0
= 0 ;
2241 (char *) "self", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= SWIG_From_double((double)result
);
2261 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2262 PyObject
*resultobj
;
2263 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2285 wxPoint
* resultptr
;
2286 resultptr
= new wxPoint((wxPoint
&) result
);
2287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2295 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2296 PyObject
*resultobj
;
2297 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2300 int *arg4
= (int *) 0 ;
2301 int *arg5
= (int *) 0 ;
2306 PyObject
* obj0
= 0 ;
2307 PyObject
* obj1
= 0 ;
2308 PyObject
* obj2
= 0 ;
2310 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2311 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2312 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 arg2
= (int)SWIG_As_int(obj1
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2317 arg3
= (int)SWIG_As_int(obj2
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 Py_INCREF(Py_None
); resultobj
= Py_None
;
2327 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2328 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2329 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2330 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2337 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2342 argc
= PyObject_Length(args
);
2343 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2344 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2350 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2359 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2362 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2370 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2378 _v
= SWIG_Check_int(argv
[1]);
2380 _v
= SWIG_Check_int(argv
[2]);
2382 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2388 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2393 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2394 PyObject
*resultobj
;
2395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2400 PyObject
* obj1
= 0 ;
2402 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2417 wxPoint
* resultptr
;
2418 resultptr
= new wxPoint((wxPoint
&) result
);
2419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2427 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2428 PyObject
*resultobj
;
2429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2432 int *arg4
= (int *) 0 ;
2433 int *arg5
= (int *) 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2440 PyObject
* obj2
= 0 ;
2442 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2443 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2444 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 arg2
= (int)SWIG_As_int(obj1
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2449 arg3
= (int)SWIG_As_int(obj2
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2459 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2460 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2461 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2462 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2469 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2474 argc
= PyObject_Length(args
);
2475 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2476 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2482 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2491 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2494 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2510 _v
= SWIG_Check_int(argv
[1]);
2512 _v
= SWIG_Check_int(argv
[2]);
2514 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2520 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2525 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2530 (char *) "self", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 (arg1
)->AdjustScrollbars();
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 Py_INCREF(Py_None
); resultobj
= Py_None
;
2550 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2553 wxScrollWinEvent
*arg2
= 0 ;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 (char *) "self",(char *) "event", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2568 PyErr_SetString(PyExc_TypeError
,"null reference");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 resultobj
= SWIG_From_int((int)result
);
2585 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2588 wxWindow
*arg2
= (wxWindow
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2592 (char *) "self",(char *) "target", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 (arg1
)->SetTargetWindow(arg2
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 Py_INCREF(Py_None
); resultobj
= Py_None
;
2614 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "self", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= wxPyMake_wxObject(result
, 0);
2642 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "self",(char *) "dc", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2659 PyErr_SetString(PyExc_TypeError
,"null reference");
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 (arg1
)->DoPrepareDC(*arg2
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 Py_INCREF(Py_None
); resultobj
= Py_None
;
2676 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2678 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2679 wxVisualAttributes result
;
2680 PyObject
* obj0
= 0 ;
2682 (char *) "variant", NULL
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2687 arg1
= (int)SWIG_As_int(obj0
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2691 if (!wxPyCheckForApp()) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 wxVisualAttributes
* resultptr
;
2700 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2709 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2712 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2714 return Py_BuildValue((char *)"");
2716 static int _wrap_FrameNameStr_set(PyObject
*) {
2717 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2722 static PyObject
*_wrap_FrameNameStr_get() {
2727 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2729 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2736 static int _wrap_DialogNameStr_set(PyObject
*) {
2737 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2742 static PyObject
*_wrap_DialogNameStr_get() {
2747 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2749 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2756 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2757 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2762 static PyObject
*_wrap_StatusLineNameStr_get() {
2767 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2769 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2776 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2777 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2782 static PyObject
*_wrap_ToolBarNameStr_get() {
2787 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2789 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2796 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2799 bool arg2
= (bool) True
;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2803 (char *) "self",(char *) "maximize", NULL
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2810 arg2
= (bool)SWIG_As_bool(obj1
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 (arg1
)->Maximize(arg2
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2820 Py_INCREF(Py_None
); resultobj
= Py_None
;
2827 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2829 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2830 PyObject
* obj0
= 0 ;
2832 (char *) "self", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 Py_INCREF(Py_None
); resultobj
= Py_None
;
2852 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2855 bool arg2
= (bool) True
;
2856 PyObject
* obj0
= 0 ;
2857 PyObject
* obj1
= 0 ;
2859 (char *) "self",(char *) "iconize", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2866 arg2
= (bool)SWIG_As_bool(obj1
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 (arg1
)->Iconize(arg2
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 Py_INCREF(Py_None
); resultobj
= Py_None
;
2883 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2887 PyObject
* obj0
= 0 ;
2889 (char *) "self", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2911 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2915 PyObject
* obj0
= 0 ;
2917 (char *) "self", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2939 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2943 PyObject
* obj0
= 0 ;
2945 (char *) "self", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2960 resultptr
= new wxIcon((wxIcon
&) result
);
2961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2969 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
*resultobj
;
2971 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2976 (char *) "self",(char *) "icon", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2986 PyErr_SetString(PyExc_TypeError
,"null reference");
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2996 Py_INCREF(Py_None
); resultobj
= Py_None
;
3003 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3006 wxIconBundle
*arg2
= 0 ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "icons", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3020 PyErr_SetString(PyExc_TypeError
,"null reference");
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3030 Py_INCREF(Py_None
); resultobj
= Py_None
;
3037 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
;
3039 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3041 long arg3
= (long) wxFULLSCREEN_ALL
;
3043 PyObject
* obj0
= 0 ;
3044 PyObject
* obj1
= 0 ;
3045 PyObject
* obj2
= 0 ;
3047 (char *) "self",(char *) "show",(char *) "style", NULL
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3053 arg2
= (bool)SWIG_As_bool(obj1
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3056 arg3
= (long)SWIG_As_long(obj2
);
3057 if (PyErr_Occurred()) SWIG_fail
;
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3075 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3081 (char *) "self", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3103 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3106 wxString
*arg2
= 0 ;
3107 bool temp2
= False
;
3108 PyObject
* obj0
= 0 ;
3109 PyObject
* obj1
= 0 ;
3111 (char *) "self",(char *) "title", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3118 arg2
= wxString_in_helper(obj1
);
3119 if (arg2
== NULL
) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 (arg1
)->SetTitle((wxString
const &)*arg2
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3129 Py_INCREF(Py_None
); resultobj
= Py_None
;
3144 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3176 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
*resultobj
;
3178 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3179 wxRegion
*arg2
= 0 ;
3181 PyObject
* obj0
= 0 ;
3182 PyObject
* obj1
= 0 ;
3184 (char *) "self",(char *) "region", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3194 PyErr_SetString(PyExc_TypeError
,"null reference");
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3213 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3216 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3217 PyObject
* obj0
= 0 ;
3218 PyObject
* obj1
= 0 ;
3220 (char *) "self",(char *) "flags", NULL
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3227 arg2
= (int)SWIG_As_int(obj1
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 (arg1
)->RequestUserAttention(arg2
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3237 Py_INCREF(Py_None
); resultobj
= Py_None
;
3244 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3247 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3249 return Py_BuildValue((char *)"");
3251 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxWindow
*arg1
= (wxWindow
*) 0 ;
3254 int arg2
= (int) (int)-1 ;
3255 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3261 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3262 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3263 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3265 bool temp3
= False
;
3268 bool temp7
= False
;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3271 PyObject
* obj2
= 0 ;
3272 PyObject
* obj3
= 0 ;
3273 PyObject
* obj4
= 0 ;
3274 PyObject
* obj5
= 0 ;
3275 PyObject
* obj6
= 0 ;
3277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3284 arg2
= (int)SWIG_As_int(obj1
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3289 arg3
= wxString_in_helper(obj2
);
3290 if (arg3
== NULL
) SWIG_fail
;
3297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3307 arg6
= (long)SWIG_As_long(obj5
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3312 arg7
= wxString_in_helper(obj6
);
3313 if (arg7
== NULL
) SWIG_fail
;
3318 if (!wxPyCheckForApp()) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3348 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3357 if (!wxPyCheckForApp()) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 result
= (wxFrame
*)new wxFrame();
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3371 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxFrame
*arg1
= (wxFrame
*) 0 ;
3374 wxWindow
*arg2
= (wxWindow
*) 0 ;
3375 int arg3
= (int) (int)-1 ;
3376 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3377 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3378 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3379 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3380 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3381 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3382 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3383 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3386 bool temp4
= False
;
3389 bool temp8
= False
;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3392 PyObject
* obj2
= 0 ;
3393 PyObject
* obj3
= 0 ;
3394 PyObject
* obj4
= 0 ;
3395 PyObject
* obj5
= 0 ;
3396 PyObject
* obj6
= 0 ;
3397 PyObject
* obj7
= 0 ;
3399 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 arg3
= (int)SWIG_As_int(obj2
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3413 arg4
= wxString_in_helper(obj3
);
3414 if (arg4
== NULL
) SWIG_fail
;
3421 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3427 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3431 arg7
= (long)SWIG_As_long(obj6
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3436 arg8
= wxString_in_helper(obj7
);
3437 if (arg8
== NULL
) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3473 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3475 wxFrame
*arg1
= (wxFrame
*) 0 ;
3477 PyObject
* obj0
= 0 ;
3479 (char *) "self", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3493 wxPoint
* resultptr
;
3494 resultptr
= new wxPoint((wxPoint
&) result
);
3495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3503 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxFrame
*arg1
= (wxFrame
*) 0 ;
3506 PyObject
* obj0
= 0 ;
3508 (char *) "self", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 (arg1
)->SendSizeEvent();
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 Py_INCREF(Py_None
); resultobj
= Py_None
;
3528 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxFrame
*arg1
= (wxFrame
*) 0 ;
3531 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3533 PyObject
* obj1
= 0 ;
3535 (char *) "self",(char *) "menubar", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 (arg1
)->SetMenuBar(arg2
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 Py_INCREF(Py_None
); resultobj
= Py_None
;
3557 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxFrame
*arg1
= (wxFrame
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3563 (char *) "self", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= wxPyMake_wxObject(result
, 0);
3585 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
;
3587 wxFrame
*arg1
= (wxFrame
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3591 PyObject
* obj1
= 0 ;
3593 (char *) "self",(char *) "winid", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 arg2
= (int)SWIG_As_int(obj1
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3617 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxFrame
*arg1
= (wxFrame
*) 0 ;
3620 int arg2
= (int) 1 ;
3621 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3622 int arg4
= (int) 0 ;
3623 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3624 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3625 wxStatusBar
*result
;
3626 bool temp5
= False
;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3629 PyObject
* obj2
= 0 ;
3630 PyObject
* obj3
= 0 ;
3631 PyObject
* obj4
= 0 ;
3633 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3640 arg2
= (int)SWIG_As_int(obj1
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 arg3
= (long)SWIG_As_long(obj2
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 arg4
= (int)SWIG_As_int(obj3
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3653 arg5
= wxString_in_helper(obj4
);
3654 if (arg5
== NULL
) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= wxPyMake_wxObject(result
, 0);
3682 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxFrame
*arg1
= (wxFrame
*) 0 ;
3685 wxStatusBar
*result
;
3686 PyObject
* obj0
= 0 ;
3688 (char *) "self", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= wxPyMake_wxObject(result
, 0);
3710 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxFrame
*arg1
= (wxFrame
*) 0 ;
3713 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3717 (char *) "self",(char *) "statBar", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 (arg1
)->SetStatusBar(arg2
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 Py_INCREF(Py_None
); resultobj
= Py_None
;
3739 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxFrame
*arg1
= (wxFrame
*) 0 ;
3742 wxString
*arg2
= 0 ;
3743 int arg3
= (int) 0 ;
3744 bool temp2
= False
;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3747 PyObject
* obj2
= 0 ;
3749 (char *) "self",(char *) "text",(char *) "number", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 arg2
= wxString_in_helper(obj1
);
3757 if (arg2
== NULL
) SWIG_fail
;
3761 arg3
= (int)SWIG_As_int(obj2
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3786 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxFrame
*arg1
= (wxFrame
*) 0 ;
3790 int *arg3
= (int *) 0 ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3794 (char *) "self",(char *) "widths", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3801 arg2
= PyList_Size(obj1
);
3802 arg3
= int_LIST_helper(obj1
);
3803 if (arg3
== NULL
) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3812 Py_INCREF(Py_None
); resultobj
= Py_None
;
3814 if (arg3
) delete [] arg3
;
3819 if (arg3
) delete [] arg3
;
3825 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxFrame
*arg1
= (wxFrame
*) 0 ;
3828 wxString
*arg2
= 0 ;
3829 int arg3
= (int) 0 ;
3830 bool temp2
= False
;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3833 PyObject
* obj2
= 0 ;
3835 (char *) "self",(char *) "text",(char *) "number", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3842 arg2
= wxString_in_helper(obj1
);
3843 if (arg2
== NULL
) SWIG_fail
;
3847 arg3
= (int)SWIG_As_int(obj2
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3872 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxFrame
*arg1
= (wxFrame
*) 0 ;
3875 int arg2
= (int) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "number", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3886 arg2
= (int)SWIG_As_int(obj1
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->PopStatusText(arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxFrame
*arg1
= (wxFrame
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3908 PyObject
* obj1
= 0 ;
3910 (char *) "self",(char *) "n", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3916 arg2
= (int)SWIG_As_int(obj1
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 (arg1
)->SetStatusBarPane(arg2
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 Py_INCREF(Py_None
); resultobj
= Py_None
;
3932 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxFrame
*arg1
= (wxFrame
*) 0 ;
3936 PyObject
* obj0
= 0 ;
3938 (char *) "self", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= SWIG_From_int((int)result
);
3958 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxFrame
*arg1
= (wxFrame
*) 0 ;
3961 long arg2
= (long) -1 ;
3962 int arg3
= (int) -1 ;
3963 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3964 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3966 bool temp4
= False
;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3969 PyObject
* obj2
= 0 ;
3970 PyObject
* obj3
= 0 ;
3972 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 arg2
= (long)SWIG_As_long(obj1
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3983 arg3
= (int)SWIG_As_int(obj2
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3988 arg4
= wxString_in_helper(obj3
);
3989 if (arg4
== NULL
) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4001 resultobj
= wxPyMake_wxObject(result
, 0);
4017 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxFrame
*arg1
= (wxFrame
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4023 (char *) "self", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= wxPyMake_wxObject(result
, 0);
4045 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxFrame
*arg1
= (wxFrame
*) 0 ;
4048 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4052 (char *) "self",(char *) "toolbar", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 (arg1
)->SetToolBar(arg2
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 Py_INCREF(Py_None
); resultobj
= Py_None
;
4074 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxFrame
*arg1
= (wxFrame
*) 0 ;
4077 wxString
*arg2
= 0 ;
4079 bool temp2
= False
;
4080 PyObject
* obj0
= 0 ;
4081 PyObject
* obj1
= 0 ;
4082 PyObject
* obj2
= 0 ;
4084 (char *) "self",(char *) "text",(char *) "show", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 arg2
= wxString_in_helper(obj1
);
4092 if (arg2
== NULL
) SWIG_fail
;
4095 arg3
= (bool)SWIG_As_bool(obj2
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 Py_INCREF(Py_None
); resultobj
= Py_None
;
4119 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4121 wxFrame
*arg1
= (wxFrame
*) 0 ;
4122 wxMenu
*arg2
= (wxMenu
*) NULL
;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4126 (char *) "self",(char *) "menu", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 (arg1
)->DoMenuUpdates(arg2
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 Py_INCREF(Py_None
); resultobj
= Py_None
;
4150 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4153 wxVisualAttributes result
;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "variant", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4161 arg1
= (int)SWIG_As_int(obj0
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4165 if (!wxPyCheckForApp()) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4173 wxVisualAttributes
* resultptr
;
4174 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4183 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4186 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4188 return Py_BuildValue((char *)"");
4190 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxWindow
*arg1
= (wxWindow
*) 0 ;
4193 int arg2
= (int) (int)-1 ;
4194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4196 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4197 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4198 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4199 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4200 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4201 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4202 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4204 bool temp3
= False
;
4207 bool temp7
= False
;
4208 PyObject
* obj0
= 0 ;
4209 PyObject
* obj1
= 0 ;
4210 PyObject
* obj2
= 0 ;
4211 PyObject
* obj3
= 0 ;
4212 PyObject
* obj4
= 0 ;
4213 PyObject
* obj5
= 0 ;
4214 PyObject
* obj6
= 0 ;
4216 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 arg2
= (int)SWIG_As_int(obj1
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4228 arg3
= wxString_in_helper(obj2
);
4229 if (arg3
== NULL
) SWIG_fail
;
4236 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4242 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4246 arg6
= (long)SWIG_As_long(obj5
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4251 arg7
= wxString_in_helper(obj6
);
4252 if (arg7
== NULL
) SWIG_fail
;
4257 if (!wxPyCheckForApp()) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4287 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4296 if (!wxPyCheckForApp()) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (wxDialog
*)new wxDialog();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4310 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxDialog
*arg1
= (wxDialog
*) 0 ;
4313 wxWindow
*arg2
= (wxWindow
*) 0 ;
4314 int arg3
= (int) (int)-1 ;
4315 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4316 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4321 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4322 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4325 bool temp4
= False
;
4328 bool temp8
= False
;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4331 PyObject
* obj2
= 0 ;
4332 PyObject
* obj3
= 0 ;
4333 PyObject
* obj4
= 0 ;
4334 PyObject
* obj5
= 0 ;
4335 PyObject
* obj6
= 0 ;
4336 PyObject
* obj7
= 0 ;
4338 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4347 arg3
= (int)SWIG_As_int(obj2
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4352 arg4
= wxString_in_helper(obj3
);
4353 if (arg4
== NULL
) SWIG_fail
;
4360 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4366 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4370 arg7
= (long)SWIG_As_long(obj6
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4375 arg8
= wxString_in_helper(obj7
);
4376 if (arg8
== NULL
) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4412 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxDialog
*arg1
= (wxDialog
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4419 (char *) "self",(char *) "returnCode", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 arg2
= (int)SWIG_As_int(obj1
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetReturnCode(arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxDialog
*arg1
= (wxDialog
*) 0 ;
4445 PyObject
* obj0
= 0 ;
4447 (char *) "self", NULL
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= SWIG_From_int((int)result
);
4467 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
;
4469 wxDialog
*arg1
= (wxDialog
*) 0 ;
4470 wxString
*arg2
= 0 ;
4472 bool temp2
= False
;
4473 PyObject
* obj0
= 0 ;
4474 PyObject
* obj1
= 0 ;
4476 (char *) "self",(char *) "message", NULL
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4483 arg2
= wxString_in_helper(obj1
);
4484 if (arg2
== NULL
) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= wxPyMake_wxSizer(result
, 0);
4511 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxDialog
*arg1
= (wxDialog
*) 0 ;
4516 PyObject
* obj0
= 0 ;
4517 PyObject
* obj1
= 0 ;
4519 (char *) "self",(char *) "flags", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4525 arg2
= (long)SWIG_As_long(obj1
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= wxPyMake_wxSizer(result
, 0);
4543 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxDialog
*arg1
= (wxDialog
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4549 (char *) "self", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4571 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxDialog
*arg1
= (wxDialog
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4577 (char *) "self", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= (int)(arg1
)->ShowModal();
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= SWIG_From_int((int)result
);
4597 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxDialog
*arg1
= (wxDialog
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4604 (char *) "self",(char *) "retCode", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 arg2
= (int)SWIG_As_int(obj1
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 (arg1
)->EndModal(arg2
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 Py_INCREF(Py_None
); resultobj
= Py_None
;
4626 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4629 wxVisualAttributes result
;
4630 PyObject
* obj0
= 0 ;
4632 (char *) "variant", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4637 arg1
= (int)SWIG_As_int(obj0
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 if (!wxPyCheckForApp()) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4649 wxVisualAttributes
* resultptr
;
4650 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4659 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4662 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4664 return Py_BuildValue((char *)"");
4666 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxWindow
*arg1
= (wxWindow
*) 0 ;
4669 int arg2
= (int) (int)-1 ;
4670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4672 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4674 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4675 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4676 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4677 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4678 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4679 wxMiniFrame
*result
;
4680 bool temp3
= False
;
4683 bool temp7
= False
;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj1
= 0 ;
4686 PyObject
* obj2
= 0 ;
4687 PyObject
* obj3
= 0 ;
4688 PyObject
* obj4
= 0 ;
4689 PyObject
* obj5
= 0 ;
4690 PyObject
* obj6
= 0 ;
4692 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4699 arg2
= (int)SWIG_As_int(obj1
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4704 arg3
= wxString_in_helper(obj2
);
4705 if (arg3
== NULL
) SWIG_fail
;
4712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4722 arg6
= (long)SWIG_As_long(obj5
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4727 arg7
= wxString_in_helper(obj6
);
4728 if (arg7
== NULL
) SWIG_fail
;
4733 if (!wxPyCheckForApp()) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4763 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxMiniFrame
*result
;
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4772 if (!wxPyCheckForApp()) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (wxMiniFrame
*)new wxMiniFrame();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4786 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4789 wxWindow
*arg2
= (wxWindow
*) 0 ;
4790 int arg3
= (int) (int)-1 ;
4791 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4792 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4793 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4794 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4795 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4796 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4797 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4798 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4799 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4801 bool temp4
= False
;
4804 bool temp8
= False
;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4807 PyObject
* obj2
= 0 ;
4808 PyObject
* obj3
= 0 ;
4809 PyObject
* obj4
= 0 ;
4810 PyObject
* obj5
= 0 ;
4811 PyObject
* obj6
= 0 ;
4812 PyObject
* obj7
= 0 ;
4814 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4823 arg3
= (int)SWIG_As_int(obj2
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4828 arg4
= wxString_in_helper(obj3
);
4829 if (arg4
== NULL
) SWIG_fail
;
4836 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4842 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4846 arg7
= (long)SWIG_As_long(obj6
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4851 arg8
= wxString_in_helper(obj7
);
4852 if (arg8
== NULL
) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4888 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4891 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4893 return Py_BuildValue((char *)"");
4895 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxBitmap
*arg1
= 0 ;
4898 wxWindow
*arg2
= (wxWindow
*) 0 ;
4900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4904 long arg6
= (long) wxNO_BORDER
;
4905 wxSplashScreenWindow
*result
;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4910 PyObject
* obj2
= 0 ;
4911 PyObject
* obj3
= 0 ;
4912 PyObject
* obj4
= 0 ;
4913 PyObject
* obj5
= 0 ;
4915 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4923 PyErr_SetString(PyExc_TypeError
,"null reference");
4926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 arg3
= (int)SWIG_As_int(obj2
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4933 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4939 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4943 arg6
= (long)SWIG_As_long(obj5
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4947 if (!wxPyCheckForApp()) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4961 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4964 wxBitmap
*arg2
= 0 ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4968 (char *) "self",(char *) "bitmap", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4978 PyErr_SetString(PyExc_TypeError
,"null reference");
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 Py_INCREF(Py_None
); resultobj
= Py_None
;
4995 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "self", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5011 result
= (wxBitmap
*) &_result_ref
;
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 wxBitmap
* resultptr
= new wxBitmap(*result
);
5019 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5027 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5030 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5032 return Py_BuildValue((char *)"");
5034 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
;
5036 wxBitmap
*arg1
= 0 ;
5039 wxWindow
*arg4
= (wxWindow
*) 0 ;
5040 int arg5
= (int) -1 ;
5041 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5042 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5043 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5044 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5045 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5046 wxSplashScreen
*result
;
5049 PyObject
* obj0
= 0 ;
5050 PyObject
* obj1
= 0 ;
5051 PyObject
* obj2
= 0 ;
5052 PyObject
* obj3
= 0 ;
5053 PyObject
* obj4
= 0 ;
5054 PyObject
* obj5
= 0 ;
5055 PyObject
* obj6
= 0 ;
5056 PyObject
* obj7
= 0 ;
5058 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5066 PyErr_SetString(PyExc_TypeError
,"null reference");
5069 arg2
= (long)SWIG_As_long(obj1
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5071 arg3
= (int)SWIG_As_int(obj2
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5073 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5076 arg5
= (int)SWIG_As_int(obj4
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5082 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5088 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5092 arg8
= (long)SWIG_As_long(obj7
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5096 if (!wxPyCheckForApp()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5110 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= SWIG_From_long((long)result
);
5136 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5139 wxSplashScreenWindow
*result
;
5140 PyObject
* obj0
= 0 ;
5142 (char *) "self", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5162 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
*resultobj
;
5164 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5166 PyObject
* obj0
= 0 ;
5168 (char *) "self", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_From_int((int)result
);
5188 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5191 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5193 return Py_BuildValue((char *)"");
5195 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxWindow
*arg1
= (wxWindow
*) 0 ;
5198 int arg2
= (int) -1 ;
5199 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5200 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5202 wxStatusBar
*result
;
5203 bool temp4
= False
;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 PyObject
* obj2
= 0 ;
5207 PyObject
* obj3
= 0 ;
5209 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5216 arg2
= (int)SWIG_As_int(obj1
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5220 arg3
= (long)SWIG_As_long(obj2
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5225 arg4
= wxString_in_helper(obj3
);
5226 if (arg4
== NULL
) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5253 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxStatusBar
*result
;
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5262 if (!wxPyCheckForApp()) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (wxStatusBar
*)new wxStatusBar();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5276 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5279 wxWindow
*arg2
= (wxWindow
*) 0 ;
5280 int arg3
= (int) -1 ;
5281 long arg4
= (long) wxST_SIZEGRIP
;
5282 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5283 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5285 bool temp5
= False
;
5286 PyObject
* obj0
= 0 ;
5287 PyObject
* obj1
= 0 ;
5288 PyObject
* obj2
= 0 ;
5289 PyObject
* obj3
= 0 ;
5290 PyObject
* obj4
= 0 ;
5292 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 arg3
= (int)SWIG_As_int(obj2
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5305 arg4
= (long)SWIG_As_long(obj3
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5310 arg5
= wxString_in_helper(obj4
);
5311 if (arg5
== NULL
) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5339 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5342 int arg2
= (int) 1 ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5346 (char *) "self",(char *) "number", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 arg2
= (int)SWIG_As_int(obj1
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 (arg1
)->SetFieldsCount(arg2
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 Py_INCREF(Py_None
); resultobj
= Py_None
;
5370 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5374 PyObject
* obj0
= 0 ;
5376 (char *) "self", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= SWIG_From_int((int)result
);
5396 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5399 wxString
*arg2
= 0 ;
5400 int arg3
= (int) 0 ;
5401 bool temp2
= False
;
5402 PyObject
* obj0
= 0 ;
5403 PyObject
* obj1
= 0 ;
5404 PyObject
* obj2
= 0 ;
5406 (char *) "self",(char *) "text",(char *) "number", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5413 arg2
= wxString_in_helper(obj1
);
5414 if (arg2
== NULL
) SWIG_fail
;
5418 arg3
= (int)SWIG_As_int(obj2
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5446 int arg2
= (int) 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5451 (char *) "self",(char *) "number", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5458 arg2
= (int)SWIG_As_int(obj1
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5481 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5484 wxString
*arg2
= 0 ;
5485 int arg3
= (int) 0 ;
5486 bool temp2
= False
;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5489 PyObject
* obj2
= 0 ;
5491 (char *) "self",(char *) "text",(char *) "number", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 arg2
= wxString_in_helper(obj1
);
5499 if (arg2
== NULL
) SWIG_fail
;
5503 arg3
= (int)SWIG_As_int(obj2
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5531 int arg2
= (int) 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5535 (char *) "self",(char *) "number", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 arg2
= (int)SWIG_As_int(obj1
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 (arg1
)->PopStatusText(arg2
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 Py_INCREF(Py_None
); resultobj
= Py_None
;
5559 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5563 int *arg3
= (int *) 0 ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "widths", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 arg2
= PyList_Size(obj1
);
5575 arg3
= int_LIST_helper(obj1
);
5576 if (arg3
== NULL
) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 if (arg3
) delete [] arg3
;
5592 if (arg3
) delete [] arg3
;
5598 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5602 int *arg3
= (int *) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "styles", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5613 arg2
= PyList_Size(obj1
);
5614 arg3
= int_LIST_helper(obj1
);
5615 if (arg3
== NULL
) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 if (arg3
) delete [] arg3
;
5631 if (arg3
) delete [] arg3
;
5637 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5645 (char *) "self",(char *) "i", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5651 arg2
= (int)SWIG_As_int(obj1
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5662 resultptr
= new wxRect((wxRect
&) result
);
5663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5671 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "self",(char *) "height", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 arg2
= (int)SWIG_As_int(obj1
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 (arg1
)->SetMinHeight(arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 Py_INCREF(Py_None
); resultobj
= Py_None
;
5700 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5704 PyObject
* obj0
= 0 ;
5706 (char *) "self", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= SWIG_From_int((int)result
);
5726 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5732 (char *) "self", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= SWIG_From_int((int)result
);
5752 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5755 wxVisualAttributes result
;
5756 PyObject
* obj0
= 0 ;
5758 (char *) "variant", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5763 arg1
= (int)SWIG_As_int(obj0
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5767 if (!wxPyCheckForApp()) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5775 wxVisualAttributes
* resultptr
;
5776 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5785 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5788 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5790 return Py_BuildValue((char *)"");
5792 static int _wrap_SplitterNameStr_set(PyObject
*) {
5793 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5798 static PyObject
*_wrap_SplitterNameStr_get() {
5803 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5805 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5812 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxWindow
*arg1
= (wxWindow
*) 0 ;
5815 int arg2
= (int) -1 ;
5816 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5817 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5818 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5819 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5820 long arg5
= (long) wxSP_3D
;
5821 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5822 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5823 wxSplitterWindow
*result
;
5826 bool temp6
= False
;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 PyObject
* obj2
= 0 ;
5830 PyObject
* obj3
= 0 ;
5831 PyObject
* obj4
= 0 ;
5832 PyObject
* obj5
= 0 ;
5834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5841 arg2
= (int)SWIG_As_int(obj1
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5853 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5857 arg5
= (long)SWIG_As_long(obj4
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5862 arg6
= wxString_in_helper(obj5
);
5863 if (arg6
== NULL
) SWIG_fail
;
5868 if (!wxPyCheckForApp()) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5890 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxSplitterWindow
*result
;
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5899 if (!wxPyCheckForApp()) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5913 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5916 wxWindow
*arg2
= (wxWindow
*) 0 ;
5917 int arg3
= (int) -1 ;
5918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5922 long arg6
= (long) wxSP_3D
;
5923 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5924 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5928 bool temp7
= False
;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 PyObject
* obj2
= 0 ;
5932 PyObject
* obj3
= 0 ;
5933 PyObject
* obj4
= 0 ;
5934 PyObject
* obj5
= 0 ;
5935 PyObject
* obj6
= 0 ;
5937 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5946 arg3
= (int)SWIG_As_int(obj2
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5962 arg6
= (long)SWIG_As_long(obj5
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5967 arg7
= wxString_in_helper(obj6
);
5968 if (arg7
== NULL
) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5996 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6002 (char *) "self", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= wxPyMake_wxObject(result
, 0);
6024 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "self", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= wxPyMake_wxObject(result
, 0);
6052 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6059 (char *) "self",(char *) "mode", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6065 arg2
= (int)SWIG_As_int(obj1
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 (arg1
)->SetSplitMode(arg2
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 Py_INCREF(Py_None
); resultobj
= Py_None
;
6081 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6085 PyObject
* obj0
= 0 ;
6087 (char *) "self", NULL
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_From_int((int)result
);
6107 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
;
6109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6110 wxWindow
*arg2
= (wxWindow
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6114 (char *) "self",(char *) "window", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 (arg1
)->Initialize(arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 Py_INCREF(Py_None
); resultobj
= Py_None
;
6136 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6139 wxWindow
*arg2
= (wxWindow
*) 0 ;
6140 wxWindow
*arg3
= (wxWindow
*) 0 ;
6141 int arg4
= (int) 0 ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 PyObject
* obj2
= 0 ;
6146 PyObject
* obj3
= 0 ;
6148 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6159 arg4
= (int)SWIG_As_int(obj3
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6178 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6181 wxWindow
*arg2
= (wxWindow
*) 0 ;
6182 wxWindow
*arg3
= (wxWindow
*) 0 ;
6183 int arg4
= (int) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6187 PyObject
* obj2
= 0 ;
6188 PyObject
* obj3
= 0 ;
6190 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6198 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 arg4
= (int)SWIG_As_int(obj3
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6220 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6223 wxWindow
*arg2
= (wxWindow
*) NULL
;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "toRemove", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->Unsplit(arg2
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6254 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6257 wxWindow
*arg2
= (wxWindow
*) 0 ;
6258 wxWindow
*arg3
= (wxWindow
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 PyObject
* obj2
= 0 ;
6264 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6290 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6295 (char *) "self", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 (arg1
)->UpdateSize();
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 Py_INCREF(Py_None
); resultobj
= Py_None
;
6315 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6321 (char *) "self", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6343 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6350 (char *) "self",(char *) "width", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6356 arg2
= (int)SWIG_As_int(obj1
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 (arg1
)->SetSashSize(arg2
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 Py_INCREF(Py_None
); resultobj
= Py_None
;
6372 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6379 (char *) "self",(char *) "width", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6385 arg2
= (int)SWIG_As_int(obj1
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetBorderSize(arg2
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 Py_INCREF(Py_None
); resultobj
= Py_None
;
6401 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_From_int((int)result
);
6427 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6433 (char *) "self", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_From_int((int)result
);
6453 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6457 bool arg3
= (bool) True
;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6460 PyObject
* obj2
= 0 ;
6462 (char *) "self",(char *) "position",(char *) "redraw", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6468 arg2
= (int)SWIG_As_int(obj1
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 arg3
= (bool)SWIG_As_bool(obj2
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 (arg1
)->SetSashPosition(arg2
,arg3
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 Py_INCREF(Py_None
); resultobj
= Py_None
;
6488 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6492 PyObject
* obj0
= 0 ;
6494 (char *) "self", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_From_int((int)result
);
6514 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6519 PyObject
* obj1
= 0 ;
6521 (char *) "self",(char *) "min", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6527 arg2
= (int)SWIG_As_int(obj1
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 (arg1
)->SetMinimumPaneSize(arg2
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 Py_INCREF(Py_None
); resultobj
= Py_None
;
6543 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6549 (char *) "self", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_From_int((int)result
);
6569 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6574 int arg4
= (int) 5 ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6579 PyObject
* obj3
= 0 ;
6581 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 arg2
= (int)SWIG_As_int(obj1
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6589 arg3
= (int)SWIG_As_int(obj2
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 arg4
= (int)SWIG_As_int(obj3
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6611 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6614 PyObject
* obj0
= 0 ;
6616 (char *) "self", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",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 (arg1
)->SizeWindows();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6636 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6643 (char *) "self",(char *) "needUpdating", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 arg2
= (bool)SWIG_As_bool(obj1
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 (arg1
)->SetNeedUpdating(arg2
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 Py_INCREF(Py_None
); resultobj
= Py_None
;
6665 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6693 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6696 wxVisualAttributes result
;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "variant", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6704 arg1
= (int)SWIG_As_int(obj0
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6716 wxVisualAttributes
* resultptr
;
6717 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6726 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6729 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6731 return Py_BuildValue((char *)"");
6733 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6736 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6737 wxSplitterEvent
*result
;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6741 (char *) "type",(char *) "splitter", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6746 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6767 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6769 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6774 (char *) "self",(char *) "pos", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6780 arg2
= (int)SWIG_As_int(obj1
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 (arg1
)->SetSashPosition(arg2
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 Py_INCREF(Py_None
); resultobj
= Py_None
;
6796 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6800 PyObject
* obj0
= 0 ;
6802 (char *) "self", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_From_int((int)result
);
6822 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6826 PyObject
* obj0
= 0 ;
6828 (char *) "self", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= wxPyMake_wxObject(result
, 0);
6850 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
;
6852 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6854 PyObject
* obj0
= 0 ;
6856 (char *) "self", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_From_int((int)result
);
6876 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6882 (char *) "self", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= SWIG_From_int((int)result
);
6902 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6905 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6907 return Py_BuildValue((char *)"");
6909 static int _wrap_SashNameStr_set(PyObject
*) {
6910 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6915 static PyObject
*_wrap_SashNameStr_get() {
6920 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6922 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6929 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6930 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6935 static PyObject
*_wrap_SashLayoutNameStr_get() {
6940 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6942 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6949 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxWindow
*arg1
= (wxWindow
*) 0 ;
6952 int arg2
= (int) -1 ;
6953 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6954 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6955 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6956 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6957 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6958 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6959 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6960 wxSashWindow
*result
;
6963 bool temp6
= False
;
6964 PyObject
* obj0
= 0 ;
6965 PyObject
* obj1
= 0 ;
6966 PyObject
* obj2
= 0 ;
6967 PyObject
* obj3
= 0 ;
6968 PyObject
* obj4
= 0 ;
6969 PyObject
* obj5
= 0 ;
6971 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6978 arg2
= (int)SWIG_As_int(obj1
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6984 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6990 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6994 arg5
= (long)SWIG_As_long(obj4
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6999 arg6
= wxString_in_helper(obj5
);
7000 if (arg6
== NULL
) SWIG_fail
;
7005 if (!wxPyCheckForApp()) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7027 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxSashWindow
*result
;
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7036 if (!wxPyCheckForApp()) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (wxSashWindow
*)new wxSashWindow();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7050 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7053 wxWindow
*arg2
= (wxWindow
*) 0 ;
7054 int arg3
= (int) -1 ;
7055 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7056 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7057 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7058 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7059 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7060 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7061 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7065 bool temp7
= False
;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7068 PyObject
* obj2
= 0 ;
7069 PyObject
* obj3
= 0 ;
7070 PyObject
* obj4
= 0 ;
7071 PyObject
* obj5
= 0 ;
7072 PyObject
* obj6
= 0 ;
7074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 arg3
= (int)SWIG_As_int(obj2
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7099 arg6
= (long)SWIG_As_long(obj5
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7104 arg7
= wxString_in_helper(obj6
);
7105 if (arg7
== NULL
) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7133 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 PyObject
* obj2
= 0 ;
7142 (char *) "self",(char *) "edge",(char *) "sash", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7148 arg2
= (int)SWIG_As_int(obj1
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7150 arg3
= (bool)SWIG_As_bool(obj2
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7166 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7174 (char *) "self",(char *) "edge", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7180 arg2
= (int)SWIG_As_int(obj1
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7198 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj1
= 0 ;
7205 PyObject
* obj2
= 0 ;
7207 (char *) "self",(char *) "edge",(char *) "border", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7213 arg2
= (int)SWIG_As_int(obj1
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7215 arg3
= (bool)SWIG_As_bool(obj2
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 Py_INCREF(Py_None
); resultobj
= Py_None
;
7231 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7237 PyObject
* obj1
= 0 ;
7239 (char *) "self",(char *) "edge", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7245 arg2
= (int)SWIG_As_int(obj1
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7263 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7271 (char *) "self",(char *) "edge", NULL
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7277 arg2
= (int)SWIG_As_int(obj1
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_From_int((int)result
);
7293 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7298 PyObject
* obj1
= 0 ;
7300 (char *) "self",(char *) "width", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7306 arg2
= (int)SWIG_As_int(obj1
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 (arg1
)->SetDefaultBorderSize(arg2
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7326 PyObject
* obj0
= 0 ;
7328 (char *) "self", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_From_int((int)result
);
7348 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7353 PyObject
* obj1
= 0 ;
7355 (char *) "self",(char *) "width", NULL
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7361 arg2
= (int)SWIG_As_int(obj1
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 (arg1
)->SetExtraBorderSize(arg2
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 Py_INCREF(Py_None
); resultobj
= Py_None
;
7377 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "self", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= SWIG_From_int((int)result
);
7403 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7408 PyObject
* obj1
= 0 ;
7410 (char *) "self",(char *) "min", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7416 arg2
= (int)SWIG_As_int(obj1
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 (arg1
)->SetMinimumSizeX(arg2
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 Py_INCREF(Py_None
); resultobj
= Py_None
;
7432 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7434 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7439 (char *) "self",(char *) "min", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7445 arg2
= (int)SWIG_As_int(obj1
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 (arg1
)->SetMinimumSizeY(arg2
);
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 Py_INCREF(Py_None
); resultobj
= Py_None
;
7461 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
;
7463 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7467 (char *) "self", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_From_int((int)result
);
7487 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7491 PyObject
* obj0
= 0 ;
7493 (char *) "self", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= SWIG_From_int((int)result
);
7513 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7520 (char *) "self",(char *) "max", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7526 arg2
= (int)SWIG_As_int(obj1
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 (arg1
)->SetMaximumSizeX(arg2
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7542 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7549 (char *) "self",(char *) "max", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7555 arg2
= (int)SWIG_As_int(obj1
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 (arg1
)->SetMaximumSizeY(arg2
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 Py_INCREF(Py_None
); resultobj
= Py_None
;
7571 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7575 PyObject
* obj0
= 0 ;
7577 (char *) "self", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 resultobj
= SWIG_From_int((int)result
);
7597 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7601 PyObject
* obj0
= 0 ;
7603 (char *) "self", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_From_int((int)result
);
7623 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7628 int arg4
= (int) 2 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7632 PyObject
* obj2
= 0 ;
7633 PyObject
* obj3
= 0 ;
7635 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7641 arg2
= (int)SWIG_As_int(obj1
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7643 arg3
= (int)SWIG_As_int(obj2
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 arg4
= (int)SWIG_As_int(obj3
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_From_int((int)result
);
7663 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 (arg1
)->SizeWindows();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 Py_INCREF(Py_None
); resultobj
= Py_None
;
7688 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7691 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7693 return Py_BuildValue((char *)"");
7695 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 int arg1
= (int) 0 ;
7698 int arg2
= (int) wxSASH_NONE
;
7699 wxSashEvent
*result
;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7703 (char *) "id",(char *) "edge", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7708 arg1
= (int)SWIG_As_int(obj0
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 arg2
= (int)SWIG_As_int(obj1
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7729 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7734 PyObject
* obj1
= 0 ;
7736 (char *) "self",(char *) "edge", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7742 arg2
= (int)SWIG_As_int(obj1
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 Py_INCREF(Py_None
); resultobj
= Py_None
;
7758 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_From_int((int)result
);
7784 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7792 (char *) "self",(char *) "rect", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7800 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 Py_INCREF(Py_None
); resultobj
= Py_None
;
7816 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
;
7818 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7822 (char *) "self", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7837 resultptr
= new wxRect((wxRect
&) result
);
7838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7846 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7853 (char *) "self",(char *) "status", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7859 arg2
= (int)SWIG_As_int(obj1
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= SWIG_From_int((int)result
);
7901 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7904 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7906 return Py_BuildValue((char *)"");
7908 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 int arg1
= (int) 0 ;
7911 wxQueryLayoutInfoEvent
*result
;
7912 PyObject
* obj0
= 0 ;
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7919 arg1
= (int)SWIG_As_int(obj0
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7936 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7941 PyObject
* obj1
= 0 ;
7943 (char *) "self",(char *) "length", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 arg2
= (int)SWIG_As_int(obj1
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 (arg1
)->SetRequestedLength(arg2
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_From_int((int)result
);
7991 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7995 PyObject
* obj0
= 0 ;
7996 PyObject
* obj1
= 0 ;
7998 (char *) "self",(char *) "flags", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8004 arg2
= (int)SWIG_As_int(obj1
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 (arg1
)->SetFlags(arg2
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 Py_INCREF(Py_None
); resultobj
= Py_None
;
8020 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "self", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_From_int((int)result
);
8046 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8054 (char *) "self",(char *) "size", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->SetSize((wxSize
const &)*arg2
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "self", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8099 resultptr
= new wxSize((wxSize
&) result
);
8100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8108 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8115 (char *) "self",(char *) "orient", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 arg2
= (int)SWIG_As_int(obj1
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "self", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_From_int((int)result
);
8163 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8170 (char *) "self",(char *) "align", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8176 arg2
= (int)SWIG_As_int(obj1
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8196 PyObject
* obj0
= 0 ;
8198 (char *) "self", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= SWIG_From_int((int)result
);
8218 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8221 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8223 return Py_BuildValue((char *)"");
8225 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 int arg1
= (int) 0 ;
8228 wxCalculateLayoutEvent
*result
;
8229 PyObject
* obj0
= 0 ;
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8236 arg1
= (int)SWIG_As_int(obj0
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8253 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8260 (char *) "self",(char *) "flags", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8266 arg2
= (int)SWIG_As_int(obj1
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 (arg1
)->SetFlags(arg2
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 Py_INCREF(Py_None
); resultobj
= Py_None
;
8282 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8286 PyObject
* obj0
= 0 ;
8288 (char *) "self", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= SWIG_From_int((int)result
);
8308 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8316 (char *) "self",(char *) "rect", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 (arg1
)->SetRect((wxRect
const &)*arg2
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 Py_INCREF(Py_None
); resultobj
= Py_None
;
8340 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8344 PyObject
* obj0
= 0 ;
8346 (char *) "self", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8361 resultptr
= new wxRect((wxRect
&) result
);
8362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8370 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8373 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8375 return Py_BuildValue((char *)"");
8377 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxWindow
*arg1
= (wxWindow
*) 0 ;
8380 int arg2
= (int) -1 ;
8381 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8382 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8383 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8384 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8385 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8386 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8387 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8388 wxSashLayoutWindow
*result
;
8391 bool temp6
= False
;
8392 PyObject
* obj0
= 0 ;
8393 PyObject
* obj1
= 0 ;
8394 PyObject
* obj2
= 0 ;
8395 PyObject
* obj3
= 0 ;
8396 PyObject
* obj4
= 0 ;
8397 PyObject
* obj5
= 0 ;
8399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 arg2
= (int)SWIG_As_int(obj1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8412 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8418 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8422 arg5
= (long)SWIG_As_long(obj4
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8427 arg6
= wxString_in_helper(obj5
);
8428 if (arg6
== NULL
) SWIG_fail
;
8433 if (!wxPyCheckForApp()) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8455 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxSashLayoutWindow
*result
;
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8464 if (!wxPyCheckForApp()) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8478 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8481 wxWindow
*arg2
= (wxWindow
*) 0 ;
8482 int arg3
= (int) -1 ;
8483 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8484 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8485 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8486 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8487 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8488 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8489 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8493 bool temp7
= False
;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8496 PyObject
* obj2
= 0 ;
8497 PyObject
* obj3
= 0 ;
8498 PyObject
* obj4
= 0 ;
8499 PyObject
* obj5
= 0 ;
8500 PyObject
* obj6
= 0 ;
8502 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8511 arg3
= (int)SWIG_As_int(obj2
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8527 arg6
= (long)SWIG_As_long(obj5
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8532 arg7
= wxString_in_helper(obj6
);
8533 if (arg7
== NULL
) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8561 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8565 PyObject
* obj0
= 0 ;
8567 (char *) "self", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (int)(arg1
)->GetAlignment();
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_From_int((int)result
);
8587 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8591 PyObject
* obj0
= 0 ;
8593 (char *) "self", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (int)(arg1
)->GetOrientation();
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_From_int((int)result
);
8613 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8620 (char *) "self",(char *) "alignment", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 arg2
= (int)SWIG_As_int(obj1
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 Py_INCREF(Py_None
); resultobj
= Py_None
;
8642 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8650 (char *) "self",(char *) "size", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 Py_INCREF(Py_None
); resultobj
= Py_None
;
8674 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8681 (char *) "self",(char *) "orientation", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 arg2
= (int)SWIG_As_int(obj1
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 Py_INCREF(Py_None
); resultobj
= Py_None
;
8703 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8706 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8708 return Py_BuildValue((char *)"");
8710 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxLayoutAlgorithm
*result
;
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8732 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8735 PyObject
* obj0
= 0 ;
8737 (char *) "self", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8760 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8761 wxRect
*arg3
= (wxRect
*) NULL
;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8765 PyObject
* obj2
= 0 ;
8767 (char *) "self",(char *) "frame",(char *) "rect", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8776 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8795 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8798 wxFrame
*arg2
= (wxFrame
*) 0 ;
8799 wxWindow
*arg3
= (wxWindow
*) NULL
;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 PyObject
* obj2
= 0 ;
8805 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8833 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8836 wxWindow
*arg2
= (wxWindow
*) 0 ;
8837 wxWindow
*arg3
= (wxWindow
*) NULL
;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8843 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8852 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8871 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8874 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8876 return Py_BuildValue((char *)"");
8878 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxWindow
*arg1
= (wxWindow
*) 0 ;
8881 int arg2
= (int) wxBORDER_NONE
;
8882 wxPopupWindow
*result
;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8886 (char *) "parent",(char *) "flags", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 arg2
= (int)SWIG_As_int(obj1
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 if (!wxPyCheckForApp()) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8911 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxPopupWindow
*result
;
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8920 if (!wxPyCheckForApp()) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (wxPopupWindow
*)new wxPopupWindow();
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8934 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8937 wxWindow
*arg2
= (wxWindow
*) 0 ;
8938 int arg3
= (int) wxBORDER_NONE
;
8940 PyObject
* obj0
= 0 ;
8941 PyObject
* obj1
= 0 ;
8942 PyObject
* obj2
= 0 ;
8944 (char *) "self",(char *) "parent",(char *) "flags", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8953 arg3
= (int)SWIG_As_int(obj2
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8972 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8979 PyObject
* obj0
= 0 ;
8980 PyObject
* obj1
= 0 ;
8981 PyObject
* obj2
= 0 ;
8983 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8991 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8995 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9011 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9014 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9016 return Py_BuildValue((char *)"");
9018 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxWindow
*arg1
= (wxWindow
*) 0 ;
9021 int arg2
= (int) wxBORDER_NONE
;
9022 wxPyPopupTransientWindow
*result
;
9023 PyObject
* obj0
= 0 ;
9024 PyObject
* obj1
= 0 ;
9026 (char *) "parent",(char *) "style", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9033 arg2
= (int)SWIG_As_int(obj1
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 if (!wxPyCheckForApp()) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9051 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxPyPopupTransientWindow
*result
;
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9060 if (!wxPyCheckForApp()) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9074 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9077 PyObject
*arg2
= (PyObject
*) 0 ;
9078 PyObject
*arg3
= (PyObject
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 PyObject
* obj2
= 0 ;
9083 (char *) "self",(char *) "self",(char *) "_class", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 Py_INCREF(Py_None
); resultobj
= Py_None
;
9105 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9108 wxWindow
*arg2
= (wxWindow
*) NULL
;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9112 (char *) "self",(char *) "focus", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 (arg1
)->Popup(arg2
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 Py_INCREF(Py_None
); resultobj
= Py_None
;
9136 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "self", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 Py_INCREF(Py_None
); resultobj
= Py_None
;
9161 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9164 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9166 return Py_BuildValue((char *)"");
9168 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
;
9170 wxWindow
*arg1
= (wxWindow
*) 0 ;
9171 wxString
*arg2
= 0 ;
9172 int arg3
= (int) 100 ;
9173 wxRect
*arg4
= (wxRect
*) NULL
;
9174 wxTipWindow
*result
;
9175 bool temp2
= False
;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9178 PyObject
* obj2
= 0 ;
9179 PyObject
* obj3
= 0 ;
9181 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9188 arg2
= wxString_in_helper(obj1
);
9189 if (arg2
== NULL
) SWIG_fail
;
9193 arg3
= (int)SWIG_As_int(obj2
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9201 if (!wxPyCheckForApp()) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9223 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9231 (char *) "self",(char *) "rectBound", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 Py_INCREF(Py_None
); resultobj
= Py_None
;
9255 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9260 (char *) "self", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 Py_INCREF(Py_None
); resultobj
= Py_None
;
9280 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9283 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9285 return Py_BuildValue((char *)"");
9287 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxWindow
*arg1
= (wxWindow
*) 0 ;
9290 int arg2
= (int) wxID_ANY
;
9291 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9292 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9293 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9294 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9295 long arg5
= (long) 0 ;
9296 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9297 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9298 wxPyVScrolledWindow
*result
;
9301 bool temp6
= False
;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9304 PyObject
* obj2
= 0 ;
9305 PyObject
* obj3
= 0 ;
9306 PyObject
* obj4
= 0 ;
9307 PyObject
* obj5
= 0 ;
9309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 arg2
= (int)SWIG_As_int(obj1
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9322 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9328 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9332 arg5
= (long)SWIG_As_long(obj4
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9337 arg6
= wxString_in_helper(obj5
);
9338 if (arg6
== NULL
) SWIG_fail
;
9343 if (!wxPyCheckForApp()) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9365 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9367 wxPyVScrolledWindow
*result
;
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9374 if (!wxPyCheckForApp()) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9388 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9391 PyObject
*arg2
= (PyObject
*) 0 ;
9392 PyObject
*arg3
= (PyObject
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9394 PyObject
* obj1
= 0 ;
9395 PyObject
* obj2
= 0 ;
9397 (char *) "self",(char *) "self",(char *) "_class", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 Py_INCREF(Py_None
); resultobj
= Py_None
;
9419 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
;
9421 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9422 wxWindow
*arg2
= (wxWindow
*) 0 ;
9423 int arg3
= (int) wxID_ANY
;
9424 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9425 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9426 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9427 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9428 long arg6
= (long) 0 ;
9429 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9430 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9434 bool temp7
= False
;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 PyObject
* obj2
= 0 ;
9438 PyObject
* obj3
= 0 ;
9439 PyObject
* obj4
= 0 ;
9440 PyObject
* obj5
= 0 ;
9441 PyObject
* obj6
= 0 ;
9443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 arg3
= (int)SWIG_As_int(obj2
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9468 arg6
= (long)SWIG_As_long(obj5
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9473 arg7
= wxString_in_helper(obj6
);
9474 if (arg7
== NULL
) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9502 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
;
9504 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9509 (char *) "self",(char *) "count", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9515 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 (arg1
)->SetLineCount(arg2
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 Py_INCREF(Py_None
); resultobj
= Py_None
;
9531 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9539 (char *) "self",(char *) "line", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9545 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9571 (char *) "self",(char *) "lines", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 arg2
= (int)SWIG_As_int(obj1
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (bool)(arg1
)->ScrollLines(arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9595 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "self",(char *) "pages", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9609 arg2
= (int)SWIG_As_int(obj1
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (bool)(arg1
)->ScrollPages(arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9627 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9634 (char *) "self",(char *) "line", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 (arg1
)->RefreshLine(arg2
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 Py_INCREF(Py_None
); resultobj
= Py_None
;
9656 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 PyObject
* obj2
= 0 ;
9665 (char *) "self",(char *) "from",(char *) "to", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9673 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->RefreshLines(arg2
,arg3
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 Py_INCREF(Py_None
); resultobj
= Py_None
;
9689 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9697 PyObject
* obj2
= 0 ;
9699 (char *) "self",(char *) "x",(char *) "y", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 arg2
= (int)SWIG_As_int(obj1
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9707 arg3
= (int)SWIG_As_int(obj2
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_From_int((int)result
);
9723 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9732 (char *) "self",(char *) "pt", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_From_int((int)result
);
9756 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9759 PyObject
* obj0
= 0 ;
9761 (char *) "self", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->RefreshAll();
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 Py_INCREF(Py_None
); resultobj
= Py_None
;
9781 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "self", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9807 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9811 PyObject
* obj0
= 0 ;
9813 (char *) "self", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9833 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9839 (char *) "self", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9859 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9867 (char *) "self",(char *) "line", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9891 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9894 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9896 return Py_BuildValue((char *)"");
9898 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9899 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9904 static PyObject
*_wrap_VListBoxNameStr_get() {
9909 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9911 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9918 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxWindow
*arg1
= (wxWindow
*) 0 ;
9921 int arg2
= (int) wxID_ANY
;
9922 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9923 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9924 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9925 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9926 long arg5
= (long) 0 ;
9927 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9928 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9929 wxPyVListBox
*result
;
9932 bool temp6
= False
;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9935 PyObject
* obj2
= 0 ;
9936 PyObject
* obj3
= 0 ;
9937 PyObject
* obj4
= 0 ;
9938 PyObject
* obj5
= 0 ;
9940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 arg2
= (int)SWIG_As_int(obj1
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9953 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9959 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9963 arg5
= (long)SWIG_As_long(obj4
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9968 arg6
= wxString_in_helper(obj5
);
9969 if (arg6
== NULL
) SWIG_fail
;
9974 if (!wxPyCheckForApp()) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9996 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxPyVListBox
*result
;
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10005 if (!wxPyCheckForApp()) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 result
= (wxPyVListBox
*)new wxPyVListBox();
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10019 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10022 PyObject
*arg2
= (PyObject
*) 0 ;
10023 PyObject
*arg3
= (PyObject
*) 0 ;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 PyObject
* obj2
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self",(char *) "self",(char *) "_class", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 Py_INCREF(Py_None
); resultobj
= Py_None
;
10050 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10053 wxWindow
*arg2
= (wxWindow
*) 0 ;
10054 int arg3
= (int) wxID_ANY
;
10055 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10056 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10057 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10058 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10059 long arg6
= (long) 0 ;
10060 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10061 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10065 bool temp7
= False
;
10066 PyObject
* obj0
= 0 ;
10067 PyObject
* obj1
= 0 ;
10068 PyObject
* obj2
= 0 ;
10069 PyObject
* obj3
= 0 ;
10070 PyObject
* obj4
= 0 ;
10071 PyObject
* obj5
= 0 ;
10072 PyObject
* obj6
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10083 arg3
= (int)SWIG_As_int(obj2
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10099 arg6
= (long)SWIG_As_long(obj5
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10104 arg7
= wxString_in_helper(obj6
);
10105 if (arg7
== NULL
) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10133 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10137 PyObject
* obj0
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10159 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10187 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_From_int((int)result
);
10213 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self",(char *) "item", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10227 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10245 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "self",(char *) "item", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10259 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10277 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
;
10279 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10281 PyObject
* obj0
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "self", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10303 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10307 PyObject
* obj0
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "self", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= result
;
10329 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
;
10331 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10332 unsigned long arg2
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self",(char *) "cookie", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10343 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= result
;
10359 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10379 wxPoint
* resultptr
;
10380 resultptr
= new wxPoint((wxPoint
&) result
);
10381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10389 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10405 result
= (wxColour
*) &_result_ref
;
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10418 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self",(char *) "count", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->SetItemCount(arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 Py_INCREF(Py_None
); resultobj
= Py_None
;
10472 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self",(char *) "selection", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10485 arg2
= (int)SWIG_As_int(obj1
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 (arg1
)->SetSelection(arg2
);
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 Py_INCREF(Py_None
); resultobj
= Py_None
;
10501 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10505 bool arg3
= (bool) True
;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 PyObject
* obj2
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self",(char *) "item",(char *) "select", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 arg3
= (bool)SWIG_As_bool(obj2
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10539 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 PyObject
* obj2
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "from",(char *) "to", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10555 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10557 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10575 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "item", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10588 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 (arg1
)->Toggle(arg2
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 Py_INCREF(Py_None
); resultobj
= Py_None
;
10604 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10608 PyObject
* obj0
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (bool)(arg1
)->SelectAll();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10636 PyObject
* obj0
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (bool)(arg1
)->DeselectAll();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10660 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10663 wxPoint
*arg2
= 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "pt", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 Py_INCREF(Py_None
); resultobj
= Py_None
;
10692 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10694 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self",(char *) "x",(char *) "y", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10707 arg2
= (int)SWIG_As_int(obj1
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10709 arg3
= (int)SWIG_As_int(obj2
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->SetMargins(arg2
,arg3
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10728 wxColour
*arg2
= 0 ;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self",(char *) "col", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 Py_INCREF(Py_None
); resultobj
= Py_None
;
10757 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10760 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10762 return Py_BuildValue((char *)"");
10764 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxWindow
*arg1
= (wxWindow
*) 0 ;
10767 int arg2
= (int) wxID_ANY
;
10768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10772 long arg5
= (long) 0 ;
10773 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10774 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10775 wxPyHtmlListBox
*result
;
10778 bool temp6
= False
;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 PyObject
* obj2
= 0 ;
10782 PyObject
* obj3
= 0 ;
10783 PyObject
* obj4
= 0 ;
10784 PyObject
* obj5
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 arg2
= (int)SWIG_As_int(obj1
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10809 arg5
= (long)SWIG_As_long(obj4
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10814 arg6
= wxString_in_helper(obj5
);
10815 if (arg6
== NULL
) SWIG_fail
;
10820 if (!wxPyCheckForApp()) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10842 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxPyHtmlListBox
*result
;
10845 char *kwnames
[] = {
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10851 if (!wxPyCheckForApp()) SWIG_fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10865 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10868 PyObject
*arg2
= (PyObject
*) 0 ;
10869 PyObject
*arg3
= (PyObject
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 PyObject
* obj2
= 0 ;
10873 char *kwnames
[] = {
10874 (char *) "self",(char *) "self",(char *) "_class", NULL
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 Py_INCREF(Py_None
); resultobj
= Py_None
;
10896 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10899 wxWindow
*arg2
= (wxWindow
*) 0 ;
10900 int arg3
= (int) wxID_ANY
;
10901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10905 long arg6
= (long) 0 ;
10906 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10911 bool temp7
= False
;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 PyObject
* obj2
= 0 ;
10915 PyObject
* obj3
= 0 ;
10916 PyObject
* obj4
= 0 ;
10917 PyObject
* obj5
= 0 ;
10918 PyObject
* obj6
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10929 arg3
= (int)SWIG_As_int(obj2
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10945 arg6
= (long)SWIG_As_long(obj5
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10950 arg7
= wxString_in_helper(obj6
);
10951 if (arg7
== NULL
) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10979 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 (arg1
)->RefreshAll();
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 Py_INCREF(Py_None
); resultobj
= Py_None
;
11004 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 PyObject
* obj1
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "count", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11017 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 (arg1
)->SetItemCount(arg2
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 Py_INCREF(Py_None
); resultobj
= Py_None
;
11033 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11036 wxFileSystem
*result
;
11037 PyObject
* obj0
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11049 result
= (wxFileSystem
*) &_result_ref
;
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11062 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11065 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11067 return Py_BuildValue((char *)"");
11069 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxTaskBarIcon
*result
;
11072 char *kwnames
[] = {
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11078 if (!wxPyCheckForApp()) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
11092 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
11101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 wxTaskBarIcon_Destroy(arg1
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11142 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11198 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11202 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11205 bool temp3
= False
;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 PyObject
* obj2
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11219 if (arg2
== NULL
) {
11220 PyErr_SetString(PyExc_TypeError
,"null reference");
11225 arg3
= wxString_in_helper(obj2
);
11226 if (arg3
== NULL
) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11254 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11258 PyObject
* obj0
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (bool)(arg1
)->RemoveIcon();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11282 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11285 wxMenu
*arg2
= (wxMenu
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "menu", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (bool)(arg1
)->PopupMenu(arg2
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11314 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11317 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11319 return Py_BuildValue((char *)"");
11321 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11324 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11325 wxTaskBarIconEvent
*result
;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "evtType",(char *) "tbIcon", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11333 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11351 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11354 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11356 return Py_BuildValue((char *)"");
11358 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11359 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11364 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11369 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11371 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11378 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11379 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11384 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11389 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11391 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11398 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11399 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11404 static PyObject
*_wrap_DirDialogNameStr_get() {
11409 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11411 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11418 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11419 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11424 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11429 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11431 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11438 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11439 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11444 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11449 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11451 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11458 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11459 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11464 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11469 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11471 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11478 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxColourData
*result
;
11481 char *kwnames
[] = {
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (wxColourData
*)new wxColourData();
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11500 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxColourData
*arg1
= (wxColourData
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 Py_INCREF(Py_None
); resultobj
= Py_None
;
11525 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxColourData
*arg1
= (wxColourData
*) 0 ;
11529 PyObject
* obj0
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (bool)(arg1
)->GetChooseFull();
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11553 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxColourData
*arg1
= (wxColourData
*) 0 ;
11557 PyObject
* obj0
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (arg1
)->GetColour();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11573 wxColour
* resultptr
;
11574 resultptr
= new wxColour((wxColour
&) result
);
11575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11583 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxColourData
*arg1
= (wxColourData
*) 0 ;
11588 PyObject
* obj0
= 0 ;
11589 PyObject
* obj1
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "self",(char *) "i", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11597 arg2
= (int)SWIG_As_int(obj1
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (arg1
)->GetCustomColour(arg2
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 wxColour
* resultptr
;
11608 resultptr
= new wxColour((wxColour
&) result
);
11609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11617 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxColourData
*arg1
= (wxColourData
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "flag", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11630 arg2
= (int)SWIG_As_int(obj1
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 (arg1
)->SetChooseFull(arg2
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 Py_INCREF(Py_None
); resultobj
= Py_None
;
11646 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 wxColourData
*arg1
= (wxColourData
*) 0 ;
11649 wxColour
*arg2
= 0 ;
11651 PyObject
* obj0
= 0 ;
11652 PyObject
* obj1
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self",(char *) "colour", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 (arg1
)->SetColour((wxColour
const &)*arg2
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 Py_INCREF(Py_None
); resultobj
= Py_None
;
11678 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxColourData
*arg1
= (wxColourData
*) 0 ;
11682 wxColour
*arg3
= 0 ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "i",(char *) "colour", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11694 arg2
= (int)SWIG_As_int(obj1
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11719 return Py_BuildValue((char *)"");
11721 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxWindow
*arg1
= (wxWindow
*) 0 ;
11724 wxColourData
*arg2
= (wxColourData
*) NULL
;
11725 wxColourDialog
*result
;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "parent",(char *) "data", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 if (!wxPyCheckForApp()) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11754 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11757 wxColourData
*result
;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11770 result
= (wxColourData
*) &_result_ref
;
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11783 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11786 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11788 return Py_BuildValue((char *)"");
11790 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxWindow
*arg1
= (wxWindow
*) 0 ;
11793 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11794 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11795 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11796 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11797 long arg4
= (long) 0 ;
11798 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11799 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11800 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11801 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11802 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11803 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11804 wxDirDialog
*result
;
11805 bool temp2
= False
;
11806 bool temp3
= False
;
11809 bool temp7
= False
;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 PyObject
* obj2
= 0 ;
11813 PyObject
* obj3
= 0 ;
11814 PyObject
* obj4
= 0 ;
11815 PyObject
* obj5
= 0 ;
11816 PyObject
* obj6
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 arg2
= wxString_in_helper(obj1
);
11827 if (arg2
== NULL
) SWIG_fail
;
11833 arg3
= wxString_in_helper(obj2
);
11834 if (arg3
== NULL
) SWIG_fail
;
11839 arg4
= (long)SWIG_As_long(obj3
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11845 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11851 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11856 arg7
= wxString_in_helper(obj6
);
11857 if (arg7
== NULL
) SWIG_fail
;
11862 if (!wxPyCheckForApp()) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11900 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (arg1
)->GetPath();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11932 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 char *kwnames
[] = {
11938 (char *) "self", NULL
11941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (arg1
)->GetMessage();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11964 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 char *kwnames
[] = {
11970 (char *) "self", NULL
11973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (long)(arg1
)->GetStyle();
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= SWIG_From_long((long)result
);
11990 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11993 wxString
*arg2
= 0 ;
11994 bool temp2
= False
;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "message", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12005 arg2
= wxString_in_helper(obj1
);
12006 if (arg2
== NULL
) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->SetMessage((wxString
const &)*arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 Py_INCREF(Py_None
); resultobj
= Py_None
;
12031 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12034 wxString
*arg2
= 0 ;
12035 bool temp2
= False
;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self",(char *) "path", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 arg2
= wxString_in_helper(obj1
);
12047 if (arg2
== NULL
) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 (arg1
)->SetPath((wxString
const &)*arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 Py_INCREF(Py_None
); resultobj
= Py_None
;
12072 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12075 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12077 return Py_BuildValue((char *)"");
12079 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxWindow
*arg1
= (wxWindow
*) 0 ;
12082 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12083 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12084 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12085 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12086 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12087 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12088 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12089 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12090 long arg6
= (long) 0 ;
12091 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12092 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12093 wxFileDialog
*result
;
12094 bool temp2
= False
;
12095 bool temp3
= False
;
12096 bool temp4
= False
;
12097 bool temp5
= False
;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 PyObject
* obj2
= 0 ;
12102 PyObject
* obj3
= 0 ;
12103 PyObject
* obj4
= 0 ;
12104 PyObject
* obj5
= 0 ;
12105 PyObject
* obj6
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12115 arg2
= wxString_in_helper(obj1
);
12116 if (arg2
== NULL
) SWIG_fail
;
12122 arg3
= wxString_in_helper(obj2
);
12123 if (arg3
== NULL
) SWIG_fail
;
12129 arg4
= wxString_in_helper(obj3
);
12130 if (arg4
== NULL
) SWIG_fail
;
12136 arg5
= wxString_in_helper(obj4
);
12137 if (arg5
== NULL
) SWIG_fail
;
12142 arg6
= (long)SWIG_As_long(obj5
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12148 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12152 if (!wxPyCheckForApp()) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12198 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12201 wxString
*arg2
= 0 ;
12202 bool temp2
= False
;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self",(char *) "message", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12213 arg2
= wxString_in_helper(obj1
);
12214 if (arg2
== NULL
) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->SetMessage((wxString
const &)*arg2
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 Py_INCREF(Py_None
); resultobj
= Py_None
;
12239 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12242 wxString
*arg2
= 0 ;
12243 bool temp2
= False
;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self",(char *) "path", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12254 arg2
= wxString_in_helper(obj1
);
12255 if (arg2
== NULL
) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 (arg1
)->SetPath((wxString
const &)*arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 Py_INCREF(Py_None
); resultobj
= Py_None
;
12280 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12283 wxString
*arg2
= 0 ;
12284 bool temp2
= False
;
12285 PyObject
* obj0
= 0 ;
12286 PyObject
* obj1
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self",(char *) "dir", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12295 arg2
= wxString_in_helper(obj1
);
12296 if (arg2
== NULL
) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 Py_INCREF(Py_None
); resultobj
= Py_None
;
12321 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12324 wxString
*arg2
= 0 ;
12325 bool temp2
= False
;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "name", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 arg2
= wxString_in_helper(obj1
);
12337 if (arg2
== NULL
) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 (arg1
)->SetFilename((wxString
const &)*arg2
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12362 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12365 wxString
*arg2
= 0 ;
12366 bool temp2
= False
;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "wildCard", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 arg2
= wxString_in_helper(obj1
);
12378 if (arg2
== NULL
) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12403 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self",(char *) "style", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12416 arg2
= (long)SWIG_As_long(obj1
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 (arg1
)->SetStyle(arg2
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 Py_INCREF(Py_None
); resultobj
= Py_None
;
12432 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 PyObject
* obj1
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self",(char *) "filterIndex", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 arg2
= (int)SWIG_As_int(obj1
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->SetFilterIndex(arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 Py_INCREF(Py_None
); resultobj
= Py_None
;
12461 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12493 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12525 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12557 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12589 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12593 PyObject
* obj0
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12621 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_From_long((long)result
);
12647 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_From_int((int)result
);
12673 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= result
;
12699 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= result
;
12725 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12728 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12730 return Py_BuildValue((char *)"");
12732 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxWindow
*arg1
= (wxWindow
*) 0 ;
12735 wxString
*arg2
= 0 ;
12736 wxString
*arg3
= 0 ;
12737 int arg4
= (int) 0 ;
12738 wxString
*arg5
= (wxString
*) NULL
;
12739 long arg6
= (long) wxCHOICEDLG_STYLE
;
12740 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12741 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12742 wxMultiChoiceDialog
*result
;
12743 bool temp2
= False
;
12744 bool temp3
= False
;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 PyObject
* obj2
= 0 ;
12749 PyObject
* obj3
= 0 ;
12750 PyObject
* obj4
= 0 ;
12751 PyObject
* obj5
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 arg2
= wxString_in_helper(obj1
);
12761 if (arg2
== NULL
) SWIG_fail
;
12765 arg3
= wxString_in_helper(obj2
);
12766 if (arg3
== NULL
) SWIG_fail
;
12771 arg4
= PyList_Size(obj3
);
12772 arg5
= wxString_LIST_helper(obj3
);
12773 if (arg5
== NULL
) SWIG_fail
;
12777 arg6
= (long)SWIG_As_long(obj4
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12783 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12787 if (!wxPyCheckForApp()) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12804 if (arg5
) delete [] arg5
;
12817 if (arg5
) delete [] arg5
;
12823 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12826 wxArrayInt
*arg2
= 0 ;
12827 bool temp2
= False
;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 char *kwnames
[] = {
12831 (char *) "self",(char *) "selections", NULL
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12838 if (! PySequence_Check(obj1
)) {
12839 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12842 arg2
= new wxArrayInt
;
12844 int i
, len
=PySequence_Length(obj1
);
12845 for (i
=0; i
<len
; i
++) {
12846 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12847 PyObject
* number
= PyNumber_Int(item
);
12848 arg2
->Add(PyInt_AS_LONG(number
));
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 Py_INCREF(Py_None
); resultobj
= Py_None
;
12862 if (temp2
) delete arg2
;
12867 if (temp2
) delete arg2
;
12873 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= result
;
12899 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12902 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12904 return Py_BuildValue((char *)"");
12906 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxWindow
*arg1
= (wxWindow
*) 0 ;
12909 wxString
*arg2
= 0 ;
12910 wxString
*arg3
= 0 ;
12912 wxString
*arg5
= (wxString
*) 0 ;
12913 long arg6
= (long) wxCHOICEDLG_STYLE
;
12914 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12915 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12916 wxSingleChoiceDialog
*result
;
12917 bool temp2
= False
;
12918 bool temp3
= False
;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 PyObject
* obj2
= 0 ;
12923 PyObject
* obj3
= 0 ;
12924 PyObject
* obj4
= 0 ;
12925 PyObject
* obj5
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 arg2
= wxString_in_helper(obj1
);
12935 if (arg2
== NULL
) SWIG_fail
;
12939 arg3
= wxString_in_helper(obj2
);
12940 if (arg3
== NULL
) SWIG_fail
;
12944 arg4
= PyList_Size(obj3
);
12945 arg5
= wxString_LIST_helper(obj3
);
12946 if (arg5
== NULL
) SWIG_fail
;
12949 arg6
= (long)SWIG_As_long(obj4
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12955 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12959 if (!wxPyCheckForApp()) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12976 if (arg5
) delete [] arg5
;
12989 if (arg5
) delete [] arg5
;
12995 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= (int)(arg1
)->GetSelection();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_From_int((int)result
);
13021 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
;
13023 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13025 PyObject
* obj0
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (arg1
)->GetStringSelection();
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13053 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "sel", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 arg2
= (int)SWIG_As_int(obj1
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 (arg1
)->SetSelection(arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13082 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13085 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13087 return Py_BuildValue((char *)"");
13089 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxWindow
*arg1
= (wxWindow
*) 0 ;
13092 wxString
*arg2
= 0 ;
13093 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13095 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13096 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13097 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13098 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13099 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13100 wxTextEntryDialog
*result
;
13101 bool temp2
= False
;
13102 bool temp3
= False
;
13103 bool temp4
= False
;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 PyObject
* obj2
= 0 ;
13108 PyObject
* obj3
= 0 ;
13109 PyObject
* obj4
= 0 ;
13110 PyObject
* obj5
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13119 arg2
= wxString_in_helper(obj1
);
13120 if (arg2
== NULL
) SWIG_fail
;
13125 arg3
= wxString_in_helper(obj2
);
13126 if (arg3
== NULL
) SWIG_fail
;
13132 arg4
= wxString_in_helper(obj3
);
13133 if (arg4
== NULL
) SWIG_fail
;
13138 arg5
= (long)SWIG_As_long(obj4
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13144 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13148 if (!wxPyCheckForApp()) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13186 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (arg1
)->GetValue();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13218 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13221 wxString
*arg2
= 0 ;
13222 bool temp2
= False
;
13223 PyObject
* obj0
= 0 ;
13224 PyObject
* obj1
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "self",(char *) "value", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13233 arg2
= wxString_in_helper(obj1
);
13234 if (arg2
== NULL
) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 (arg1
)->SetValue((wxString
const &)*arg2
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 Py_INCREF(Py_None
); resultobj
= Py_None
;
13259 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13262 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13264 return Py_BuildValue((char *)"");
13266 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxFontData
*result
;
13269 char *kwnames
[] = {
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (wxFontData
*)new wxFontData();
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13288 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxFontData
*arg1
= (wxFontData
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 Py_INCREF(Py_None
); resultobj
= Py_None
;
13313 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxFontData
*arg1
= (wxFontData
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self",(char *) "enable", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 arg2
= (bool)SWIG_As_bool(obj1
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->EnableEffects(arg2
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxFontData
*arg1
= (wxFontData
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (bool)(arg1
)->GetAllowSymbols();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13370 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxFontData
*arg1
= (wxFontData
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self", NULL
13379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (arg1
)->GetColour();
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13390 wxColour
* resultptr
;
13391 resultptr
= new wxColour((wxColour
&) result
);
13392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13400 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxFontData
*arg1
= (wxFontData
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (arg1
)->GetChosenFont();
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 wxFont
* resultptr
;
13421 resultptr
= new wxFont((wxFont
&) result
);
13422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13430 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxFontData
*arg1
= (wxFontData
*) 0 ;
13434 PyObject
* obj0
= 0 ;
13435 char *kwnames
[] = {
13436 (char *) "self", NULL
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (bool)(arg1
)->GetEnableEffects();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13458 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
;
13460 wxFontData
*arg1
= (wxFontData
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (arg1
)->GetInitialFont();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13478 wxFont
* resultptr
;
13479 resultptr
= new wxFont((wxFont
&) result
);
13480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13488 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxFontData
*arg1
= (wxFontData
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (bool)(arg1
)->GetShowHelp();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13516 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxFontData
*arg1
= (wxFontData
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self",(char *) "allowSymbols", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 arg2
= (bool)SWIG_As_bool(obj1
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 (arg1
)->SetAllowSymbols(arg2
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 Py_INCREF(Py_None
); resultobj
= Py_None
;
13545 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxFontData
*arg1
= (wxFontData
*) 0 ;
13549 PyObject
* obj0
= 0 ;
13550 PyObject
* obj1
= 0 ;
13551 char *kwnames
[] = {
13552 (char *) "self",(char *) "font", NULL
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13561 if (arg2
== NULL
) {
13562 PyErr_SetString(PyExc_TypeError
,"null reference");
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 Py_INCREF(Py_None
); resultobj
= Py_None
;
13579 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxFontData
*arg1
= (wxFontData
*) 0 ;
13582 wxColour
*arg2
= 0 ;
13584 PyObject
* obj0
= 0 ;
13585 PyObject
* obj1
= 0 ;
13586 char *kwnames
[] = {
13587 (char *) "self",(char *) "colour", NULL
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 (arg1
)->SetColour((wxColour
const &)*arg2
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 Py_INCREF(Py_None
); resultobj
= Py_None
;
13611 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxFontData
*arg1
= (wxFontData
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self",(char *) "font", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13627 if (arg2
== NULL
) {
13628 PyErr_SetString(PyExc_TypeError
,"null reference");
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 Py_INCREF(Py_None
); resultobj
= Py_None
;
13645 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxFontData
*arg1
= (wxFontData
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 PyObject
* obj2
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self",(char *) "min",(char *) "max", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13660 arg2
= (int)SWIG_As_int(obj1
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13662 arg3
= (int)SWIG_As_int(obj2
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 (arg1
)->SetRange(arg2
,arg3
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 Py_INCREF(Py_None
); resultobj
= Py_None
;
13678 static PyObject
*_wrap_FontData_SetShowHelp(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 *) "showHelp", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 arg2
= (bool)SWIG_As_bool(obj1
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 (arg1
)->SetShowHelp(arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 Py_INCREF(Py_None
); resultobj
= Py_None
;
13707 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13710 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13712 return Py_BuildValue((char *)"");
13714 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxWindow
*arg1
= (wxWindow
*) 0 ;
13717 wxFontData
*arg2
= 0 ;
13718 wxFontDialog
*result
;
13719 PyObject
* obj0
= 0 ;
13720 PyObject
* obj1
= 0 ;
13721 char *kwnames
[] = {
13722 (char *) "parent",(char *) "data", NULL
13725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13731 if (arg2
== NULL
) {
13732 PyErr_SetString(PyExc_TypeError
,"null reference");
13736 if (!wxPyCheckForApp()) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13750 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13753 wxFontData
*result
;
13754 PyObject
* obj0
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13766 result
= (wxFontData
*) &_result_ref
;
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13779 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13782 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13784 return Py_BuildValue((char *)"");
13786 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxWindow
*arg1
= (wxWindow
*) 0 ;
13789 wxString
*arg2
= 0 ;
13790 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13791 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13792 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13793 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13794 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13795 wxMessageDialog
*result
;
13796 bool temp2
= False
;
13797 bool temp3
= False
;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 PyObject
* obj2
= 0 ;
13802 PyObject
* obj3
= 0 ;
13803 PyObject
* obj4
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 arg2
= wxString_in_helper(obj1
);
13813 if (arg2
== NULL
) SWIG_fail
;
13818 arg3
= wxString_in_helper(obj2
);
13819 if (arg3
== NULL
) SWIG_fail
;
13824 arg4
= (long)SWIG_As_long(obj3
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13830 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13834 if (!wxPyCheckForApp()) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13864 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13867 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13869 return Py_BuildValue((char *)"");
13871 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxString
*arg1
= 0 ;
13874 wxString
*arg2
= 0 ;
13875 int arg3
= (int) 100 ;
13876 wxWindow
*arg4
= (wxWindow
*) NULL
;
13877 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13878 wxProgressDialog
*result
;
13879 bool temp1
= False
;
13880 bool temp2
= False
;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 PyObject
* obj2
= 0 ;
13884 PyObject
* obj3
= 0 ;
13885 PyObject
* obj4
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13892 arg1
= wxString_in_helper(obj0
);
13893 if (arg1
== NULL
) SWIG_fail
;
13897 arg2
= wxString_in_helper(obj1
);
13898 if (arg2
== NULL
) SWIG_fail
;
13902 arg3
= (int)SWIG_As_int(obj2
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13910 arg5
= (int)SWIG_As_int(obj4
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 if (!wxPyCheckForApp()) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13944 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13948 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13949 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13951 bool temp3
= False
;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 PyObject
* obj2
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13962 arg2
= (int)SWIG_As_int(obj1
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 arg3
= wxString_in_helper(obj2
);
13967 if (arg3
== NULL
) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13995 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 Py_INCREF(Py_None
); resultobj
= Py_None
;
14020 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14023 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14025 return Py_BuildValue((char *)"");
14027 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14030 int arg2
= (int) 0 ;
14031 wxFindDialogEvent
*result
;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "commandType",(char *) "id", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14040 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14044 arg2
= (int)SWIG_As_int(obj1
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14061 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14065 PyObject
* obj0
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "self", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (int)(arg1
)->GetFlags();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= SWIG_From_int((int)result
);
14087 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14091 PyObject
* obj0
= 0 ;
14092 char *kwnames
[] = {
14093 (char *) "self", NULL
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 wxString
const &_result_ref
= (arg1
)->GetFindString();
14103 result
= (wxString
*) &_result_ref
;
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14122 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14138 result
= (wxString
*) &_result_ref
;
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14148 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14157 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14160 wxFindReplaceDialog
*result
;
14161 PyObject
* obj0
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14183 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self",(char *) "flags", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 arg2
= (int)SWIG_As_int(obj1
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 (arg1
)->SetFlags(arg2
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 Py_INCREF(Py_None
); resultobj
= Py_None
;
14212 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14215 wxString
*arg2
= 0 ;
14216 bool temp2
= False
;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self",(char *) "str", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14227 arg2
= wxString_in_helper(obj1
);
14228 if (arg2
== NULL
) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 (arg1
)->SetFindString((wxString
const &)*arg2
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 Py_INCREF(Py_None
); resultobj
= Py_None
;
14253 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14256 wxString
*arg2
= 0 ;
14257 bool temp2
= False
;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self",(char *) "str", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14268 arg2
= wxString_in_helper(obj1
);
14269 if (arg2
== NULL
) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 Py_INCREF(Py_None
); resultobj
= Py_None
;
14294 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14297 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14299 return Py_BuildValue((char *)"");
14301 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 int arg1
= (int) 0 ;
14304 wxFindReplaceData
*result
;
14305 PyObject
* obj0
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "flags", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14312 arg1
= (int)SWIG_As_int(obj0
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14329 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 Py_INCREF(Py_None
); resultobj
= Py_None
;
14354 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 wxString
const &_result_ref
= (arg1
)->GetFindString();
14370 result
= (wxString
*) &_result_ref
;
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14380 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14389 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14405 result
= (wxString
*) &_result_ref
;
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14415 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14424 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (int)(arg1
)->GetFlags();
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_From_int((int)result
);
14450 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 PyObject
* obj1
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "flags", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 arg2
= (int)SWIG_As_int(obj1
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->SetFlags(arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14482 wxString
*arg2
= 0 ;
14483 bool temp2
= False
;
14484 PyObject
* obj0
= 0 ;
14485 PyObject
* obj1
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self",(char *) "str", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14494 arg2
= wxString_in_helper(obj1
);
14495 if (arg2
== NULL
) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 (arg1
)->SetFindString((wxString
const &)*arg2
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14523 wxString
*arg2
= 0 ;
14524 bool temp2
= False
;
14525 PyObject
* obj0
= 0 ;
14526 PyObject
* obj1
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self",(char *) "str", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 arg2
= wxString_in_helper(obj1
);
14536 if (arg2
== NULL
) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 Py_INCREF(Py_None
); resultobj
= Py_None
;
14561 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14564 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14566 return Py_BuildValue((char *)"");
14568 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
;
14570 wxWindow
*arg1
= (wxWindow
*) 0 ;
14571 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14572 wxString
*arg3
= 0 ;
14573 int arg4
= (int) 0 ;
14574 wxFindReplaceDialog
*result
;
14575 bool temp3
= False
;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 PyObject
* obj2
= 0 ;
14579 PyObject
* obj3
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14590 arg3
= wxString_in_helper(obj2
);
14591 if (arg3
== NULL
) SWIG_fail
;
14595 arg4
= (int)SWIG_As_int(obj3
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 if (!wxPyCheckForApp()) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14621 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxFindReplaceDialog
*result
;
14624 char *kwnames
[] = {
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14630 if (!wxPyCheckForApp()) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14644 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14647 wxWindow
*arg2
= (wxWindow
*) 0 ;
14648 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14649 wxString
*arg4
= 0 ;
14650 int arg5
= (int) 0 ;
14652 bool temp4
= False
;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 PyObject
* obj3
= 0 ;
14657 PyObject
* obj4
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14670 arg4
= wxString_in_helper(obj3
);
14671 if (arg4
== NULL
) SWIG_fail
;
14675 arg5
= (int)SWIG_As_int(obj4
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14702 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14705 wxFindReplaceData
*result
;
14706 PyObject
* obj0
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14728 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14731 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self",(char *) "data", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 (arg1
)->SetData(arg2
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 Py_INCREF(Py_None
); resultobj
= Py_None
;
14757 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14760 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14762 return Py_BuildValue((char *)"");
14764 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxWindow
*arg1
= (wxWindow
*) 0 ;
14767 int arg2
= (int) (int)-1 ;
14768 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14769 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14774 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14775 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14776 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14777 wxMDIParentFrame
*result
;
14778 bool temp3
= False
;
14781 bool temp7
= False
;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 PyObject
* obj2
= 0 ;
14785 PyObject
* obj3
= 0 ;
14786 PyObject
* obj4
= 0 ;
14787 PyObject
* obj5
= 0 ;
14788 PyObject
* obj6
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14797 arg2
= (int)SWIG_As_int(obj1
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14802 arg3
= wxString_in_helper(obj2
);
14803 if (arg3
== NULL
) SWIG_fail
;
14810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14820 arg6
= (long)SWIG_As_long(obj5
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14825 arg7
= wxString_in_helper(obj6
);
14826 if (arg7
== NULL
) SWIG_fail
;
14831 if (!wxPyCheckForApp()) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14861 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxMDIParentFrame
*result
;
14864 char *kwnames
[] = {
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14870 if (!wxPyCheckForApp()) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14884 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14887 wxWindow
*arg2
= (wxWindow
*) 0 ;
14888 int arg3
= (int) (int)-1 ;
14889 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14890 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14891 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14892 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14893 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14894 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14895 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14896 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14899 bool temp4
= False
;
14902 bool temp8
= False
;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 PyObject
* obj3
= 0 ;
14907 PyObject
* obj4
= 0 ;
14908 PyObject
* obj5
= 0 ;
14909 PyObject
* obj6
= 0 ;
14910 PyObject
* obj7
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 arg3
= (int)SWIG_As_int(obj2
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14926 arg4
= wxString_in_helper(obj3
);
14927 if (arg4
== NULL
) SWIG_fail
;
14934 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14940 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14944 arg7
= (long)SWIG_As_long(obj6
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14949 arg8
= wxString_in_helper(obj7
);
14950 if (arg8
== NULL
) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14986 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 (arg1
)->ActivateNext();
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 Py_INCREF(Py_None
); resultobj
= Py_None
;
15011 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 (arg1
)->ActivatePrevious();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 (arg1
)->ArrangeIcons();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 Py_INCREF(Py_None
); resultobj
= Py_None
;
15061 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15089 wxMDIChildFrame
*result
;
15090 PyObject
* obj0
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= wxPyMake_wxObject(result
, 0);
15114 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15117 wxMDIClientWindow
*result
;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= wxPyMake_wxObject(result
, 0);
15142 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (wxWindow
*)(arg1
)->GetToolBar();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= wxPyMake_wxObject(result
, 0);
15170 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 Py_INCREF(Py_None
); resultobj
= Py_None
;
15195 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15198 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15200 return Py_BuildValue((char *)"");
15202 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15205 int arg2
= (int) (int)-1 ;
15206 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15212 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15213 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15214 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15215 wxMDIChildFrame
*result
;
15216 bool temp3
= False
;
15219 bool temp7
= False
;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 PyObject
* obj2
= 0 ;
15223 PyObject
* obj3
= 0 ;
15224 PyObject
* obj4
= 0 ;
15225 PyObject
* obj5
= 0 ;
15226 PyObject
* obj6
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 arg2
= (int)SWIG_As_int(obj1
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15240 arg3
= wxString_in_helper(obj2
);
15241 if (arg3
== NULL
) SWIG_fail
;
15248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15258 arg6
= (long)SWIG_As_long(obj5
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15263 arg7
= wxString_in_helper(obj6
);
15264 if (arg7
== NULL
) SWIG_fail
;
15269 if (!wxPyCheckForApp()) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15299 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxMDIChildFrame
*result
;
15302 char *kwnames
[] = {
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15308 if (!wxPyCheckForApp()) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15322 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15325 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15326 int arg3
= (int) (int)-1 ;
15327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15329 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15330 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15331 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15332 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15333 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15334 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15335 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15337 bool temp4
= False
;
15340 bool temp8
= False
;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 PyObject
* obj2
= 0 ;
15344 PyObject
* obj3
= 0 ;
15345 PyObject
* obj4
= 0 ;
15346 PyObject
* obj5
= 0 ;
15347 PyObject
* obj6
= 0 ;
15348 PyObject
* obj7
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15359 arg3
= (int)SWIG_As_int(obj2
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15364 arg4
= wxString_in_helper(obj3
);
15365 if (arg4
== NULL
) SWIG_fail
;
15372 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15378 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15382 arg7
= (long)SWIG_As_long(obj6
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15387 arg8
= wxString_in_helper(obj7
);
15388 if (arg8
== NULL
) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15424 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->Activate();
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 Py_INCREF(Py_None
); resultobj
= Py_None
;
15449 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self",(char *) "maximize", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15462 arg2
= (bool)SWIG_As_bool(obj1
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 (arg1
)->Maximize(arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 Py_INCREF(Py_None
); resultobj
= Py_None
;
15478 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
;
15480 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 Py_INCREF(Py_None
); resultobj
= Py_None
;
15503 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15506 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15508 return Py_BuildValue((char *)"");
15510 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15513 long arg2
= (long) 0 ;
15514 wxMDIClientWindow
*result
;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "parent",(char *) "style", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15525 arg2
= (long)SWIG_As_long(obj1
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15529 if (!wxPyCheckForApp()) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15543 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxMDIClientWindow
*result
;
15546 char *kwnames
[] = {
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15552 if (!wxPyCheckForApp()) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15566 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15569 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15570 long arg3
= (long) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 PyObject
* obj1
= 0 ;
15574 PyObject
* obj2
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self",(char *) "parent",(char *) "style", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 arg3
= (long)SWIG_As_long(obj2
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15604 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15607 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15609 return Py_BuildValue((char *)"");
15611 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxWindow
*arg1
= (wxWindow
*) 0 ;
15614 int arg2
= (int) (int)-1 ;
15615 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15616 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15617 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15618 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15619 long arg5
= (long) 0 ;
15620 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15621 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15622 wxPyWindow
*result
;
15625 bool temp6
= False
;
15626 PyObject
* obj0
= 0 ;
15627 PyObject
* obj1
= 0 ;
15628 PyObject
* obj2
= 0 ;
15629 PyObject
* obj3
= 0 ;
15630 PyObject
* obj4
= 0 ;
15631 PyObject
* obj5
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 arg2
= (int)SWIG_As_int(obj1
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15656 arg5
= (long)SWIG_As_long(obj4
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15661 arg6
= wxString_in_helper(obj5
);
15662 if (arg6
== NULL
) SWIG_fail
;
15667 if (!wxPyCheckForApp()) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15689 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxPyWindow
*result
;
15692 char *kwnames
[] = {
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15698 if (!wxPyCheckForApp()) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (wxPyWindow
*)new wxPyWindow();
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15712 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15715 PyObject
*arg2
= (PyObject
*) 0 ;
15716 PyObject
*arg3
= (PyObject
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 PyObject
* obj2
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self",(char *) "self",(char *) "_class", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 Py_INCREF(Py_None
); resultobj
= Py_None
;
15743 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self",(char *) "size", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 Py_INCREF(Py_None
); resultobj
= Py_None
;
15775 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 PyObject
* obj2
= 0 ;
15785 PyObject
* obj3
= 0 ;
15786 PyObject
* obj4
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 arg2
= (int)SWIG_As_int(obj1
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15796 arg3
= (int)SWIG_As_int(obj2
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15798 arg4
= (int)SWIG_As_int(obj3
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15800 arg5
= (int)SWIG_As_int(obj4
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 Py_INCREF(Py_None
); resultobj
= Py_None
;
15816 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15823 int arg6
= (int) wxSIZE_AUTO
;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 PyObject
* obj2
= 0 ;
15827 PyObject
* obj3
= 0 ;
15828 PyObject
* obj4
= 0 ;
15829 PyObject
* obj5
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 arg2
= (int)SWIG_As_int(obj1
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15839 arg3
= (int)SWIG_As_int(obj2
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15841 arg4
= (int)SWIG_As_int(obj3
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15843 arg5
= (int)SWIG_As_int(obj4
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 arg6
= (int)SWIG_As_int(obj5
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 Py_INCREF(Py_None
); resultobj
= Py_None
;
15863 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 PyObject
* obj1
= 0 ;
15870 PyObject
* obj2
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self",(char *) "width",(char *) "height", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 arg2
= (int)SWIG_As_int(obj1
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15880 arg3
= (int)SWIG_As_int(obj2
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 Py_INCREF(Py_None
); resultobj
= Py_None
;
15896 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 PyObject
* obj2
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self",(char *) "x",(char *) "y", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 arg2
= (int)SWIG_As_int(obj1
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15913 arg3
= (int)SWIG_As_int(obj2
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 Py_INCREF(Py_None
); resultobj
= Py_None
;
15929 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15932 int *arg2
= (int *) 0 ;
15933 int *arg3
= (int *) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15944 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15956 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15957 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15958 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15959 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15966 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15969 int *arg2
= (int *) 0 ;
15970 int *arg3
= (int *) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15981 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 Py_INCREF(Py_None
); resultobj
= Py_None
;
15993 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15994 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15995 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15996 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16003 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16006 int *arg2
= (int *) 0 ;
16007 int *arg3
= (int *) 0 ;
16012 PyObject
* obj0
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self", NULL
16017 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16018 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 Py_INCREF(Py_None
); resultobj
= Py_None
;
16030 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16031 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16032 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16033 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16040 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 wxSize
* resultptr
;
16061 resultptr
= new wxSize((wxSize
&) result
);
16062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16070 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16090 wxSize
* resultptr
;
16091 resultptr
= new wxSize((wxSize
&) result
);
16092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16100 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16103 PyObject
* obj0
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 (arg1
)->base_InitDialog();
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 Py_INCREF(Py_None
); resultobj
= Py_None
;
16125 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (bool)(arg1
)->base_TransferDataToWindow();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16153 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "self", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16181 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= (bool)(arg1
)->base_Validate();
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16209 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16237 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16265 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 wxSize
* resultptr
;
16286 resultptr
= new wxSize((wxSize
&) result
);
16287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16295 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16298 wxWindow
*arg2
= (wxWindow
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self",(char *) "child", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 (arg1
)->base_AddChild(arg2
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16327 wxWindow
*arg2
= (wxWindow
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 PyObject
* obj1
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self",(char *) "child", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 (arg1
)->base_RemoveChild(arg2
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 Py_INCREF(Py_None
); resultobj
= Py_None
;
16353 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16357 PyObject
* obj0
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16381 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16384 wxColour
*arg2
= 0 ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self",(char *) "c", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16397 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 Py_INCREF(Py_None
); resultobj
= Py_None
;
16413 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16416 wxVisualAttributes result
;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (arg1
)->base_GetDefaultAttributes();
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 wxVisualAttributes
* resultptr
;
16434 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16443 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16446 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16448 return Py_BuildValue((char *)"");
16450 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxWindow
*arg1
= (wxWindow
*) 0 ;
16453 int arg2
= (int) (int)-1 ;
16454 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16455 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16456 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16457 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16458 long arg5
= (long) 0 ;
16459 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16460 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16464 bool temp6
= False
;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 PyObject
* obj2
= 0 ;
16468 PyObject
* obj3
= 0 ;
16469 PyObject
* obj4
= 0 ;
16470 PyObject
* obj5
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16479 arg2
= (int)SWIG_As_int(obj1
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16491 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16495 arg5
= (long)SWIG_As_long(obj4
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16500 arg6
= wxString_in_helper(obj5
);
16501 if (arg6
== NULL
) SWIG_fail
;
16506 if (!wxPyCheckForApp()) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16528 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16531 char *kwnames
[] = {
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16537 if (!wxPyCheckForApp()) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (wxPyPanel
*)new wxPyPanel();
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16551 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16554 PyObject
*arg2
= (PyObject
*) 0 ;
16555 PyObject
*arg3
= (PyObject
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 PyObject
* obj2
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "self",(char *) "_class", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 Py_INCREF(Py_None
); resultobj
= Py_None
;
16582 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "size", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 Py_INCREF(Py_None
); resultobj
= Py_None
;
16614 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 PyObject
* obj2
= 0 ;
16624 PyObject
* obj3
= 0 ;
16625 PyObject
* obj4
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 arg2
= (int)SWIG_As_int(obj1
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16635 arg3
= (int)SWIG_As_int(obj2
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16637 arg4
= (int)SWIG_As_int(obj3
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16639 arg5
= (int)SWIG_As_int(obj4
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 Py_INCREF(Py_None
); resultobj
= Py_None
;
16655 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16662 int arg6
= (int) wxSIZE_AUTO
;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 PyObject
* obj2
= 0 ;
16666 PyObject
* obj3
= 0 ;
16667 PyObject
* obj4
= 0 ;
16668 PyObject
* obj5
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16676 arg2
= (int)SWIG_As_int(obj1
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16678 arg3
= (int)SWIG_As_int(obj2
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16680 arg4
= (int)SWIG_As_int(obj3
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16682 arg5
= (int)SWIG_As_int(obj4
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 arg6
= (int)SWIG_As_int(obj5
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 Py_INCREF(Py_None
); resultobj
= Py_None
;
16702 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 PyObject
* obj1
= 0 ;
16709 PyObject
* obj2
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self",(char *) "width",(char *) "height", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16717 arg2
= (int)SWIG_As_int(obj1
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16719 arg3
= (int)SWIG_As_int(obj2
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 Py_INCREF(Py_None
); resultobj
= Py_None
;
16735 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 PyObject
* obj2
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self",(char *) "x",(char *) "y", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16750 arg2
= (int)SWIG_As_int(obj1
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16752 arg3
= (int)SWIG_As_int(obj2
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 Py_INCREF(Py_None
); resultobj
= Py_None
;
16768 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16770 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16771 int *arg2
= (int *) 0 ;
16772 int *arg3
= (int *) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16783 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16796 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16797 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16798 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16805 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16808 int *arg2
= (int *) 0 ;
16809 int *arg3
= (int *) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16820 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 Py_INCREF(Py_None
); resultobj
= Py_None
;
16832 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16833 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16834 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16835 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16842 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16845 int *arg2
= (int *) 0 ;
16846 int *arg3
= (int *) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self", NULL
16856 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16857 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 Py_INCREF(Py_None
); resultobj
= Py_None
;
16869 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16870 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16871 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16872 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16879 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 wxSize
* resultptr
;
16900 resultptr
= new wxSize((wxSize
&) result
);
16901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16909 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 wxSize
* resultptr
;
16930 resultptr
= new wxSize((wxSize
&) result
);
16931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16939 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 (arg1
)->base_InitDialog();
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 Py_INCREF(Py_None
); resultobj
= Py_None
;
16964 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "self", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (bool)(arg1
)->base_TransferDataToWindow();
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16992 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17020 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (bool)(arg1
)->base_Validate();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17048 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17076 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "self", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17104 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 wxSize
* resultptr
;
17125 resultptr
= new wxSize((wxSize
&) result
);
17126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17134 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17137 wxWindow
*arg2
= (wxWindow
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "child", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 (arg1
)->base_AddChild(arg2
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 Py_INCREF(Py_None
); resultobj
= Py_None
;
17163 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17166 wxWindow
*arg2
= (wxWindow
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 PyObject
* obj1
= 0 ;
17169 char *kwnames
[] = {
17170 (char *) "self",(char *) "child", NULL
17173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 (arg1
)->base_RemoveChild(arg2
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 Py_INCREF(Py_None
); resultobj
= Py_None
;
17192 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17196 PyObject
* obj0
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17220 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17223 wxColour
*arg2
= 0 ;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "c", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17236 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 Py_INCREF(Py_None
); resultobj
= Py_None
;
17252 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17255 wxVisualAttributes result
;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (arg1
)->base_GetDefaultAttributes();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 wxVisualAttributes
* resultptr
;
17273 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17282 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17285 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17287 return Py_BuildValue((char *)"");
17289 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxWindow
*arg1
= (wxWindow
*) 0 ;
17292 int arg2
= (int) (int)-1 ;
17293 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17294 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17295 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17296 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17297 long arg5
= (long) 0 ;
17298 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17299 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17300 wxPyScrolledWindow
*result
;
17303 bool temp6
= False
;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 PyObject
* obj2
= 0 ;
17307 PyObject
* obj3
= 0 ;
17308 PyObject
* obj4
= 0 ;
17309 PyObject
* obj5
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 arg2
= (int)SWIG_As_int(obj1
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17324 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17330 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17334 arg5
= (long)SWIG_As_long(obj4
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17339 arg6
= wxString_in_helper(obj5
);
17340 if (arg6
== NULL
) SWIG_fail
;
17345 if (!wxPyCheckForApp()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17367 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPyScrolledWindow
*result
;
17370 char *kwnames
[] = {
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17376 if (!wxPyCheckForApp()) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17390 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17393 PyObject
*arg2
= (PyObject
*) 0 ;
17394 PyObject
*arg3
= (PyObject
*) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 PyObject
* obj2
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "self",(char *) "_class", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 Py_INCREF(Py_None
); resultobj
= Py_None
;
17421 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self",(char *) "size", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 Py_INCREF(Py_None
); resultobj
= Py_None
;
17453 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 PyObject
* obj1
= 0 ;
17462 PyObject
* obj2
= 0 ;
17463 PyObject
* obj3
= 0 ;
17464 PyObject
* obj4
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 arg2
= (int)SWIG_As_int(obj1
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17474 arg3
= (int)SWIG_As_int(obj2
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17476 arg4
= (int)SWIG_As_int(obj3
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17478 arg5
= (int)SWIG_As_int(obj4
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 Py_INCREF(Py_None
); resultobj
= Py_None
;
17494 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17501 int arg6
= (int) wxSIZE_AUTO
;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 PyObject
* obj2
= 0 ;
17505 PyObject
* obj3
= 0 ;
17506 PyObject
* obj4
= 0 ;
17507 PyObject
* obj5
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17515 arg2
= (int)SWIG_As_int(obj1
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17517 arg3
= (int)SWIG_As_int(obj2
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17519 arg4
= (int)SWIG_As_int(obj3
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17521 arg5
= (int)SWIG_As_int(obj4
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 arg6
= (int)SWIG_As_int(obj5
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 Py_INCREF(Py_None
); resultobj
= Py_None
;
17541 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 PyObject
* obj2
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self",(char *) "width",(char *) "height", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17556 arg2
= (int)SWIG_As_int(obj1
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17558 arg3
= (int)SWIG_As_int(obj2
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 Py_INCREF(Py_None
); resultobj
= Py_None
;
17574 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 PyObject
* obj2
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self",(char *) "x",(char *) "y", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17589 arg2
= (int)SWIG_As_int(obj1
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17591 arg3
= (int)SWIG_As_int(obj2
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 Py_INCREF(Py_None
); resultobj
= Py_None
;
17607 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17610 int *arg2
= (int *) 0 ;
17611 int *arg3
= (int *) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17622 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 Py_INCREF(Py_None
); resultobj
= Py_None
;
17634 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17635 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17636 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17637 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17644 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17647 int *arg2
= (int *) 0 ;
17648 int *arg3
= (int *) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self", NULL
17658 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17659 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 Py_INCREF(Py_None
); resultobj
= Py_None
;
17671 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17672 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17673 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17674 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17681 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17684 int *arg2
= (int *) 0 ;
17685 int *arg3
= (int *) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self", NULL
17695 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17696 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 Py_INCREF(Py_None
); resultobj
= Py_None
;
17708 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17709 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17710 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17711 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17718 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 wxSize
* resultptr
;
17739 resultptr
= new wxSize((wxSize
&) result
);
17740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17748 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 wxSize
* resultptr
;
17769 resultptr
= new wxSize((wxSize
&) result
);
17770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17778 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17781 PyObject
* obj0
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 (arg1
)->base_InitDialog();
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 Py_INCREF(Py_None
); resultobj
= Py_None
;
17803 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= (bool)(arg1
)->base_TransferDataToWindow();
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17831 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17835 PyObject
* obj0
= 0 ;
17836 char *kwnames
[] = {
17837 (char *) "self", NULL
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17859 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17863 PyObject
* obj0
= 0 ;
17864 char *kwnames
[] = {
17865 (char *) "self", NULL
17868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 result
= (bool)(arg1
)->base_Validate();
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17887 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17915 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17943 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17947 PyObject
* obj0
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "self", NULL
17952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 wxSize
* resultptr
;
17964 resultptr
= new wxSize((wxSize
&) result
);
17965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17973 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17976 wxWindow
*arg2
= (wxWindow
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "child", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->base_AddChild(arg2
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 Py_INCREF(Py_None
); resultobj
= Py_None
;
18002 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18005 wxWindow
*arg2
= (wxWindow
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self",(char *) "child", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 (arg1
)->base_RemoveChild(arg2
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 Py_INCREF(Py_None
); resultobj
= Py_None
;
18031 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18059 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18062 wxColour
*arg2
= 0 ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "c", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 Py_INCREF(Py_None
); resultobj
= Py_None
;
18091 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18094 wxVisualAttributes result
;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (arg1
)->base_GetDefaultAttributes();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 wxVisualAttributes
* resultptr
;
18112 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18121 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18124 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18126 return Py_BuildValue((char *)"");
18128 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18129 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18134 static PyObject
*_wrap_PrintoutTitleStr_get() {
18139 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18141 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18148 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18149 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18154 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18159 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18161 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18168 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18169 PyObject
*resultobj
;
18170 wxPrintData
*result
;
18172 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (wxPrintData
*)new wxPrintData();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18187 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18188 PyObject
*resultobj
;
18189 wxPrintData
*arg1
= 0 ;
18190 wxPrintData
*result
;
18191 PyObject
* obj0
= 0 ;
18193 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18197 if (arg1
== NULL
) {
18198 PyErr_SetString(PyExc_TypeError
,"null reference");
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18215 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18220 argc
= PyObject_Length(args
);
18221 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18222 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18225 return _wrap_new_PrintData__SWIG_0(self
,args
);
18231 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18239 return _wrap_new_PrintData__SWIG_1(self
,args
);
18243 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18248 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 Py_INCREF(Py_None
); resultobj
= Py_None
;
18273 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= (int)(arg1
)->GetNoCopies();
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 resultobj
= SWIG_From_int((int)result
);
18299 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (bool)(arg1
)->GetCollate();
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18327 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (int)(arg1
)->GetOrientation();
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_From_int((int)result
);
18353 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (bool)(arg1
)->Ok();
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18381 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
;
18383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18385 PyObject
* obj0
= 0 ;
18386 char *kwnames
[] = {
18387 (char *) "self", NULL
18390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18397 result
= (wxString
*) &_result_ref
;
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18405 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18407 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18416 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
;
18418 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "self", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (bool)(arg1
)->GetColour();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18444 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18448 PyObject
* obj0
= 0 ;
18449 char *kwnames
[] = {
18450 (char *) "self", NULL
18453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= (int)(arg1
)->GetDuplex();
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_From_int((int)result
);
18470 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18474 PyObject
* obj0
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "self", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= (int)(arg1
)->GetPaperId();
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= SWIG_From_int((int)result
);
18496 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 char *kwnames
[] = {
18502 (char *) "self", NULL
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18512 result
= (wxSize
*) &_result_ref
;
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18525 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 result
= (int)(arg1
)->GetQuality();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_From_int((int)result
);
18551 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (int)(arg1
)->GetBin();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_From_int((int)result
);
18577 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self",(char *) "v", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18590 arg2
= (int)SWIG_As_int(obj1
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 (arg1
)->SetNoCopies(arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 Py_INCREF(Py_None
); resultobj
= Py_None
;
18606 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18610 PyObject
* obj0
= 0 ;
18611 PyObject
* obj1
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self",(char *) "flag", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18619 arg2
= (bool)SWIG_As_bool(obj1
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 (arg1
)->SetCollate(arg2
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 Py_INCREF(Py_None
); resultobj
= Py_None
;
18635 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "orient", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18648 arg2
= (int)SWIG_As_int(obj1
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 (arg1
)->SetOrientation(arg2
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 Py_INCREF(Py_None
); resultobj
= Py_None
;
18664 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18667 wxString
*arg2
= 0 ;
18668 bool temp2
= False
;
18669 PyObject
* obj0
= 0 ;
18670 PyObject
* obj1
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self",(char *) "name", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18679 arg2
= wxString_in_helper(obj1
);
18680 if (arg2
== NULL
) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 Py_INCREF(Py_None
); resultobj
= Py_None
;
18705 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self",(char *) "colour", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18718 arg2
= (bool)SWIG_As_bool(obj1
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->SetColour(arg2
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 Py_INCREF(Py_None
); resultobj
= Py_None
;
18734 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "duplex", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 arg2
= (int)SWIG_As_int(obj1
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 Py_INCREF(Py_None
); resultobj
= Py_None
;
18763 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "sizeId", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 arg2
= (int)SWIG_As_int(obj1
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 Py_INCREF(Py_None
); resultobj
= Py_None
;
18792 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self",(char *) "sz", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18808 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 Py_INCREF(Py_None
); resultobj
= Py_None
;
18824 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "quality", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18837 arg2
= (int)SWIG_As_int(obj1
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 (arg1
)->SetQuality(arg2
);
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 Py_INCREF(Py_None
); resultobj
= Py_None
;
18853 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self",(char *) "bin", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18866 arg2
= (int)SWIG_As_int(obj1
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->SetBin((wxPrintBin
)arg2
);
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 Py_INCREF(Py_None
); resultobj
= Py_None
;
18882 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self", NULL
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18898 result
= (wxString
*) &_result_ref
;
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18917 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18933 result
= (wxString
*) &_result_ref
;
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18943 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18952 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18968 result
= (wxString
*) &_result_ref
;
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18978 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18987 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 wxString
const &_result_ref
= (arg1
)->GetFilename();
19003 result
= (wxString
*) &_result_ref
;
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19011 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19013 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19022 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19038 result
= (wxString
*) &_result_ref
;
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19046 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19048 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19057 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (double)(arg1
)->GetPrinterScaleX();
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= SWIG_From_double((double)result
);
19083 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19087 PyObject
* obj0
= 0 ;
19088 char *kwnames
[] = {
19089 (char *) "self", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 result
= (double)(arg1
)->GetPrinterScaleY();
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 resultobj
= SWIG_From_double((double)result
);
19109 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (long)(arg1
)->GetPrinterTranslateX();
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_From_long((long)result
);
19135 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= (long)(arg1
)->GetPrinterTranslateY();
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= SWIG_From_long((long)result
);
19161 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19165 PyObject
* obj0
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 result
= (int)(arg1
)->GetPrintMode();
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= SWIG_From_int((int)result
);
19187 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19190 wxString
*arg2
= 0 ;
19191 bool temp2
= False
;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self",(char *) "command", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19202 arg2
= wxString_in_helper(obj1
);
19203 if (arg2
== NULL
) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19231 wxString
*arg2
= 0 ;
19232 bool temp2
= False
;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "options", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= wxString_in_helper(obj1
);
19244 if (arg2
== NULL
) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 Py_INCREF(Py_None
); resultobj
= Py_None
;
19269 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19272 wxString
*arg2
= 0 ;
19273 bool temp2
= False
;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self",(char *) "command", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 arg2
= wxString_in_helper(obj1
);
19285 if (arg2
== NULL
) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 Py_INCREF(Py_None
); resultobj
= Py_None
;
19310 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19313 wxString
*arg2
= 0 ;
19314 bool temp2
= False
;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "filename", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 arg2
= wxString_in_helper(obj1
);
19326 if (arg2
== NULL
) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 (arg1
)->SetFilename((wxString
const &)*arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19354 wxString
*arg2
= 0 ;
19355 bool temp2
= False
;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self",(char *) "path", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 arg2
= wxString_in_helper(obj1
);
19367 if (arg2
== NULL
) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19392 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self",(char *) "x", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19405 arg2
= (double)SWIG_As_double(obj1
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->SetPrinterScaleX(arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "y", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 arg2
= (double)SWIG_As_double(obj1
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 (arg1
)->SetPrinterScaleY(arg2
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 Py_INCREF(Py_None
); resultobj
= Py_None
;
19450 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19455 PyObject
* obj0
= 0 ;
19456 PyObject
* obj1
= 0 ;
19457 PyObject
* obj2
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "x",(char *) "y", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 arg2
= (double)SWIG_As_double(obj1
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19467 arg3
= (double)SWIG_As_double(obj2
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 Py_INCREF(Py_None
); resultobj
= Py_None
;
19483 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
;
19485 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self",(char *) "x", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 arg2
= (long)SWIG_As_long(obj1
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 (arg1
)->SetPrinterTranslateX(arg2
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 Py_INCREF(Py_None
); resultobj
= Py_None
;
19512 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "y", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19525 arg2
= (long)SWIG_As_long(obj1
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 (arg1
)->SetPrinterTranslateY(arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 Py_INCREF(Py_None
); resultobj
= Py_None
;
19541 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 PyObject
* obj2
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self",(char *) "x",(char *) "y", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19556 arg2
= (long)SWIG_As_long(obj1
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19558 arg3
= (long)SWIG_As_long(obj2
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 Py_INCREF(Py_None
); resultobj
= Py_None
;
19574 static PyObject
*_wrap_PrintData_SetPrintMode(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 *) "printMode", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",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
= (int)SWIG_As_int(obj1
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 Py_INCREF(Py_None
); resultobj
= Py_None
;
19603 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19606 wxOutputStream
*result
;
19607 PyObject
* obj0
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19629 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19632 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self",(char *) "outputstream", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 (arg1
)->SetOutputStream(arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19661 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19663 return Py_BuildValue((char *)"");
19665 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19666 PyObject
*resultobj
;
19667 wxPageSetupDialogData
*result
;
19669 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19684 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19685 PyObject
*resultobj
;
19686 wxPageSetupDialogData
*arg1
= 0 ;
19687 wxPageSetupDialogData
*result
;
19688 PyObject
* obj0
= 0 ;
19690 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19694 if (arg1
== NULL
) {
19695 PyErr_SetString(PyExc_TypeError
,"null reference");
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19712 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19717 argc
= PyObject_Length(args
);
19718 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19719 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19722 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19728 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19736 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19740 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19745 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 char *kwnames
[] = {
19750 (char *) "self", NULL
19753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 Py_INCREF(Py_None
); resultobj
= Py_None
;
19770 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self",(char *) "flag", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 arg2
= (bool)SWIG_As_bool(obj1
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 (arg1
)->EnableHelp(arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 Py_INCREF(Py_None
); resultobj
= Py_None
;
19799 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "flag", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19812 arg2
= (bool)SWIG_As_bool(obj1
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->EnableMargins(arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 Py_INCREF(Py_None
); resultobj
= Py_None
;
19828 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "flag", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 arg2
= (bool)SWIG_As_bool(obj1
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 (arg1
)->EnableOrientation(arg2
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 Py_INCREF(Py_None
); resultobj
= Py_None
;
19857 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self",(char *) "flag", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19870 arg2
= (bool)SWIG_As_bool(obj1
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 (arg1
)->EnablePaper(arg2
);
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 Py_INCREF(Py_None
); resultobj
= Py_None
;
19886 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self",(char *) "flag", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 arg2
= (bool)SWIG_As_bool(obj1
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 (arg1
)->EnablePrinter(arg2
);
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 Py_INCREF(Py_None
); resultobj
= Py_None
;
19915 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (bool)(arg1
)->GetDefaultMinMargins();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19943 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19945 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (bool)(arg1
)->GetEnableMargins();
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19971 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19975 PyObject
* obj0
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (bool)(arg1
)->GetEnableOrientation();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (bool)(arg1
)->GetEnablePaper();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20027 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->GetEnablePrinter();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (bool)(arg1
)->GetEnableHelp();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20083 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)(arg1
)->GetDefaultInfo();
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20111 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 result
= (arg1
)->GetMarginTopLeft();
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20131 wxPoint
* resultptr
;
20132 resultptr
= new wxPoint((wxPoint
&) result
);
20133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20141 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (arg1
)->GetMarginBottomRight();
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20161 wxPoint
* resultptr
;
20162 resultptr
= new wxPoint((wxPoint
&) result
);
20163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20171 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 result
= (arg1
)->GetMinMarginTopLeft();
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20191 wxPoint
* resultptr
;
20192 resultptr
= new wxPoint((wxPoint
&) result
);
20193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20201 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "self", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (arg1
)->GetMinMarginBottomRight();
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20221 wxPoint
* resultptr
;
20222 resultptr
= new wxPoint((wxPoint
&) result
);
20223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20231 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 result
= (int)(arg1
)->GetPaperId();
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 resultobj
= SWIG_From_int((int)result
);
20257 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20261 PyObject
* obj0
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 result
= (arg1
)->GetPaperSize();
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20277 wxSize
* resultptr
;
20278 resultptr
= new wxSize((wxSize
&) result
);
20279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20287 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20290 wxPrintData
*result
;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20303 result
= (wxPrintData
*) &_result_ref
;
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20316 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)(arg1
)->Ok();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20344 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "flag", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 arg2
= (bool)SWIG_As_bool(obj1
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 (arg1
)->SetDefaultInfo(arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 Py_INCREF(Py_None
); resultobj
= Py_None
;
20373 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self",(char *) "flag", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 arg2
= (bool)SWIG_As_bool(obj1
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 (arg1
)->SetDefaultMinMargins(arg2
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 Py_INCREF(Py_None
); resultobj
= Py_None
;
20402 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20405 wxPoint
*arg2
= 0 ;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self",(char *) "pt", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 Py_INCREF(Py_None
); resultobj
= Py_None
;
20434 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20437 wxPoint
*arg2
= 0 ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self",(char *) "pt", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 Py_INCREF(Py_None
); resultobj
= Py_None
;
20466 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20469 wxPoint
*arg2
= 0 ;
20471 PyObject
* obj0
= 0 ;
20472 PyObject
* obj1
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self",(char *) "pt", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20482 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20501 wxPoint
*arg2
= 0 ;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self",(char *) "pt", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 Py_INCREF(Py_None
); resultobj
= Py_None
;
20530 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
;
20532 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self",(char *) "id", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20543 arg2
= (int)SWIG_As_int(obj1
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 Py_INCREF(Py_None
); resultobj
= Py_None
;
20559 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 PyObject
* obj1
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self",(char *) "size", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20575 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20594 wxPrintData
*arg2
= 0 ;
20595 PyObject
* obj0
= 0 ;
20596 PyObject
* obj1
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self",(char *) "printData", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20607 if (arg2
== NULL
) {
20608 PyErr_SetString(PyExc_TypeError
,"null reference");
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20628 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20630 return Py_BuildValue((char *)"");
20632 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxWindow
*arg1
= (wxWindow
*) 0 ;
20635 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20636 wxPageSetupDialog
*result
;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "parent",(char *) "data", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 if (!wxPyCheckForApp()) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20665 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20668 wxPageSetupDialogData
*result
;
20669 PyObject
* obj0
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20681 result
= (wxPageSetupDialogData
*) &_result_ref
;
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20694 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (int)(arg1
)->ShowModal();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_From_int((int)result
);
20720 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20723 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20725 return Py_BuildValue((char *)"");
20727 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20728 PyObject
*resultobj
;
20729 wxPrintDialogData
*result
;
20731 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20746 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20747 PyObject
*resultobj
;
20748 wxPrintData
*arg1
= 0 ;
20749 wxPrintDialogData
*result
;
20750 PyObject
* obj0
= 0 ;
20752 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20756 if (arg1
== NULL
) {
20757 PyErr_SetString(PyExc_TypeError
,"null reference");
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20774 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20779 argc
= PyObject_Length(args
);
20780 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20781 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20784 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20790 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20798 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20802 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20807 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20810 PyObject
* obj0
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 Py_INCREF(Py_None
); resultobj
= Py_None
;
20832 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20836 PyObject
* obj0
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20851 resultobj
= SWIG_From_int((int)result
);
20858 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "self", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= SWIG_From_int((int)result
);
20884 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_From_int((int)result
);
20910 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20914 PyObject
* obj0
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_From_int((int)result
);
20936 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_From_int((int)result
);
20962 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20966 PyObject
* obj0
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20990 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20994 PyObject
* obj0
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21018 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21046 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21074 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21102 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 char *kwnames
[] = {
21109 (char *) "self",(char *) "v", NULL
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 arg2
= (int)SWIG_As_int(obj1
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 (arg1
)->SetFromPage(arg2
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 Py_INCREF(Py_None
); resultobj
= Py_None
;
21131 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
;
21133 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self",(char *) "v", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21144 arg2
= (int)SWIG_As_int(obj1
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 (arg1
)->SetToPage(arg2
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 Py_INCREF(Py_None
); resultobj
= Py_None
;
21160 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self",(char *) "v", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21173 arg2
= (int)SWIG_As_int(obj1
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 (arg1
)->SetMinPage(arg2
);
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self",(char *) "v", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21202 arg2
= (int)SWIG_As_int(obj1
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 (arg1
)->SetMaxPage(arg2
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 Py_INCREF(Py_None
); resultobj
= Py_None
;
21218 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "v", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21231 arg2
= (int)SWIG_As_int(obj1
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 (arg1
)->SetNoCopies(arg2
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 Py_INCREF(Py_None
); resultobj
= Py_None
;
21247 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self",(char *) "flag", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21260 arg2
= (bool)SWIG_As_bool(obj1
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 (arg1
)->SetAllPages(arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 Py_INCREF(Py_None
); resultobj
= Py_None
;
21276 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self",(char *) "flag", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 arg2
= (bool)SWIG_As_bool(obj1
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 (arg1
)->SetSelection(arg2
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 Py_INCREF(Py_None
); resultobj
= Py_None
;
21305 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21309 PyObject
* obj0
= 0 ;
21310 PyObject
* obj1
= 0 ;
21311 char *kwnames
[] = {
21312 (char *) "self",(char *) "flag", NULL
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21318 arg2
= (bool)SWIG_As_bool(obj1
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 (arg1
)->SetCollate(arg2
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 Py_INCREF(Py_None
); resultobj
= Py_None
;
21334 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self",(char *) "flag", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21347 arg2
= (bool)SWIG_As_bool(obj1
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 (arg1
)->SetPrintToFile(arg2
);
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 Py_INCREF(Py_None
); resultobj
= Py_None
;
21363 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self",(char *) "flag", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21376 arg2
= (bool)SWIG_As_bool(obj1
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 (arg1
)->SetSetupDialog(arg2
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 Py_INCREF(Py_None
); resultobj
= Py_None
;
21392 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21394 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "flag", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21405 arg2
= (bool)SWIG_As_bool(obj1
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 (arg1
)->EnablePrintToFile(arg2
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 Py_INCREF(Py_None
); resultobj
= Py_None
;
21421 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
;
21423 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21425 PyObject
* obj0
= 0 ;
21426 PyObject
* obj1
= 0 ;
21427 char *kwnames
[] = {
21428 (char *) "self",(char *) "flag", NULL
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21434 arg2
= (bool)SWIG_As_bool(obj1
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 (arg1
)->EnableSelection(arg2
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 Py_INCREF(Py_None
); resultobj
= Py_None
;
21450 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "flag", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21463 arg2
= (bool)SWIG_As_bool(obj1
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 (arg1
)->EnablePageNumbers(arg2
);
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 Py_INCREF(Py_None
); resultobj
= Py_None
;
21479 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 char *kwnames
[] = {
21486 (char *) "self",(char *) "flag", NULL
21489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21492 arg2
= (bool)SWIG_As_bool(obj1
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 (arg1
)->EnableHelp(arg2
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 Py_INCREF(Py_None
); resultobj
= Py_None
;
21508 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21512 PyObject
* obj0
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21536 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21540 PyObject
* obj0
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21564 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21592 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21620 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21624 PyObject
* obj0
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21648 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21651 wxPrintData
*result
;
21652 PyObject
* obj0
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21664 result
= (wxPrintData
*) &_result_ref
;
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21677 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21680 wxPrintData
*arg2
= 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self",(char *) "printData", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21693 if (arg2
== NULL
) {
21694 PyErr_SetString(PyExc_TypeError
,"null reference");
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 Py_INCREF(Py_None
); resultobj
= Py_None
;
21711 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21714 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21716 return Py_BuildValue((char *)"");
21718 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxWindow
*arg1
= (wxWindow
*) 0 ;
21721 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21722 wxPrintDialog
*result
;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "parent",(char *) "data", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21737 if (!wxPyCheckForApp()) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21751 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21754 wxPrintDialogData
*result
;
21755 PyObject
* obj0
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21767 result
= (wxPrintDialogData
*) &_result_ref
;
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21780 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
;
21782 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21784 PyObject
* obj0
= 0 ;
21785 char *kwnames
[] = {
21786 (char *) "self", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (wxDC
*)(arg1
)->GetPrintDC();
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= wxPyMake_wxObject(result
, 1);
21808 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21812 PyObject
* obj0
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 result
= (int)(arg1
)->ShowModal();
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= SWIG_From_int((int)result
);
21834 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21837 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21839 return Py_BuildValue((char *)"");
21841 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21845 PyObject
* obj0
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "data", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 if (!wxPyCheckForApp()) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= (wxPrinter
*)new wxPrinter(arg1
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21870 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 Py_INCREF(Py_None
); resultobj
= Py_None
;
21895 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21898 wxWindow
*arg2
= (wxWindow
*) 0 ;
21899 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21900 PyObject
* obj0
= 0 ;
21901 PyObject
* obj1
= 0 ;
21902 PyObject
* obj2
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self",(char *) "parent",(char *) "printout", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21912 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 Py_INCREF(Py_None
); resultobj
= Py_None
;
21928 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
;
21930 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21931 wxPrintDialogData
*result
;
21932 PyObject
* obj0
= 0 ;
21933 char *kwnames
[] = {
21934 (char *) "self", NULL
21937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21944 result
= (wxPrintDialogData
*) &_result_ref
;
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21957 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21960 wxWindow
*arg2
= (wxWindow
*) 0 ;
21961 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21962 int arg4
= (int) True
;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 PyObject
* obj2
= 0 ;
21967 PyObject
* obj3
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21977 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 arg4
= (int)SWIG_As_int(obj3
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21999 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22002 wxWindow
*arg2
= (wxWindow
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self",(char *) "parent", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= wxPyMake_wxObject(result
, 0);
22031 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22034 wxWindow
*arg2
= (wxWindow
*) 0 ;
22035 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22036 wxString
*arg4
= 0 ;
22037 bool temp4
= False
;
22038 PyObject
* obj0
= 0 ;
22039 PyObject
* obj1
= 0 ;
22040 PyObject
* obj2
= 0 ;
22041 PyObject
* obj3
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22051 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22054 arg4
= wxString_in_helper(obj3
);
22055 if (arg4
== NULL
) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 Py_INCREF(Py_None
); resultobj
= Py_None
;
22080 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22083 wxWindow
*arg2
= (wxWindow
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "parent", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (bool)(arg1
)->Setup(arg2
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22112 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22114 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22116 PyObject
* obj0
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 result
= (bool)(arg1
)->GetAbort();
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22140 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22143 char *kwnames
[] = {
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (int)wxPrinter::GetLastError();
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_From_int((int)result
);
22162 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22165 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22167 return Py_BuildValue((char *)"");
22169 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22172 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22173 wxPyPrintout
*result
;
22174 bool temp1
= False
;
22175 PyObject
* obj0
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "title", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22183 arg1
= wxString_in_helper(obj0
);
22184 if (arg1
== NULL
) SWIG_fail
;
22189 if (!wxPyCheckForApp()) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= wxPyMake_wxObject(result
, 1);
22213 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22216 PyObject
*arg2
= (PyObject
*) 0 ;
22217 PyObject
*arg3
= (PyObject
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 PyObject
* obj2
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "self",(char *) "self",(char *) "_class", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 Py_INCREF(Py_None
); resultobj
= Py_None
;
22244 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22276 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (wxDC
*)(arg1
)->GetDC();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= wxPyMake_wxObject(result
, 0);
22304 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22307 wxDC
*arg2
= (wxDC
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self",(char *) "dc", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 (arg1
)->SetDC(arg2
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 Py_INCREF(Py_None
); resultobj
= Py_None
;
22333 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
;
22335 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 PyObject
* obj2
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self",(char *) "w",(char *) "h", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22348 arg2
= (int)SWIG_As_int(obj1
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22350 arg3
= (int)SWIG_As_int(obj2
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 Py_INCREF(Py_None
); resultobj
= Py_None
;
22366 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22369 int *arg2
= (int *) 0 ;
22370 int *arg3
= (int *) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22380 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22381 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 Py_INCREF(Py_None
); resultobj
= Py_None
;
22393 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22394 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22395 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22396 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22403 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 PyObject
* obj2
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self",(char *) "w",(char *) "h", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 arg2
= (int)SWIG_As_int(obj1
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22420 arg3
= (int)SWIG_As_int(obj2
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 Py_INCREF(Py_None
); resultobj
= Py_None
;
22436 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22439 int *arg2
= (int *) 0 ;
22440 int *arg3
= (int *) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self", NULL
22450 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22451 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 Py_INCREF(Py_None
); resultobj
= Py_None
;
22463 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22464 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22465 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22466 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22473 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 PyObject
* obj2
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self",(char *) "x",(char *) "y", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 arg2
= (int)SWIG_As_int(obj1
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22490 arg3
= (int)SWIG_As_int(obj2
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->SetPPIScreen(arg2
,arg3
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 Py_INCREF(Py_None
); resultobj
= Py_None
;
22506 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22509 int *arg2
= (int *) 0 ;
22510 int *arg3
= (int *) 0 ;
22515 PyObject
* obj0
= 0 ;
22516 char *kwnames
[] = {
22517 (char *) "self", NULL
22520 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22521 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 (arg1
)->GetPPIScreen(arg2
,arg3
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 Py_INCREF(Py_None
); resultobj
= Py_None
;
22533 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22534 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22535 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22536 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22543 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 PyObject
* obj2
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "x",(char *) "y", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 arg2
= (int)SWIG_As_int(obj1
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22560 arg3
= (int)SWIG_As_int(obj2
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22579 int *arg2
= (int *) 0 ;
22580 int *arg3
= (int *) 0 ;
22585 PyObject
* obj0
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self", NULL
22590 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22591 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 Py_INCREF(Py_None
); resultobj
= Py_None
;
22603 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22604 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22605 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22606 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22613 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22617 PyObject
* obj0
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (bool)(arg1
)->IsPreview();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22641 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self",(char *) "p", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 arg2
= (bool)SWIG_As_bool(obj1
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 (arg1
)->SetIsPreview(arg2
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 Py_INCREF(Py_None
); resultobj
= Py_None
;
22670 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 PyObject
* obj2
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 arg2
= (int)SWIG_As_int(obj1
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22688 arg3
= (int)SWIG_As_int(obj2
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22706 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22709 PyObject
* obj0
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 (arg1
)->base_OnEndDocument();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 Py_INCREF(Py_None
); resultobj
= Py_None
;
22731 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 (arg1
)->base_OnBeginPrinting();
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 Py_INCREF(Py_None
); resultobj
= Py_None
;
22756 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22759 PyObject
* obj0
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 (arg1
)->base_OnEndPrinting();
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 Py_INCREF(Py_None
); resultobj
= Py_None
;
22781 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->base_OnPreparePrinting();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self",(char *) "page", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22820 arg2
= (int)SWIG_As_int(obj1
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (bool)(arg1
)->base_HasPage(arg2
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22838 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22841 int *arg2
= (int *) 0 ;
22842 int *arg3
= (int *) 0 ;
22843 int *arg4
= (int *) 0 ;
22844 int *arg5
= (int *) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self", NULL
22858 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22859 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22860 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22861 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 Py_INCREF(Py_None
); resultobj
= Py_None
;
22873 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22874 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22875 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22876 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22877 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22878 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22879 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22880 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22887 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22890 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22892 return Py_BuildValue((char *)"");
22894 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22897 wxWindow
*arg2
= (wxWindow
*) 0 ;
22898 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22899 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22900 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22901 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22902 long arg5
= (long) 0 ;
22903 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22904 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22905 wxPreviewCanvas
*result
;
22908 bool temp6
= False
;
22909 PyObject
* obj0
= 0 ;
22910 PyObject
* obj1
= 0 ;
22911 PyObject
* obj2
= 0 ;
22912 PyObject
* obj3
= 0 ;
22913 PyObject
* obj4
= 0 ;
22914 PyObject
* obj5
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22927 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22933 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22937 arg5
= (long)SWIG_As_long(obj4
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22942 arg6
= wxString_in_helper(obj5
);
22943 if (arg6
== NULL
) SWIG_fail
;
22948 if (!wxPyCheckForApp()) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22970 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
22972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22973 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22975 return Py_BuildValue((char *)"");
22977 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22980 wxFrame
*arg2
= (wxFrame
*) 0 ;
22981 wxString
*arg3
= 0 ;
22982 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22983 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22984 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22985 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22986 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22987 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22988 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22989 wxPreviewFrame
*result
;
22990 bool temp3
= False
;
22993 bool temp7
= False
;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 PyObject
* obj2
= 0 ;
22997 PyObject
* obj3
= 0 ;
22998 PyObject
* obj4
= 0 ;
22999 PyObject
* obj5
= 0 ;
23000 PyObject
* obj6
= 0 ;
23001 char *kwnames
[] = {
23002 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 arg3
= wxString_in_helper(obj2
);
23012 if (arg3
== NULL
) SWIG_fail
;
23018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23028 arg6
= (long)SWIG_As_long(obj5
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23033 arg7
= wxString_in_helper(obj6
);
23034 if (arg7
== NULL
) SWIG_fail
;
23039 if (!wxPyCheckForApp()) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23069 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 (arg1
)->Initialize();
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 Py_INCREF(Py_None
); resultobj
= Py_None
;
23094 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "self", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 (arg1
)->CreateControlBar();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 Py_INCREF(Py_None
); resultobj
= Py_None
;
23119 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 char *kwnames
[] = {
23124 (char *) "self", NULL
23127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 (arg1
)->CreateCanvas();
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 Py_INCREF(Py_None
); resultobj
= Py_None
;
23144 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23147 wxPreviewControlBar
*result
;
23148 PyObject
* obj0
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23170 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23173 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23175 return Py_BuildValue((char *)"");
23177 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
;
23179 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23181 wxWindow
*arg3
= (wxWindow
*) 0 ;
23182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23186 long arg6
= (long) wxTAB_TRAVERSAL
;
23187 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23188 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23189 wxPreviewControlBar
*result
;
23192 bool temp7
= False
;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 PyObject
* obj2
= 0 ;
23196 PyObject
* obj3
= 0 ;
23197 PyObject
* obj4
= 0 ;
23198 PyObject
* obj5
= 0 ;
23199 PyObject
* obj6
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23207 arg2
= (long)SWIG_As_long(obj1
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23209 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23220 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23224 arg6
= (long)SWIG_As_long(obj5
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23229 arg7
= wxString_in_helper(obj6
);
23230 if (arg7
== NULL
) SWIG_fail
;
23235 if (!wxPyCheckForApp()) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23257 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23261 PyObject
* obj0
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 result
= (int)(arg1
)->GetZoomControl();
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= SWIG_From_int((int)result
);
23283 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "self",(char *) "zoom", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23296 arg2
= (int)SWIG_As_int(obj1
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 (arg1
)->SetZoomControl(arg2
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 Py_INCREF(Py_None
); resultobj
= Py_None
;
23312 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23315 wxPrintPreview
*result
;
23316 PyObject
* obj0
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23338 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 Py_INCREF(Py_None
); resultobj
= Py_None
;
23363 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23366 PyObject
* obj0
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 (arg1
)->OnPrevious();
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 Py_INCREF(Py_None
); resultobj
= Py_None
;
23388 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23391 PyObject
* obj0
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 Py_INCREF(Py_None
); resultobj
= Py_None
;
23413 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23416 PyObject
* obj0
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 Py_INCREF(Py_None
); resultobj
= Py_None
;
23438 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 Py_INCREF(Py_None
); resultobj
= Py_None
;
23463 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23466 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23468 return Py_BuildValue((char *)"");
23470 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23471 PyObject
*resultobj
;
23472 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23473 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23474 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23475 wxPrintPreview
*result
;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 PyObject
* obj2
= 0 ;
23480 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23486 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23490 if (!wxPyCheckForApp()) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23504 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23505 PyObject
*resultobj
;
23506 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23507 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23508 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23509 wxPrintPreview
*result
;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 PyObject
* obj2
= 0 ;
23514 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23522 if (!wxPyCheckForApp()) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23536 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23541 argc
= PyObject_Length(args
);
23542 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23543 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23545 if ((argc
>= 2) && (argc
<= 3)) {
23549 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23559 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23568 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23572 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23580 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23589 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23599 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23609 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23617 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23623 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23628 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
;
23630 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self",(char *) "pageNum", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23642 arg2
= (int)SWIG_As_int(obj1
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23660 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23664 PyObject
* obj0
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (int)(arg1
)->GetCurrentPage();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_From_int((int)result
);
23686 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23689 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self",(char *) "printout", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->SetPrintout(arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23718 wxPyPrintout
*result
;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= wxPyMake_wxObject(result
, 0);
23743 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23746 wxPyPrintout
*result
;
23747 PyObject
* obj0
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= wxPyMake_wxObject(result
, 0);
23771 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23773 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23774 wxFrame
*arg2
= (wxFrame
*) 0 ;
23775 PyObject
* obj0
= 0 ;
23776 PyObject
* obj1
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "self",(char *) "frame", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 (arg1
)->SetFrame(arg2
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 Py_INCREF(Py_None
); resultobj
= Py_None
;
23800 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23803 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23804 PyObject
* obj0
= 0 ;
23805 PyObject
* obj1
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "self",(char *) "canvas", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 (arg1
)->SetCanvas(arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 Py_INCREF(Py_None
); resultobj
= Py_None
;
23829 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (wxFrame
*)(arg1
)->GetFrame();
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23849 resultobj
= wxPyMake_wxObject(result
, 0);
23857 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23860 wxPreviewCanvas
*result
;
23861 PyObject
* obj0
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23883 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
;
23885 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23886 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 PyObject
* obj2
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23904 if (arg3
== NULL
) {
23905 PyErr_SetString(PyExc_TypeError
,"null reference");
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23924 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23927 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 PyObject
* obj2
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23942 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23945 if (arg3
== NULL
) {
23946 PyErr_SetString(PyExc_TypeError
,"null reference");
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23965 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "pageNum", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 arg2
= (int)SWIG_As_int(obj1
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (bool)(arg1
)->RenderPage(arg2
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23997 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24000 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 PyObject
* obj1
= 0 ;
24003 char *kwnames
[] = {
24004 (char *) "self",(char *) "canvas", NULL
24007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 (arg1
)->AdjustScrollbars(arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 Py_INCREF(Py_None
); resultobj
= Py_None
;
24026 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24029 wxPrintDialogData
*result
;
24030 PyObject
* obj0
= 0 ;
24031 char *kwnames
[] = {
24032 (char *) "self", NULL
24035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24042 result
= (wxPrintDialogData
*) &_result_ref
;
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24055 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 PyObject
* obj1
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "self",(char *) "percent", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24068 arg2
= (int)SWIG_As_int(obj1
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 (arg1
)->SetZoom(arg2
);
24074 wxPyEndAllowThreads(__tstate
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24077 Py_INCREF(Py_None
); resultobj
= Py_None
;
24084 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24085 PyObject
*resultobj
;
24086 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24088 PyObject
* obj0
= 0 ;
24089 char *kwnames
[] = {
24090 (char *) "self", NULL
24093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= (int)(arg1
)->GetZoom();
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 resultobj
= SWIG_From_int((int)result
);
24110 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24111 PyObject
*resultobj
;
24112 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24114 PyObject
* obj0
= 0 ;
24115 char *kwnames
[] = {
24116 (char *) "self", NULL
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (int)(arg1
)->GetMaxPage();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= SWIG_From_int((int)result
);
24136 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24140 PyObject
* obj0
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (int)(arg1
)->GetMinPage();
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= SWIG_From_int((int)result
);
24162 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24166 PyObject
* obj0
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (bool)(arg1
)->Ok();
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24190 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self",(char *) "ok", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 arg2
= (bool)SWIG_As_bool(obj1
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 (arg1
)->SetOk(arg2
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 Py_INCREF(Py_None
); resultobj
= Py_None
;
24219 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 PyObject
* obj1
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self",(char *) "interactive", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24233 arg2
= (bool)SWIG_As_bool(obj1
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (bool)(arg1
)->Print(arg2
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24251 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->DetermineScaling();
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24279 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24281 return Py_BuildValue((char *)"");
24283 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24284 PyObject
*resultobj
;
24285 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24286 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24287 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24288 wxPyPrintPreview
*result
;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 PyObject
* obj2
= 0 ;
24293 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 if (!wxPyCheckForApp()) SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24317 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24318 PyObject
*resultobj
;
24319 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24320 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24321 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24322 wxPyPrintPreview
*result
;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 PyObject
* obj2
= 0 ;
24327 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24332 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 if (!wxPyCheckForApp()) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24349 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24354 argc
= PyObject_Length(args
);
24355 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24356 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24358 if ((argc
>= 2) && (argc
<= 3)) {
24362 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24372 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24381 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24385 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24393 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24402 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24412 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24422 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24430 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24436 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24441 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24444 PyObject
*arg2
= (PyObject
*) 0 ;
24445 PyObject
*arg3
= (PyObject
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 PyObject
* obj2
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self",(char *) "self",(char *) "_class", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 Py_INCREF(Py_None
); resultobj
= Py_None
;
24472 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "pageNum", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24486 arg2
= (int)SWIG_As_int(obj1
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24504 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
;
24506 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24507 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 PyObject
* obj2
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24525 if (arg3
== NULL
) {
24526 PyErr_SetString(PyExc_TypeError
,"null reference");
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24545 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24547 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24548 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 PyObject
* obj1
= 0 ;
24553 PyObject
* obj2
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24566 if (arg3
== NULL
) {
24567 PyErr_SetString(PyExc_TypeError
,"null reference");
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24586 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "self",(char *) "pageNum", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24600 arg2
= (int)SWIG_As_int(obj1
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24618 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "percent", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 arg2
= (int)SWIG_As_int(obj1
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->base_SetZoom(arg2
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self",(char *) "interactive", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24661 arg2
= (bool)SWIG_As_bool(obj1
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= (bool)(arg1
)->base_Print(arg2
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24679 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 (arg1
)->base_DetermineScaling();
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 Py_INCREF(Py_None
); resultobj
= Py_None
;
24704 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24707 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24709 return Py_BuildValue((char *)"");
24711 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24714 wxFrame
*arg2
= (wxFrame
*) 0 ;
24715 wxString
*arg3
= 0 ;
24716 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24717 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24718 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24719 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24720 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24721 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24722 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24723 wxPyPreviewFrame
*result
;
24724 bool temp3
= False
;
24727 bool temp7
= False
;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 PyObject
* obj2
= 0 ;
24731 PyObject
* obj3
= 0 ;
24732 PyObject
* obj4
= 0 ;
24733 PyObject
* obj5
= 0 ;
24734 PyObject
* obj6
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24745 arg3
= wxString_in_helper(obj2
);
24746 if (arg3
== NULL
) SWIG_fail
;
24752 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24758 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24762 arg6
= (long)SWIG_As_long(obj5
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24767 arg7
= wxString_in_helper(obj6
);
24768 if (arg7
== NULL
) SWIG_fail
;
24773 if (!wxPyCheckForApp()) SWIG_fail
;
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24803 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24806 PyObject
*arg2
= (PyObject
*) 0 ;
24807 PyObject
*arg3
= (PyObject
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 PyObject
* obj2
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "self",(char *) "_class", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 Py_INCREF(Py_None
); resultobj
= Py_None
;
24834 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24837 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "canvas", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 (arg1
)->SetPreviewCanvas(arg2
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 Py_INCREF(Py_None
); resultobj
= Py_None
;
24863 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24865 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24866 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 char *kwnames
[] = {
24870 (char *) "self",(char *) "bar", NULL
24873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 (arg1
)->SetControlBar(arg2
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 Py_INCREF(Py_None
); resultobj
= Py_None
;
24892 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->base_Initialize();
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 Py_INCREF(Py_None
); resultobj
= Py_None
;
24917 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
;
24919 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 (arg1
)->base_CreateCanvas();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 Py_INCREF(Py_None
); resultobj
= Py_None
;
24942 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24945 PyObject
* obj0
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->base_CreateControlBar();
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 Py_INCREF(Py_None
); resultobj
= Py_None
;
24967 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
24969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24970 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24972 return Py_BuildValue((char *)"");
24974 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24978 wxWindow
*arg3
= (wxWindow
*) 0 ;
24979 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24980 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24981 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24982 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24983 long arg6
= (long) 0 ;
24984 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24986 wxPyPreviewControlBar
*result
;
24989 bool temp7
= False
;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 PyObject
* obj2
= 0 ;
24993 PyObject
* obj3
= 0 ;
24994 PyObject
* obj4
= 0 ;
24995 PyObject
* obj5
= 0 ;
24996 PyObject
* obj6
= 0 ;
24997 char *kwnames
[] = {
24998 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25004 arg2
= (long)SWIG_As_long(obj1
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25006 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25021 arg6
= (long)SWIG_As_long(obj5
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25026 arg7
= wxString_in_helper(obj6
);
25027 if (arg7
== NULL
) SWIG_fail
;
25032 if (!wxPyCheckForApp()) SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25054 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25057 PyObject
*arg2
= (PyObject
*) 0 ;
25058 PyObject
*arg3
= (PyObject
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 PyObject
* obj2
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "self",(char *) "_class", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25088 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self",(char *) "preview", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->SetPrintPreview(arg2
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25116 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 (arg1
)->base_CreateButtons();
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 Py_INCREF(Py_None
); resultobj
= Py_None
;
25139 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self",(char *) "zoom", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25152 arg2
= (int)SWIG_As_int(obj1
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 (arg1
)->base_SetZoomControl(arg2
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 Py_INCREF(Py_None
); resultobj
= Py_None
;
25168 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25171 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25173 return Py_BuildValue((char *)"");
25175 static PyMethodDef SwigMethods
[] = {
25176 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25177 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25182 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25194 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25197 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25198 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25205 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25220 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25244 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25256 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25257 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25258 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25259 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25260 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25264 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25268 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25269 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25286 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25314 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25321 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25344 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25352 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25364 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25370 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25379 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25385 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25390 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25396 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25400 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25418 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25444 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25452 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25461 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25463 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25472 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25475 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25482 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25500 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25504 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25509 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25513 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25529 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25532 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25534 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25538 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25547 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25556 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25562 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25574 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25581 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25585 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25611 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25637 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25663 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25664 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25711 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25712 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25743 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25747 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25748 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25781 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25786 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25797 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25820 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25822 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25828 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25838 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25839 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25862 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25863 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25872 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25880 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25886 { NULL
, NULL
, 0, NULL
}
25890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25892 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25893 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25895 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25898 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25899 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25901 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25902 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25904 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25905 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25907 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25908 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25910 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25911 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25913 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25914 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25916 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25917 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25919 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25922 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25923 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25925 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25926 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25928 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25931 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25932 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25934 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25935 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25937 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25940 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25941 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25943 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25944 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25946 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25947 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25949 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25950 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25952 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25953 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25955 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25956 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25958 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25959 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25961 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25962 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25964 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25965 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25967 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25968 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25970 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25971 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25973 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25974 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25976 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25977 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25979 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25980 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25982 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25983 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25985 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25986 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25988 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25989 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25991 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25992 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25994 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25995 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25997 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25998 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26000 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26001 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26003 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26004 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26006 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26007 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26009 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26010 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26012 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26013 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26015 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26016 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26018 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26019 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26021 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26024 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26027 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26030 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26031 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26033 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26034 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26036 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26037 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26039 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26040 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26042 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26045 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26048 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26051 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26054 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26057 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26060 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26063 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26064 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26066 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26067 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26069 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26072 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26075 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26078 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26079 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26081 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26084 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26085 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26087 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26088 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26090 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26091 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26093 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26094 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26096 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26099 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26100 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26102 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26103 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26105 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26108 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26109 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26111 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26114 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26117 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26120 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26121 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26123 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26126 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26127 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26129 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26132 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26135 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26138 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26141 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26144 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
26145 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26147 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26150 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26153 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26156 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26159 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26162 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26165 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26168 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26171 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26172 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26174 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26175 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26177 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26178 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26180 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26181 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26183 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26184 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26186 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26187 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26189 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26190 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26192 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26193 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26195 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26196 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26198 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26199 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26201 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26204 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26207 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26208 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26210 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26211 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26213 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26216 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26217 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26219 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26220 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26222 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26223 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26225 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26226 return (void *)((wxObject
*) ((wxSizer
*) x
));
26228 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26229 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26231 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26232 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26234 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26237 static void *_p_wxEventTo_p_wxObject(void *x
) {
26238 return (void *)((wxObject
*) ((wxEvent
*) x
));
26240 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26241 return (void *)((wxObject
*) ((wxFontData
*) x
));
26243 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26244 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26246 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26247 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26249 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26250 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26252 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26253 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26255 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26256 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26258 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26259 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26261 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26264 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26265 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26267 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26268 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26270 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26271 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26273 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26274 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26276 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26277 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26279 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26280 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26282 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26285 static void *_p_wxControlTo_p_wxObject(void *x
) {
26286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26288 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26289 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26291 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26294 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26295 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26297 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26298 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26300 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26301 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26303 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26306 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26307 return (void *)((wxObject
*) ((wxColourData
*) x
));
26309 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26310 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26312 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26315 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26318 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26321 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26324 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26327 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26330 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26333 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26336 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26339 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26342 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26343 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26345 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26346 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26348 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26349 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26351 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26352 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26354 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26357 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26358 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26360 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26361 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26363 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26364 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26366 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26367 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26369 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26370 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26372 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26373 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26375 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26378 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26381 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26382 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26384 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26385 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26387 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26388 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26390 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26393 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26394 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26396 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26397 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26399 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26400 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26402 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26405 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26406 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26408 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26411 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26412 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26414 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26415 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26417 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26420 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26423 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26424 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26426 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26429 static void *_p_wxImageTo_p_wxObject(void *x
) {
26430 return (void *)((wxObject
*) ((wxImage
*) x
));
26432 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26435 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26436 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26438 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26439 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26441 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26442 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26444 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26447 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26450 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26453 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26454 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26456 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26457 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26459 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26460 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26462 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26463 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26465 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26468 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26471 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26474 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26477 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26480 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26483 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26486 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26489 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26492 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26495 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26498 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26501 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26504 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26505 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26507 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26508 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26510 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26511 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26513 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26516 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26519 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26522 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26525 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26528 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26531 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26534 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26535 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26537 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26540 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26541 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26543 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26544 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26546 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26547 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26549 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26550 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26552 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26553 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26555 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26558 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26559 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26561 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26564 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26567 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26568 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26570 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26571 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26573 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26576 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26579 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26580 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26582 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26583 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26585 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26588 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26589 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26591 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26592 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26594 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26595 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26597 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26598 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26600 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26601 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26603 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26604 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26606 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26607 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26609 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26610 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26612 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26613 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26615 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26616 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26618 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26619 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26621 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26622 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26624 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26625 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26627 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26628 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26630 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26631 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26633 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26634 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26636 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26637 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26639 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26640 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26642 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26643 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26645 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26646 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26648 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26649 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26651 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26652 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26654 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26655 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26657 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26658 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26660 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26661 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26663 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26664 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26666 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26667 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26669 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26670 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26672 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26673 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26675 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26676 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26678 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26679 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26681 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26682 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26684 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26685 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26687 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26688 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26690 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26691 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26693 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26694 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26696 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26697 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26699 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26700 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26702 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26703 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26705 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26706 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26708 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26709 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26711 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26712 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26714 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26715 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26717 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26718 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26720 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26721 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26723 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26724 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26726 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26727 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26729 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26730 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26732 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26733 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26735 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26736 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26738 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26739 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26741 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26742 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26744 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26745 return (void *)((wxWindow
*) ((wxControl
*) x
));
26747 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26748 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26750 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26751 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26753 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26754 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26756 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26757 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26759 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26760 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26762 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26763 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26765 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26766 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26768 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26769 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26771 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26772 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26774 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26775 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26777 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26778 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26780 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26781 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26783 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26784 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26786 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26787 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26789 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26790 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26792 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26793 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26795 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26798 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26799 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26801 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26802 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26804 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26805 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26807 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26808 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26810 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26811 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26813 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26814 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26816 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26817 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26819 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26820 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26822 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26823 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26825 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26826 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26828 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26829 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26831 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26832 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26834 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26835 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26837 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26838 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26840 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26841 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26843 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26844 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26846 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26847 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26849 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26850 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26852 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26853 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26855 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26856 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26858 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26859 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26861 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26862 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26864 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26865 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26867 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26868 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26870 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26871 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26873 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26874 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26876 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26877 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26879 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26880 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26882 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26883 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26885 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26886 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26888 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26889 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26891 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26892 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26894 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26895 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26897 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26898 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26900 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26901 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26903 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26904 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26906 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}};
26907 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}};
26908 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}};
26909 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}};
26910 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}};
26911 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}};
26912 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}};
26913 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}};
26914 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}};
26915 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}};
26916 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}};
26917 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}};
26918 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}};
26919 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}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 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}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 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}};
26933 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}};
26934 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}};
26935 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}};
26936 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}};
26937 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}};
26938 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}};
26939 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}};
26940 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}};
26941 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}};
26942 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}};
26943 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}};
26944 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}};
26945 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}};
26946 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}};
26947 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}};
26948 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}};
26949 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}};
26950 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}};
26951 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}};
26952 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}};
26953 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}};
26954 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}};
26955 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}};
26956 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}};
26957 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}};
26958 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}};
26959 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}};
26960 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}};
26961 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}};
26962 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}};
26963 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}};
26964 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}};
26965 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}};
26966 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}};
26967 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}};
26968 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}};
26969 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}};
26970 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}};
26971 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}};
26972 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}};
26973 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}};
26974 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}};
26975 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}};
26976 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}};
26977 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}};
26978 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}};
26979 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}};
26980 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}};
26981 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}};
26982 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}};
26983 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}};
26984 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}};
26985 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}};
26986 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}};
26987 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}};
26988 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}};
26989 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}};
26990 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}};
26991 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}};
26993 static swig_type_info
*swig_types_initial
[] = {
26994 _swigt__p_wxQueryLayoutInfoEvent
,
26995 _swigt__p_wxPreviewFrame
,
26996 _swigt__p_wxPyPreviewFrame
,
26997 _swigt__p_wxPyPanel
,
26999 _swigt__p_wxFontData
,
27001 _swigt__p_wxPrintData
,
27002 _swigt__p_wxTaskBarIcon
,
27003 _swigt__p_wxIconBundle
,
27004 _swigt__p_wxLayoutAlgorithm
,
27005 _swigt__p_wxFindDialogEvent
,
27006 _swigt__p_wxPreviewCanvas
,
27008 _swigt__p_wxSplitterEvent
,
27009 _swigt__p_wxRegion
,
27010 _swigt__p_wxFindReplaceData
,
27015 _swigt__p_wxVisualAttributes
,
27016 _swigt__p_wxMDIChildFrame
,
27017 _swigt__p_wxColourData
,
27018 _swigt__p_wxNotifyEvent
,
27019 _swigt__p_wxPyWindow
,
27020 _swigt__p_wxSplashScreen
,
27021 _swigt__p_wxFindReplaceDialog
,
27022 _swigt__p_wxProgressDialog
,
27023 _swigt__p_wxMessageDialog
,
27024 _swigt__p_wxTextEntryDialog
,
27025 _swigt__p_wxSingleChoiceDialog
,
27026 _swigt__p_wxMultiChoiceDialog
,
27027 _swigt__p_wxFileDialog
,
27028 _swigt__p_wxPrinter
,
27029 _swigt__p_wxArrayInt
,
27030 _swigt__p_wxEvtHandler
,
27031 _swigt__p_wxCalculateLayoutEvent
,
27032 _swigt__p_wxPyHtmlListBox
,
27033 _swigt__p_wxPyVListBox
,
27036 _swigt__p_wxMiniFrame
,
27038 _swigt__p_wxPyPrintout
,
27039 _swigt__p_wxTaskBarIconEvent
,
27040 _swigt__p_wxScrollWinEvent
,
27041 _swigt__p_wxStatusBar
,
27042 _swigt__p_wxMDIParentFrame
,
27044 _swigt__p_wxObject
,
27045 _swigt__p_wxOutputStream
,
27046 _swigt__p_wxPyScrolledWindow
,
27047 _swigt__p_wxMDIClientWindow
,
27048 _swigt__p_wxTipWindow
,
27049 _swigt__p_wxSashLayoutWindow
,
27050 _swigt__p_wxSplitterWindow
,
27051 _swigt__p_wxSplashScreenWindow
,
27052 _swigt__p_wxPyVScrolledWindow
,
27053 _swigt__p_wxPyPopupTransientWindow
,
27054 _swigt__p_wxPopupWindow
,
27055 _swigt__p_wxSashWindow
,
27056 _swigt__p_wxTopLevelWindow
,
27057 _swigt__p_wxWindow
,
27058 _swigt__p_wxScrolledWindow
,
27059 _swigt__p_wxMenuBar
,
27060 _swigt__p_wxPrintPreview
,
27061 _swigt__p_wxSashEvent
,
27062 _swigt__p_wxString
,
27063 _swigt__p_wxPyPrintPreview
,
27064 _swigt__p_wxFontDialog
,
27065 _swigt__p_wxDirDialog
,
27066 _swigt__p_wxColourDialog
,
27067 _swigt__p_wxDialog
,
27069 _swigt__p_wxPageSetupDialog
,
27070 _swigt__p_wxPrintDialog
,
27071 _swigt__p_wxFileSystem
,
27072 _swigt__p_wxBitmap
,
27073 _swigt__p_wxCommandEvent
,
27074 _swigt__p_wxPreviewControlBar
,
27075 _swigt__p_wxPyPreviewControlBar
,
27076 _swigt__p_wxColour
,
27077 _swigt__p_wxToolBar
,
27078 _swigt__p_wxPageSetupDialogData
,
27079 _swigt__p_wxPrintDialogData
,
27084 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27086 static swig_const_info swig_const_table
[] = {
27087 {0, 0, 0, 0.0, 0, 0}};
27096 SWIGEXPORT(void) SWIG_init(void) {
27097 static PyObject
*SWIG_globals
= 0;
27098 static int typeinit
= 0;
27101 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27102 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27103 d
= PyModule_GetDict(m
);
27106 for (i
= 0; swig_types_initial
[i
]; i
++) {
27107 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27111 SWIG_InstallConstants(d
,swig_const_table
);
27113 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27114 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27115 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27116 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27117 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27118 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27119 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27120 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27121 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27122 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27123 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27124 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27125 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27126 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27127 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27128 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27129 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27130 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27131 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27132 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27133 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27134 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27135 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27136 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27137 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27138 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27139 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27140 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27141 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27142 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27143 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27144 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27145 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27146 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27147 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27148 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27149 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27150 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27151 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27152 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27153 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27154 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27155 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27156 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27157 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27158 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27159 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27160 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27161 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27162 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27163 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27164 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27165 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27166 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27167 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27168 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27169 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27170 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27171 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27172 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27173 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27174 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27175 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27176 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27177 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27178 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27179 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27180 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27181 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27182 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27183 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27184 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27185 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27186 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27187 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27188 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27189 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27190 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27191 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27192 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27193 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27194 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27195 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27196 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27197 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27198 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27199 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27200 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27201 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27202 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27203 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27204 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27205 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27206 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27207 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27208 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27209 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27210 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27212 // Map renamed classes back to their common name for OOR
27213 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27214 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27215 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27217 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27218 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27219 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27220 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27221 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27222 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27223 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27224 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27225 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27226 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27227 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27228 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27229 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27230 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27231 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27232 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27233 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27234 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27235 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27236 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27237 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27238 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27239 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27240 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27241 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27242 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27243 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27244 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27245 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27246 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27247 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27248 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27249 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27250 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27251 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27252 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27253 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27254 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27255 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27256 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27257 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27258 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27259 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27260 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27261 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27262 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27263 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27264 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27265 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27266 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27267 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27268 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27269 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27270 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27271 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27272 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27273 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27274 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27275 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27276 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27277 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27278 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27279 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27280 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27281 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27282 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27283 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27284 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27285 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27286 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27287 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27288 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27289 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27290 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27291 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27293 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");