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_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "v", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 arg2
= (int)SWIG_As_int(obj1
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 (arg1
)->SetNoCopies(arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 Py_INCREF(Py_None
); resultobj
= Py_None
;
18580 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "flag", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 arg2
= (bool)SWIG_As_bool(obj1
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->SetCollate(arg2
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "orient", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18622 arg2
= (int)SWIG_As_int(obj1
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 (arg1
)->SetOrientation(arg2
);
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 Py_INCREF(Py_None
); resultobj
= Py_None
;
18638 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18641 wxString
*arg2
= 0 ;
18642 bool temp2
= False
;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self",(char *) "name", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 arg2
= wxString_in_helper(obj1
);
18654 if (arg2
== NULL
) SWIG_fail
;
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 Py_INCREF(Py_None
); resultobj
= Py_None
;
18679 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "colour", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18692 arg2
= (bool)SWIG_As_bool(obj1
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetColour(arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 Py_INCREF(Py_None
); resultobj
= Py_None
;
18708 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj1
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self",(char *) "duplex", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18721 arg2
= (int)SWIG_As_int(obj1
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 Py_INCREF(Py_None
); resultobj
= Py_None
;
18737 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self",(char *) "sizeId", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18750 arg2
= (int)SWIG_As_int(obj1
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18766 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self",(char *) "sz", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18782 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 Py_INCREF(Py_None
); resultobj
= Py_None
;
18798 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self",(char *) "quality", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18811 arg2
= (int)SWIG_As_int(obj1
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 (arg1
)->SetQuality(arg2
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 Py_INCREF(Py_None
); resultobj
= Py_None
;
18827 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18831 PyObject
* obj0
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18843 result
= (wxString
*) &_result_ref
;
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18853 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18862 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
;
18864 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18866 PyObject
* obj0
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18878 result
= (wxString
*) &_result_ref
;
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18888 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18897 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18913 result
= (wxString
*) &_result_ref
;
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18923 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18932 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 wxString
const &_result_ref
= (arg1
)->GetFilename();
18948 result
= (wxString
*) &_result_ref
;
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18958 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18967 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18983 result
= (wxString
*) &_result_ref
;
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18991 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18993 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19002 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 char *kwnames
[] = {
19008 (char *) "self", NULL
19011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (double)(arg1
)->GetPrinterScaleX();
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_From_double((double)result
);
19028 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (double)(arg1
)->GetPrinterScaleY();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= SWIG_From_double((double)result
);
19054 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 result
= (long)(arg1
)->GetPrinterTranslateX();
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_From_long((long)result
);
19080 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (long)(arg1
)->GetPrinterTranslateY();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_From_long((long)result
);
19106 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (int)(arg1
)->GetPrintMode();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= SWIG_From_int((int)result
);
19132 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19135 wxString
*arg2
= 0 ;
19136 bool temp2
= False
;
19137 PyObject
* obj0
= 0 ;
19138 PyObject
* obj1
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self",(char *) "command", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 arg2
= wxString_in_helper(obj1
);
19148 if (arg2
== NULL
) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19173 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19176 wxString
*arg2
= 0 ;
19177 bool temp2
= False
;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self",(char *) "options", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19188 arg2
= wxString_in_helper(obj1
);
19189 if (arg2
== NULL
) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19217 wxString
*arg2
= 0 ;
19218 bool temp2
= False
;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "command", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19229 arg2
= wxString_in_helper(obj1
);
19230 if (arg2
== NULL
) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 Py_INCREF(Py_None
); resultobj
= Py_None
;
19255 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19258 wxString
*arg2
= 0 ;
19259 bool temp2
= False
;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "filename", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19270 arg2
= wxString_in_helper(obj1
);
19271 if (arg2
== NULL
) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 (arg1
)->SetFilename((wxString
const &)*arg2
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19296 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19299 wxString
*arg2
= 0 ;
19300 bool temp2
= False
;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self",(char *) "path", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 arg2
= wxString_in_helper(obj1
);
19312 if (arg2
== NULL
) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 Py_INCREF(Py_None
); resultobj
= Py_None
;
19337 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self",(char *) "x", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19350 arg2
= (double)SWIG_As_double(obj1
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 (arg1
)->SetPrinterScaleX(arg2
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19366 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "y", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19379 arg2
= (double)SWIG_As_double(obj1
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->SetPrinterScaleY(arg2
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19395 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 PyObject
* obj2
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "x",(char *) "y", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 arg2
= (double)SWIG_As_double(obj1
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19412 arg3
= (double)SWIG_As_double(obj2
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 Py_INCREF(Py_None
); resultobj
= Py_None
;
19428 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19430 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self",(char *) "x", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 arg2
= (long)SWIG_As_long(obj1
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 (arg1
)->SetPrinterTranslateX(arg2
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 Py_INCREF(Py_None
); resultobj
= Py_None
;
19457 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self",(char *) "y", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 arg2
= (long)SWIG_As_long(obj1
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 (arg1
)->SetPrinterTranslateY(arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 Py_INCREF(Py_None
); resultobj
= Py_None
;
19486 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 PyObject
* obj1
= 0 ;
19493 PyObject
* obj2
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "x",(char *) "y", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19501 arg2
= (long)SWIG_As_long(obj1
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19503 arg3
= (long)SWIG_As_long(obj2
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 Py_INCREF(Py_None
); resultobj
= Py_None
;
19519 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19523 PyObject
* obj0
= 0 ;
19524 PyObject
* obj1
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self",(char *) "printMode", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19532 arg2
= (int)SWIG_As_int(obj1
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19541 Py_INCREF(Py_None
); resultobj
= Py_None
;
19548 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19551 wxOutputStream
*result
;
19552 PyObject
* obj0
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "self", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19574 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19577 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self",(char *) "outputstream", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 (arg1
)->SetOutputStream(arg2
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 Py_INCREF(Py_None
); resultobj
= Py_None
;
19603 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19606 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19608 return Py_BuildValue((char *)"");
19610 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19611 PyObject
*resultobj
;
19612 wxPageSetupDialogData
*result
;
19614 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19629 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19630 PyObject
*resultobj
;
19631 wxPageSetupDialogData
*arg1
= 0 ;
19632 wxPageSetupDialogData
*result
;
19633 PyObject
* obj0
= 0 ;
19635 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19639 if (arg1
== NULL
) {
19640 PyErr_SetString(PyExc_TypeError
,"null reference");
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19657 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19662 argc
= PyObject_Length(args
);
19663 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19664 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19667 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19673 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19681 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19685 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19690 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 Py_INCREF(Py_None
); resultobj
= Py_None
;
19715 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self",(char *) "flag", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19728 arg2
= (bool)SWIG_As_bool(obj1
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 (arg1
)->EnableHelp(arg2
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 Py_INCREF(Py_None
); resultobj
= Py_None
;
19744 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "flag", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19757 arg2
= (bool)SWIG_As_bool(obj1
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->EnableMargins(arg2
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 PyObject
* obj1
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "self",(char *) "flag", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 arg2
= (bool)SWIG_As_bool(obj1
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 (arg1
)->EnableOrientation(arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 Py_INCREF(Py_None
); resultobj
= Py_None
;
19802 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self",(char *) "flag", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 arg2
= (bool)SWIG_As_bool(obj1
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->EnablePaper(arg2
);
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 Py_INCREF(Py_None
); resultobj
= Py_None
;
19831 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "flag", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19844 arg2
= (bool)SWIG_As_bool(obj1
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 (arg1
)->EnablePrinter(arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 Py_INCREF(Py_None
); resultobj
= Py_None
;
19860 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 result
= (bool)(arg1
)->GetDefaultMinMargins();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19888 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (bool)(arg1
)->GetEnableMargins();
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19916 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19920 PyObject
* obj0
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (bool)(arg1
)->GetEnableOrientation();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19944 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (bool)(arg1
)->GetEnablePaper();
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19972 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19974 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19976 PyObject
* obj0
= 0 ;
19977 char *kwnames
[] = {
19978 (char *) "self", NULL
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (bool)(arg1
)->GetEnablePrinter();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20000 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20004 PyObject
* obj0
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= (bool)(arg1
)->GetEnableHelp();
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20028 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (bool)(arg1
)->GetDefaultInfo();
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20056 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20060 PyObject
* obj0
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (arg1
)->GetMarginTopLeft();
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20076 wxPoint
* resultptr
;
20077 resultptr
= new wxPoint((wxPoint
&) result
);
20078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20086 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (arg1
)->GetMarginBottomRight();
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20106 wxPoint
* resultptr
;
20107 resultptr
= new wxPoint((wxPoint
&) result
);
20108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20116 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= (arg1
)->GetMinMarginTopLeft();
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20136 wxPoint
* resultptr
;
20137 resultptr
= new wxPoint((wxPoint
&) result
);
20138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20146 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
;
20148 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20150 PyObject
* obj0
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 result
= (arg1
)->GetMinMarginBottomRight();
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20166 wxPoint
* resultptr
;
20167 resultptr
= new wxPoint((wxPoint
&) result
);
20168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20176 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (int)(arg1
)->GetPaperId();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= SWIG_From_int((int)result
);
20202 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 char *kwnames
[] = {
20208 (char *) "self", NULL
20211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (arg1
)->GetPaperSize();
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20222 wxSize
* resultptr
;
20223 resultptr
= new wxSize((wxSize
&) result
);
20224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20232 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20235 wxPrintData
*result
;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20248 result
= (wxPrintData
*) &_result_ref
;
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20261 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (bool)(arg1
)->Ok();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20289 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self",(char *) "flag", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 arg2
= (bool)SWIG_As_bool(obj1
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->SetDefaultInfo(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "flag", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 arg2
= (bool)SWIG_As_bool(obj1
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 (arg1
)->SetDefaultMinMargins(arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 Py_INCREF(Py_None
); resultobj
= Py_None
;
20347 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20350 wxPoint
*arg2
= 0 ;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "self",(char *) "pt", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 Py_INCREF(Py_None
); resultobj
= Py_None
;
20379 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20382 wxPoint
*arg2
= 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self",(char *) "pt", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 Py_INCREF(Py_None
); resultobj
= Py_None
;
20411 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20414 wxPoint
*arg2
= 0 ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self",(char *) "pt", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20427 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 Py_INCREF(Py_None
); resultobj
= Py_None
;
20443 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20446 wxPoint
*arg2
= 0 ;
20448 PyObject
* obj0
= 0 ;
20449 PyObject
* obj1
= 0 ;
20450 char *kwnames
[] = {
20451 (char *) "self",(char *) "pt", NULL
20454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 Py_INCREF(Py_None
); resultobj
= Py_None
;
20475 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self",(char *) "id", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20488 arg2
= (int)SWIG_As_int(obj1
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 Py_INCREF(Py_None
); resultobj
= Py_None
;
20504 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self",(char *) "size", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20539 wxPrintData
*arg2
= 0 ;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "printData", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20552 if (arg2
== NULL
) {
20553 PyErr_SetString(PyExc_TypeError
,"null reference");
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 Py_INCREF(Py_None
); resultobj
= Py_None
;
20570 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20573 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20575 return Py_BuildValue((char *)"");
20577 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxWindow
*arg1
= (wxWindow
*) 0 ;
20580 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20581 wxPageSetupDialog
*result
;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "parent",(char *) "data", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20596 if (!wxPyCheckForApp()) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20610 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20613 wxPageSetupDialogData
*result
;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20626 result
= (wxPageSetupDialogData
*) &_result_ref
;
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20639 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (int)(arg1
)->ShowModal();
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= SWIG_From_int((int)result
);
20665 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20668 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20670 return Py_BuildValue((char *)"");
20672 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20673 PyObject
*resultobj
;
20674 wxPrintDialogData
*result
;
20676 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20691 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20692 PyObject
*resultobj
;
20693 wxPrintData
*arg1
= 0 ;
20694 wxPrintDialogData
*result
;
20695 PyObject
* obj0
= 0 ;
20697 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20701 if (arg1
== NULL
) {
20702 PyErr_SetString(PyExc_TypeError
,"null reference");
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20719 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20724 argc
= PyObject_Length(args
);
20725 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20726 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20729 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20735 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20743 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20747 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20752 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 Py_INCREF(Py_None
); resultobj
= Py_None
;
20777 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20781 PyObject
* obj0
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_From_int((int)result
);
20803 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20805 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20807 PyObject
* obj0
= 0 ;
20808 char *kwnames
[] = {
20809 (char *) "self", NULL
20812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_From_int((int)result
);
20829 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_From_int((int)result
);
20855 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_From_int((int)result
);
20881 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_From_int((int)result
);
20907 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20935 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20939 PyObject
* obj0
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20963 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "self", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20991 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20995 PyObject
* obj0
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21019 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
;
21021 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21023 PyObject
* obj0
= 0 ;
21024 char *kwnames
[] = {
21025 (char *) "self", NULL
21028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21047 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self",(char *) "v", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21060 arg2
= (int)SWIG_As_int(obj1
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->SetFromPage(arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21076 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self",(char *) "v", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21089 arg2
= (int)SWIG_As_int(obj1
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 (arg1
)->SetToPage(arg2
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 Py_INCREF(Py_None
); resultobj
= Py_None
;
21105 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self",(char *) "v", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 arg2
= (int)SWIG_As_int(obj1
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->SetMinPage(arg2
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 Py_INCREF(Py_None
); resultobj
= Py_None
;
21134 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self",(char *) "v", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 arg2
= (int)SWIG_As_int(obj1
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 (arg1
)->SetMaxPage(arg2
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 Py_INCREF(Py_None
); resultobj
= Py_None
;
21163 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self",(char *) "v", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21176 arg2
= (int)SWIG_As_int(obj1
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 (arg1
)->SetNoCopies(arg2
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 Py_INCREF(Py_None
); resultobj
= Py_None
;
21192 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "flag", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21205 arg2
= (bool)SWIG_As_bool(obj1
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 (arg1
)->SetAllPages(arg2
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 Py_INCREF(Py_None
); resultobj
= Py_None
;
21221 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "self",(char *) "flag", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21234 arg2
= (bool)SWIG_As_bool(obj1
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 (arg1
)->SetSelection(arg2
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 Py_INCREF(Py_None
); resultobj
= Py_None
;
21250 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self",(char *) "flag", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21263 arg2
= (bool)SWIG_As_bool(obj1
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->SetCollate(arg2
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 Py_INCREF(Py_None
); resultobj
= Py_None
;
21279 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "flag", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21292 arg2
= (bool)SWIG_As_bool(obj1
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 (arg1
)->SetPrintToFile(arg2
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self",(char *) "flag", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21321 arg2
= (bool)SWIG_As_bool(obj1
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 (arg1
)->SetSetupDialog(arg2
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 Py_INCREF(Py_None
); resultobj
= Py_None
;
21337 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self",(char *) "flag", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21350 arg2
= (bool)SWIG_As_bool(obj1
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 (arg1
)->EnablePrintToFile(arg2
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 Py_INCREF(Py_None
); resultobj
= Py_None
;
21366 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 PyObject
* obj1
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self",(char *) "flag", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21379 arg2
= (bool)SWIG_As_bool(obj1
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 (arg1
)->EnableSelection(arg2
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 Py_INCREF(Py_None
); resultobj
= Py_None
;
21395 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "flag", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21408 arg2
= (bool)SWIG_As_bool(obj1
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 (arg1
)->EnablePageNumbers(arg2
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 Py_INCREF(Py_None
); resultobj
= Py_None
;
21424 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21428 PyObject
* obj0
= 0 ;
21429 PyObject
* obj1
= 0 ;
21430 char *kwnames
[] = {
21431 (char *) "self",(char *) "flag", NULL
21434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21437 arg2
= (bool)SWIG_As_bool(obj1
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 (arg1
)->EnableHelp(arg2
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 Py_INCREF(Py_None
); resultobj
= Py_None
;
21453 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21481 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21509 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21537 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21565 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21593 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21596 wxPrintData
*result
;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21609 result
= (wxPrintData
*) &_result_ref
;
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21622 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21625 wxPrintData
*arg2
= 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self",(char *) "printData", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21638 if (arg2
== NULL
) {
21639 PyErr_SetString(PyExc_TypeError
,"null reference");
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 Py_INCREF(Py_None
); resultobj
= Py_None
;
21656 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21659 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21661 return Py_BuildValue((char *)"");
21663 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21664 PyObject
*resultobj
;
21665 wxWindow
*arg1
= (wxWindow
*) 0 ;
21666 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21667 wxPrintDialog
*result
;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "parent",(char *) "data", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21682 if (!wxPyCheckForApp()) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21696 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21699 wxPrintDialogData
*result
;
21700 PyObject
* obj0
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21712 result
= (wxPrintDialogData
*) &_result_ref
;
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21725 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (wxDC
*)(arg1
)->GetPrintDC();
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= wxPyMake_wxObject(result
, 1);
21753 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (int)(arg1
)->ShowModal();
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_From_int((int)result
);
21779 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21782 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21784 return Py_BuildValue((char *)"");
21786 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21790 PyObject
* obj0
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "data", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21801 if (!wxPyCheckForApp()) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (wxPrinter
*)new wxPrinter(arg1
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21815 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 Py_INCREF(Py_None
); resultobj
= Py_None
;
21840 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21843 wxWindow
*arg2
= (wxWindow
*) 0 ;
21844 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 PyObject
* obj2
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "parent",(char *) "printout", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 Py_INCREF(Py_None
); resultobj
= Py_None
;
21873 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21876 wxPrintDialogData
*result
;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21889 result
= (wxPrintDialogData
*) &_result_ref
;
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21902 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21905 wxWindow
*arg2
= (wxWindow
*) 0 ;
21906 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21907 int arg4
= (int) True
;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 PyObject
* obj2
= 0 ;
21912 PyObject
* obj3
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 arg4
= (int)SWIG_As_int(obj3
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21944 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21947 wxWindow
*arg2
= (wxWindow
*) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "parent", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= wxPyMake_wxObject(result
, 0);
21976 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21979 wxWindow
*arg2
= (wxWindow
*) 0 ;
21980 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21981 wxString
*arg4
= 0 ;
21982 bool temp4
= False
;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 PyObject
* obj3
= 0 ;
21987 char *kwnames
[] = {
21988 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21999 arg4
= wxString_in_helper(obj3
);
22000 if (arg4
== NULL
) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 Py_INCREF(Py_None
); resultobj
= Py_None
;
22025 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22028 wxWindow
*arg2
= (wxWindow
*) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "parent", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (bool)(arg1
)->Setup(arg2
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22057 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22061 PyObject
* obj0
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 result
= (bool)(arg1
)->GetAbort();
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22085 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22088 char *kwnames
[] = {
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (int)wxPrinter::GetLastError();
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= SWIG_From_int((int)result
);
22107 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22110 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22112 return Py_BuildValue((char *)"");
22114 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22117 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22118 wxPyPrintout
*result
;
22119 bool temp1
= False
;
22120 PyObject
* obj0
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "title", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22128 arg1
= wxString_in_helper(obj0
);
22129 if (arg1
== NULL
) SWIG_fail
;
22134 if (!wxPyCheckForApp()) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= wxPyMake_wxObject(result
, 1);
22158 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22161 PyObject
*arg2
= (PyObject
*) 0 ;
22162 PyObject
*arg3
= (PyObject
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 PyObject
* obj2
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "self",(char *) "_class", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 Py_INCREF(Py_None
); resultobj
= Py_None
;
22189 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22193 PyObject
* obj0
= 0 ;
22194 char *kwnames
[] = {
22195 (char *) "self", NULL
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22221 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
;
22223 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= (wxDC
*)(arg1
)->GetDC();
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= wxPyMake_wxObject(result
, 0);
22249 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22252 wxDC
*arg2
= (wxDC
*) 0 ;
22253 PyObject
* obj0
= 0 ;
22254 PyObject
* obj1
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self",(char *) "dc", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 (arg1
)->SetDC(arg2
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 Py_INCREF(Py_None
); resultobj
= Py_None
;
22278 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
;
22280 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 PyObject
* obj1
= 0 ;
22285 PyObject
* obj2
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self",(char *) "w",(char *) "h", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22293 arg2
= (int)SWIG_As_int(obj1
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22295 arg3
= (int)SWIG_As_int(obj2
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 Py_INCREF(Py_None
); resultobj
= Py_None
;
22311 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22314 int *arg2
= (int *) 0 ;
22315 int *arg3
= (int *) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22326 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 Py_INCREF(Py_None
); resultobj
= Py_None
;
22338 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22339 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22340 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22341 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22348 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 PyObject
* obj2
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self",(char *) "w",(char *) "h", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22363 arg2
= (int)SWIG_As_int(obj1
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22365 arg3
= (int)SWIG_As_int(obj2
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 Py_INCREF(Py_None
); resultobj
= Py_None
;
22381 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22384 int *arg2
= (int *) 0 ;
22385 int *arg3
= (int *) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self", NULL
22395 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22396 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 Py_INCREF(Py_None
); resultobj
= Py_None
;
22408 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22409 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22410 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22411 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22418 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 PyObject
* obj2
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self",(char *) "x",(char *) "y", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22433 arg2
= (int)SWIG_As_int(obj1
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22435 arg3
= (int)SWIG_As_int(obj2
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 (arg1
)->SetPPIScreen(arg2
,arg3
);
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 Py_INCREF(Py_None
); resultobj
= Py_None
;
22451 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22454 int *arg2
= (int *) 0 ;
22455 int *arg3
= (int *) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self", NULL
22465 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22466 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 (arg1
)->GetPPIScreen(arg2
,arg3
);
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 Py_INCREF(Py_None
); resultobj
= Py_None
;
22478 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22479 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22480 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22481 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22488 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "x",(char *) "y", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 arg2
= (int)SWIG_As_int(obj1
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22505 arg3
= (int)SWIG_As_int(obj2
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22524 int *arg2
= (int *) 0 ;
22525 int *arg3
= (int *) 0 ;
22530 PyObject
* obj0
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self", NULL
22535 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22536 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 Py_INCREF(Py_None
); resultobj
= Py_None
;
22548 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22549 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22550 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22551 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22558 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self", NULL
22567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (bool)(arg1
)->IsPreview();
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22586 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 PyObject
* obj1
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "p", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22599 arg2
= (bool)SWIG_As_bool(obj1
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 (arg1
)->SetIsPreview(arg2
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 Py_INCREF(Py_None
); resultobj
= Py_None
;
22615 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22621 PyObject
* obj0
= 0 ;
22622 PyObject
* obj1
= 0 ;
22623 PyObject
* obj2
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22631 arg2
= (int)SWIG_As_int(obj1
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22633 arg3
= (int)SWIG_As_int(obj2
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22651 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22652 PyObject
*resultobj
;
22653 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 (arg1
)->base_OnEndDocument();
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 Py_INCREF(Py_None
); resultobj
= Py_None
;
22676 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
;
22678 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22679 PyObject
* obj0
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 (arg1
)->base_OnBeginPrinting();
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 Py_INCREF(Py_None
); resultobj
= Py_None
;
22701 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 (arg1
)->base_OnEndPrinting();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 Py_INCREF(Py_None
); resultobj
= Py_None
;
22726 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 (arg1
)->base_OnPreparePrinting();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 Py_INCREF(Py_None
); resultobj
= Py_None
;
22751 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 PyObject
* obj1
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self",(char *) "page", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22765 arg2
= (int)SWIG_As_int(obj1
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (bool)(arg1
)->base_HasPage(arg2
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22783 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22785 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22786 int *arg2
= (int *) 0 ;
22787 int *arg3
= (int *) 0 ;
22788 int *arg4
= (int *) 0 ;
22789 int *arg5
= (int *) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22804 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22805 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22806 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 Py_INCREF(Py_None
); resultobj
= Py_None
;
22818 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22819 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22820 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22821 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22822 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22823 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22824 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22825 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22832 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22835 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22837 return Py_BuildValue((char *)"");
22839 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22842 wxWindow
*arg2
= (wxWindow
*) 0 ;
22843 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22844 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22845 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22846 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22847 long arg5
= (long) 0 ;
22848 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22849 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22850 wxPreviewCanvas
*result
;
22853 bool temp6
= False
;
22854 PyObject
* obj0
= 0 ;
22855 PyObject
* obj1
= 0 ;
22856 PyObject
* obj2
= 0 ;
22857 PyObject
* obj3
= 0 ;
22858 PyObject
* obj4
= 0 ;
22859 PyObject
* obj5
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22878 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22882 arg5
= (long)SWIG_As_long(obj4
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22887 arg6
= wxString_in_helper(obj5
);
22888 if (arg6
== NULL
) SWIG_fail
;
22893 if (!wxPyCheckForApp()) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22915 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
22917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22918 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22920 return Py_BuildValue((char *)"");
22922 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22925 wxFrame
*arg2
= (wxFrame
*) 0 ;
22926 wxString
*arg3
= 0 ;
22927 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22928 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22929 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22930 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22931 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22932 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22933 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22934 wxPreviewFrame
*result
;
22935 bool temp3
= False
;
22938 bool temp7
= False
;
22939 PyObject
* obj0
= 0 ;
22940 PyObject
* obj1
= 0 ;
22941 PyObject
* obj2
= 0 ;
22942 PyObject
* obj3
= 0 ;
22943 PyObject
* obj4
= 0 ;
22944 PyObject
* obj5
= 0 ;
22945 PyObject
* obj6
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 arg3
= wxString_in_helper(obj2
);
22957 if (arg3
== NULL
) SWIG_fail
;
22963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22969 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22973 arg6
= (long)SWIG_As_long(obj5
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22978 arg7
= wxString_in_helper(obj6
);
22979 if (arg7
== NULL
) SWIG_fail
;
22984 if (!wxPyCheckForApp()) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23014 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
;
23016 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23017 PyObject
* obj0
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 (arg1
)->Initialize();
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 Py_INCREF(Py_None
); resultobj
= Py_None
;
23039 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 (arg1
)->CreateControlBar();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 Py_INCREF(Py_None
); resultobj
= Py_None
;
23064 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 (arg1
)->CreateCanvas();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 Py_INCREF(Py_None
); resultobj
= Py_None
;
23089 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23092 wxPreviewControlBar
*result
;
23093 PyObject
* obj0
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23115 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23118 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23120 return Py_BuildValue((char *)"");
23122 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23126 wxWindow
*arg3
= (wxWindow
*) 0 ;
23127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23131 long arg6
= (long) wxTAB_TRAVERSAL
;
23132 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23133 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23134 wxPreviewControlBar
*result
;
23137 bool temp7
= False
;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 PyObject
* obj2
= 0 ;
23141 PyObject
* obj3
= 0 ;
23142 PyObject
* obj4
= 0 ;
23143 PyObject
* obj5
= 0 ;
23144 PyObject
* obj6
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 arg2
= (long)SWIG_As_long(obj1
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23154 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23159 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23165 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23169 arg6
= (long)SWIG_As_long(obj5
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23174 arg7
= wxString_in_helper(obj6
);
23175 if (arg7
== NULL
) SWIG_fail
;
23180 if (!wxPyCheckForApp()) SWIG_fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23202 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23206 PyObject
* obj0
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (int)(arg1
)->GetZoomControl();
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_From_int((int)result
);
23228 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 PyObject
* obj1
= 0 ;
23234 char *kwnames
[] = {
23235 (char *) "self",(char *) "zoom", NULL
23238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23241 arg2
= (int)SWIG_As_int(obj1
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 (arg1
)->SetZoomControl(arg2
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 Py_INCREF(Py_None
); resultobj
= Py_None
;
23257 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23260 wxPrintPreview
*result
;
23261 PyObject
* obj0
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",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
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23283 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23286 PyObject
* obj0
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 Py_INCREF(Py_None
); resultobj
= Py_None
;
23308 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23310 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 (arg1
)->OnPrevious();
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 Py_INCREF(Py_None
); resultobj
= Py_None
;
23333 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23335 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 Py_INCREF(Py_None
); resultobj
= Py_None
;
23358 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 Py_INCREF(Py_None
); resultobj
= Py_None
;
23383 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 Py_INCREF(Py_None
); resultobj
= Py_None
;
23408 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23411 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23413 return Py_BuildValue((char *)"");
23415 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23416 PyObject
*resultobj
;
23417 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23418 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23419 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23420 wxPrintPreview
*result
;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 PyObject
* obj2
= 0 ;
23425 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23431 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 if (!wxPyCheckForApp()) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23449 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23450 PyObject
*resultobj
;
23451 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23452 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23453 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23454 wxPrintPreview
*result
;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 PyObject
* obj2
= 0 ;
23459 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 if (!wxPyCheckForApp()) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23481 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23486 argc
= PyObject_Length(args
);
23487 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23488 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23490 if ((argc
>= 2) && (argc
<= 3)) {
23494 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23504 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23513 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23517 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23525 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23544 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23554 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23562 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23568 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23573 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self",(char *) "pageNum", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23587 arg2
= (int)SWIG_As_int(obj1
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23605 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23609 PyObject
* obj0
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= (int)(arg1
)->GetCurrentPage();
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= SWIG_From_int((int)result
);
23631 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23634 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23635 PyObject
* obj0
= 0 ;
23636 PyObject
* obj1
= 0 ;
23637 char *kwnames
[] = {
23638 (char *) "self",(char *) "printout", NULL
23641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 (arg1
)->SetPrintout(arg2
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 Py_INCREF(Py_None
); resultobj
= Py_None
;
23660 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23663 wxPyPrintout
*result
;
23664 PyObject
* obj0
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",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
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= wxPyMake_wxObject(result
, 0);
23688 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23691 wxPyPrintout
*result
;
23692 PyObject
* obj0
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "self", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= wxPyMake_wxObject(result
, 0);
23716 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23719 wxFrame
*arg2
= (wxFrame
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self",(char *) "frame", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 (arg1
)->SetFrame(arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 Py_INCREF(Py_None
); resultobj
= Py_None
;
23745 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23748 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self",(char *) "canvas", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 (arg1
)->SetCanvas(arg2
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 Py_INCREF(Py_None
); resultobj
= Py_None
;
23774 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (wxFrame
*)(arg1
)->GetFrame();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= wxPyMake_wxObject(result
, 0);
23802 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23805 wxPreviewCanvas
*result
;
23806 PyObject
* obj0
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23828 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23831 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 PyObject
* obj2
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23846 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23849 if (arg3
== NULL
) {
23850 PyErr_SetString(PyExc_TypeError
,"null reference");
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23869 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23872 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23875 PyObject
* obj0
= 0 ;
23876 PyObject
* obj1
= 0 ;
23877 PyObject
* obj2
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23887 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23890 if (arg3
== NULL
) {
23891 PyErr_SetString(PyExc_TypeError
,"null reference");
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23910 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "pageNum", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 arg2
= (int)SWIG_As_int(obj1
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (bool)(arg1
)->RenderPage(arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23942 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
;
23944 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23945 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 char *kwnames
[] = {
23949 (char *) "self",(char *) "canvas", NULL
23952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 (arg1
)->AdjustScrollbars(arg2
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 Py_INCREF(Py_None
); resultobj
= Py_None
;
23971 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23974 wxPrintDialogData
*result
;
23975 PyObject
* obj0
= 0 ;
23976 char *kwnames
[] = {
23977 (char *) "self", NULL
23980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23987 result
= (wxPrintDialogData
*) &_result_ref
;
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24000 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self",(char *) "percent", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24013 arg2
= (int)SWIG_As_int(obj1
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->SetZoom(arg2
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (int)(arg1
)->GetZoom();
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= SWIG_From_int((int)result
);
24055 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (int)(arg1
)->GetMaxPage();
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= SWIG_From_int((int)result
);
24081 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24083 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= (int)(arg1
)->GetMinPage();
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_From_int((int)result
);
24107 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24111 PyObject
* obj0
= 0 ;
24112 char *kwnames
[] = {
24113 (char *) "self", NULL
24116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (bool)(arg1
)->Ok();
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24135 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self",(char *) "ok", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24148 arg2
= (bool)SWIG_As_bool(obj1
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 (arg1
)->SetOk(arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 Py_INCREF(Py_None
); resultobj
= Py_None
;
24164 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self",(char *) "interactive", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24178 arg2
= (bool)SWIG_As_bool(obj1
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (bool)(arg1
)->Print(arg2
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24196 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 (arg1
)->DetermineScaling();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 Py_INCREF(Py_None
); resultobj
= Py_None
;
24221 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24224 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24226 return Py_BuildValue((char *)"");
24228 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24229 PyObject
*resultobj
;
24230 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24231 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24232 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24233 wxPyPrintPreview
*result
;
24234 PyObject
* obj0
= 0 ;
24235 PyObject
* obj1
= 0 ;
24236 PyObject
* obj2
= 0 ;
24238 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24244 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 if (!wxPyCheckForApp()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24262 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24263 PyObject
*resultobj
;
24264 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24265 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24266 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24267 wxPyPrintPreview
*result
;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 PyObject
* obj2
= 0 ;
24272 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 if (!wxPyCheckForApp()) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24294 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24299 argc
= PyObject_Length(args
);
24300 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24301 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24303 if ((argc
>= 2) && (argc
<= 3)) {
24307 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24317 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24326 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24330 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24338 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24347 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24357 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24367 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24375 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24381 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24386 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24389 PyObject
*arg2
= (PyObject
*) 0 ;
24390 PyObject
*arg3
= (PyObject
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 PyObject
* obj2
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self",(char *) "self",(char *) "_class", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 Py_INCREF(Py_None
); resultobj
= Py_None
;
24417 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self",(char *) "pageNum", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 arg2
= (int)SWIG_As_int(obj1
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24449 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24452 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 PyObject
* obj2
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24470 if (arg3
== NULL
) {
24471 PyErr_SetString(PyExc_TypeError
,"null reference");
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24490 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24493 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 PyObject
* obj2
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24508 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24511 if (arg3
== NULL
) {
24512 PyErr_SetString(PyExc_TypeError
,"null reference");
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24531 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self",(char *) "pageNum", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24545 arg2
= (int)SWIG_As_int(obj1
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24563 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24567 PyObject
* obj0
= 0 ;
24568 PyObject
* obj1
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self",(char *) "percent", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24576 arg2
= (int)SWIG_As_int(obj1
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 (arg1
)->base_SetZoom(arg2
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 Py_INCREF(Py_None
); resultobj
= Py_None
;
24592 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self",(char *) "interactive", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 arg2
= (bool)SWIG_As_bool(obj1
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (bool)(arg1
)->base_Print(arg2
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24624 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->base_DetermineScaling();
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 Py_INCREF(Py_None
); resultobj
= Py_None
;
24649 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24652 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24654 return Py_BuildValue((char *)"");
24656 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24659 wxFrame
*arg2
= (wxFrame
*) 0 ;
24660 wxString
*arg3
= 0 ;
24661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24663 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24664 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24665 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24666 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24667 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24668 wxPyPreviewFrame
*result
;
24669 bool temp3
= False
;
24672 bool temp7
= False
;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 PyObject
* obj2
= 0 ;
24676 PyObject
* obj3
= 0 ;
24677 PyObject
* obj4
= 0 ;
24678 PyObject
* obj5
= 0 ;
24679 PyObject
* obj6
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24690 arg3
= wxString_in_helper(obj2
);
24691 if (arg3
== NULL
) SWIG_fail
;
24697 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24703 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24707 arg6
= (long)SWIG_As_long(obj5
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24712 arg7
= wxString_in_helper(obj6
);
24713 if (arg7
== NULL
) SWIG_fail
;
24718 if (!wxPyCheckForApp()) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24748 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24751 PyObject
*arg2
= (PyObject
*) 0 ;
24752 PyObject
*arg3
= (PyObject
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 PyObject
* obj2
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self",(char *) "self",(char *) "_class", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 Py_INCREF(Py_None
); resultobj
= Py_None
;
24779 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24782 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 char *kwnames
[] = {
24786 (char *) "self",(char *) "canvas", NULL
24789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 (arg1
)->SetPreviewCanvas(arg2
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24801 Py_INCREF(Py_None
); resultobj
= Py_None
;
24808 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
;
24810 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24811 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24812 PyObject
* obj0
= 0 ;
24813 PyObject
* obj1
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self",(char *) "bar", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 (arg1
)->SetControlBar(arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 Py_INCREF(Py_None
); resultobj
= Py_None
;
24837 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 (arg1
)->base_Initialize();
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 Py_INCREF(Py_None
); resultobj
= Py_None
;
24862 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
;
24864 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->base_CreateCanvas();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24890 PyObject
* obj0
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 (arg1
)->base_CreateControlBar();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 Py_INCREF(Py_None
); resultobj
= Py_None
;
24912 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
24914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24915 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24917 return Py_BuildValue((char *)"");
24919 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24923 wxWindow
*arg3
= (wxWindow
*) 0 ;
24924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24928 long arg6
= (long) 0 ;
24929 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24930 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24931 wxPyPreviewControlBar
*result
;
24934 bool temp7
= False
;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 PyObject
* obj2
= 0 ;
24938 PyObject
* obj3
= 0 ;
24939 PyObject
* obj4
= 0 ;
24940 PyObject
* obj5
= 0 ;
24941 PyObject
* obj6
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 arg2
= (long)SWIG_As_long(obj1
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24951 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24956 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24962 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24966 arg6
= (long)SWIG_As_long(obj5
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24971 arg7
= wxString_in_helper(obj6
);
24972 if (arg7
== NULL
) SWIG_fail
;
24977 if (!wxPyCheckForApp()) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24999 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
;
25001 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25002 PyObject
*arg2
= (PyObject
*) 0 ;
25003 PyObject
*arg3
= (PyObject
*) 0 ;
25004 PyObject
* obj0
= 0 ;
25005 PyObject
* obj1
= 0 ;
25006 PyObject
* obj2
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "self",(char *) "_class", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25030 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25033 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "preview", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->SetPrintPreview(arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 Py_INCREF(Py_None
); resultobj
= Py_None
;
25059 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25061 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25062 PyObject
* obj0
= 0 ;
25063 char *kwnames
[] = {
25064 (char *) "self", NULL
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 (arg1
)->base_CreateButtons();
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 Py_INCREF(Py_None
); resultobj
= Py_None
;
25084 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self",(char *) "zoom", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25097 arg2
= (int)SWIG_As_int(obj1
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->base_SetZoomControl(arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 Py_INCREF(Py_None
); resultobj
= Py_None
;
25113 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25116 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25118 return Py_BuildValue((char *)"");
25120 static PyMethodDef SwigMethods
[] = {
25121 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25122 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25123 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25124 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25125 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25126 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25127 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25128 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25129 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25130 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25131 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25132 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25134 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25135 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25136 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25137 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25138 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25139 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25141 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25142 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25143 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25144 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25145 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25146 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25147 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25148 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25149 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25150 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25151 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25152 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25156 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25157 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25158 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25160 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25161 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25162 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25163 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25164 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25165 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25166 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25169 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25171 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25173 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25174 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25175 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25176 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25177 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25182 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25189 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25194 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25201 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25205 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25209 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25214 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25231 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25256 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25257 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25258 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25259 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25260 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25264 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25266 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25268 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25289 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25297 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25309 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25315 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25324 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25330 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25335 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25341 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25345 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25363 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25389 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25397 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25406 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25408 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25417 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25420 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25427 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25445 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25449 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25454 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25458 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25474 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25477 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25479 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25483 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25492 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25501 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25507 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25519 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25526 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25530 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25556 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25582 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25608 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25609 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25654 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25655 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25686 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25690 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25691 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25724 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25729 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25740 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25763 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25765 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25771 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25781 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25782 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25805 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25806 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25815 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25823 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25829 { NULL
, NULL
, 0, NULL
}
25833 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25835 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25836 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25838 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25839 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25841 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25842 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25844 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25845 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25847 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25848 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25850 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25851 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25853 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25854 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25856 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25857 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25859 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25860 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25862 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25865 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25868 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25869 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25871 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25874 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25875 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25877 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25878 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25880 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25881 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25883 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25884 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25886 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25887 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25889 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25890 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25892 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25893 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25895 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25896 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25898 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25899 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25901 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25902 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25904 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25905 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25907 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25908 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25910 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25911 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25913 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25914 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25916 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25917 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25919 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25920 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25922 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25923 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25925 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25926 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25928 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25931 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25934 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25935 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25937 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25938 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25940 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25941 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25943 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25944 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25946 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25947 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25949 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25950 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25952 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25953 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25955 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25956 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25958 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25959 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25961 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25962 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25964 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25967 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25970 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25973 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25974 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25976 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25977 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25979 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25980 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25982 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25983 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25985 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25988 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25991 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25994 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25997 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26000 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26001 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26003 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26006 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26007 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26009 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26010 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26012 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26013 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26015 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26018 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26021 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26022 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26024 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26027 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26028 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26030 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26031 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26033 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26034 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26036 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26037 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26039 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26042 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26043 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26045 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26046 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26048 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26051 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26052 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26054 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26057 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26060 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26063 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26064 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26066 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26069 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26070 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26072 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26075 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26078 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26081 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26084 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26087 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
26088 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26090 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26093 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26096 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26099 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26102 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26105 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26108 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26111 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26114 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26115 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26117 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26118 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26120 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26121 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26123 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26124 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26126 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26127 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26129 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26130 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26132 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26133 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26135 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26136 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26138 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26139 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26141 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26142 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26144 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26147 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26150 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26151 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26153 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26154 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26156 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26159 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26160 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26162 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26163 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26165 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26166 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26168 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26169 return (void *)((wxObject
*) ((wxSizer
*) x
));
26171 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26172 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26174 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26177 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26180 static void *_p_wxEventTo_p_wxObject(void *x
) {
26181 return (void *)((wxObject
*) ((wxEvent
*) x
));
26183 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26184 return (void *)((wxObject
*) ((wxFontData
*) x
));
26186 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26187 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26189 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26190 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26192 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26193 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26195 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26196 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26198 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26199 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26201 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26202 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26204 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26207 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26208 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26210 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26211 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26213 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26214 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26216 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26217 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26219 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26220 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26222 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26223 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26225 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26228 static void *_p_wxControlTo_p_wxObject(void *x
) {
26229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26231 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26232 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26234 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26235 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26237 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26238 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26240 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26241 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26243 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26244 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26246 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26249 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26250 return (void *)((wxObject
*) ((wxColourData
*) x
));
26252 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26253 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26255 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26258 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26261 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26264 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26267 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26270 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26273 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26276 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26279 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26282 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26285 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26286 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26288 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26289 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26291 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26292 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26294 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26295 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26297 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26300 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26301 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26303 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26304 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26306 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26307 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26309 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26310 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26312 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26313 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26315 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26316 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26318 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26319 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26321 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26322 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26324 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26325 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26327 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26328 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26330 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26333 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26334 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26336 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26337 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26339 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26340 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26342 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26343 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26345 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26348 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26349 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26351 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26352 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26354 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26355 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26357 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26358 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26360 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26363 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26366 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26367 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26369 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26372 static void *_p_wxImageTo_p_wxObject(void *x
) {
26373 return (void *)((wxObject
*) ((wxImage
*) x
));
26375 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26378 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26379 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26381 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26382 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26384 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26385 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26387 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26390 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26393 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26396 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26397 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26399 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26400 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26402 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26403 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26405 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26406 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26408 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26411 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26414 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26417 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26420 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26423 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26426 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26429 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26432 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26435 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26438 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26441 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26444 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26447 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26450 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26451 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26453 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26454 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26456 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26459 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26462 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26465 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26468 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26471 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26474 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26477 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26478 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26480 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26483 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26484 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26486 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26487 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26489 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26490 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26492 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26493 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26495 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26496 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26498 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26501 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26502 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26504 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26507 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26510 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26511 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26513 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26514 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26516 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26519 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26522 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26523 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26525 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26526 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26528 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26531 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26532 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26534 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26535 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26537 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26538 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26540 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26541 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26543 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26544 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26546 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26547 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26549 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26550 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26552 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26553 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26555 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26556 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26558 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26559 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26561 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26562 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26564 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26565 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26567 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26568 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26570 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26571 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26573 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26574 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26576 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26577 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26579 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26580 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26582 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26583 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26585 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26586 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26588 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26589 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26591 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26592 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26594 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26595 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26597 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26598 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26600 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26601 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26603 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26604 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26606 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26607 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26609 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26610 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26612 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26613 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26615 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26616 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26618 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26619 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26621 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26622 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26624 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26625 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26627 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26628 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26630 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26631 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26633 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26634 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26636 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26637 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26639 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26640 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26642 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26643 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26645 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26646 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26648 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26649 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26651 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26652 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26654 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26655 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26657 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26658 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26660 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26661 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26663 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26664 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26666 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26667 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26669 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26670 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26672 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26673 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26675 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26676 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26678 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26679 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26681 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26682 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26684 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26685 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26687 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26688 return (void *)((wxWindow
*) ((wxControl
*) x
));
26690 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26691 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26693 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26694 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26696 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26697 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26699 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26700 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26702 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26703 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26705 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26706 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26708 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26709 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26711 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26712 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26714 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26715 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26717 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26718 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26720 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26721 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26723 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26724 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26726 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26727 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26729 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26730 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26732 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26733 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26735 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26736 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26738 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26739 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26741 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26742 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26744 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26745 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26747 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26748 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26750 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26751 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26753 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26754 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26756 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26757 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26759 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26760 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26762 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26763 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26765 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26766 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26768 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26769 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26771 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26772 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26774 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26775 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26777 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26778 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26780 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26781 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26783 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26784 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26786 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26787 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26789 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26790 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26792 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26793 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26795 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26796 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26798 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26799 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26801 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26802 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26804 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26805 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26807 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26808 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26810 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26811 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26813 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26814 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26816 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26817 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26819 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26820 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26822 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26823 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26825 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26826 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26828 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26829 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26831 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26832 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26834 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26835 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26837 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26838 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26840 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26841 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26843 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26844 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26846 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26847 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26849 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}};
26850 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}};
26851 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}};
26852 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}};
26853 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}};
26854 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}};
26855 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}};
26856 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}};
26857 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}};
26858 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}};
26859 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}};
26860 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}};
26861 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}};
26862 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}};
26863 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}};
26864 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}};
26865 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}};
26866 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}};
26867 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}};
26868 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}};
26869 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}};
26870 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}};
26871 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}};
26872 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}};
26873 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}};
26874 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}};
26875 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}};
26876 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}};
26877 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}};
26878 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}};
26879 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}};
26880 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}};
26881 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}};
26882 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}};
26883 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}};
26884 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}};
26885 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}};
26886 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}};
26887 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}};
26888 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}};
26889 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}};
26890 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}};
26891 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}};
26892 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}};
26893 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}};
26894 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}};
26895 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}};
26896 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}};
26897 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}};
26898 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}};
26899 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}};
26900 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}};
26901 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}};
26902 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}};
26903 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}};
26904 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}};
26905 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}};
26906 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}};
26907 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}};
26908 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}};
26909 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}};
26910 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}};
26911 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}};
26912 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}};
26913 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}};
26914 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}};
26915 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}};
26916 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}};
26917 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}};
26918 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}};
26919 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}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 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}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 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}};
26933 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}};
26934 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}};
26936 static swig_type_info
*swig_types_initial
[] = {
26937 _swigt__p_wxQueryLayoutInfoEvent
,
26938 _swigt__p_wxPreviewFrame
,
26939 _swigt__p_wxPyPreviewFrame
,
26940 _swigt__p_wxPyPanel
,
26942 _swigt__p_wxFontData
,
26944 _swigt__p_wxPrintData
,
26945 _swigt__p_wxTaskBarIcon
,
26946 _swigt__p_wxIconBundle
,
26947 _swigt__p_wxLayoutAlgorithm
,
26948 _swigt__p_wxFindDialogEvent
,
26949 _swigt__p_wxPreviewCanvas
,
26951 _swigt__p_wxSplitterEvent
,
26952 _swigt__p_wxRegion
,
26953 _swigt__p_wxFindReplaceData
,
26958 _swigt__p_wxVisualAttributes
,
26959 _swigt__p_wxMDIChildFrame
,
26960 _swigt__p_wxColourData
,
26961 _swigt__p_wxNotifyEvent
,
26962 _swigt__p_wxPyWindow
,
26963 _swigt__p_wxSplashScreen
,
26964 _swigt__p_wxFindReplaceDialog
,
26965 _swigt__p_wxProgressDialog
,
26966 _swigt__p_wxMessageDialog
,
26967 _swigt__p_wxTextEntryDialog
,
26968 _swigt__p_wxSingleChoiceDialog
,
26969 _swigt__p_wxMultiChoiceDialog
,
26970 _swigt__p_wxFileDialog
,
26971 _swigt__p_wxPrinter
,
26972 _swigt__p_wxArrayInt
,
26973 _swigt__p_wxEvtHandler
,
26974 _swigt__p_wxCalculateLayoutEvent
,
26975 _swigt__p_wxPyHtmlListBox
,
26976 _swigt__p_wxPyVListBox
,
26979 _swigt__p_wxMiniFrame
,
26981 _swigt__p_wxPyPrintout
,
26982 _swigt__p_wxTaskBarIconEvent
,
26983 _swigt__p_wxScrollWinEvent
,
26984 _swigt__p_wxStatusBar
,
26985 _swigt__p_wxMDIParentFrame
,
26987 _swigt__p_wxObject
,
26988 _swigt__p_wxOutputStream
,
26989 _swigt__p_wxPyScrolledWindow
,
26990 _swigt__p_wxMDIClientWindow
,
26991 _swigt__p_wxTipWindow
,
26992 _swigt__p_wxSashLayoutWindow
,
26993 _swigt__p_wxSplitterWindow
,
26994 _swigt__p_wxSplashScreenWindow
,
26995 _swigt__p_wxPyVScrolledWindow
,
26996 _swigt__p_wxPyPopupTransientWindow
,
26997 _swigt__p_wxPopupWindow
,
26998 _swigt__p_wxSashWindow
,
26999 _swigt__p_wxTopLevelWindow
,
27000 _swigt__p_wxWindow
,
27001 _swigt__p_wxScrolledWindow
,
27002 _swigt__p_wxMenuBar
,
27003 _swigt__p_wxPrintPreview
,
27004 _swigt__p_wxSashEvent
,
27005 _swigt__p_wxString
,
27006 _swigt__p_wxPyPrintPreview
,
27007 _swigt__p_wxFontDialog
,
27008 _swigt__p_wxDirDialog
,
27009 _swigt__p_wxColourDialog
,
27010 _swigt__p_wxDialog
,
27012 _swigt__p_wxPageSetupDialog
,
27013 _swigt__p_wxPrintDialog
,
27014 _swigt__p_wxFileSystem
,
27015 _swigt__p_wxBitmap
,
27016 _swigt__p_wxCommandEvent
,
27017 _swigt__p_wxPreviewControlBar
,
27018 _swigt__p_wxPyPreviewControlBar
,
27019 _swigt__p_wxColour
,
27020 _swigt__p_wxToolBar
,
27021 _swigt__p_wxPageSetupDialogData
,
27022 _swigt__p_wxPrintDialogData
,
27027 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27029 static swig_const_info swig_const_table
[] = {
27030 {0, 0, 0, 0.0, 0, 0}};
27039 SWIGEXPORT(void) SWIG_init(void) {
27040 static PyObject
*SWIG_globals
= 0;
27041 static int typeinit
= 0;
27044 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27045 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27046 d
= PyModule_GetDict(m
);
27049 for (i
= 0; swig_types_initial
[i
]; i
++) {
27050 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27054 SWIG_InstallConstants(d
,swig_const_table
);
27056 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27057 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27058 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27059 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27060 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27061 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27062 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27063 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27064 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27065 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27066 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27067 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27068 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27069 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27070 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27071 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27072 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27073 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27074 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27075 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27076 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27077 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27078 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27079 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27080 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27081 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27082 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27083 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27084 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27085 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27086 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27087 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27088 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27089 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27090 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27091 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27092 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27093 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27094 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27095 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27096 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27097 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27098 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27099 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27100 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27101 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27102 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27103 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27104 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27105 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27106 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27107 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27108 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27109 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27110 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27111 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27112 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27113 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27114 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27115 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27116 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27117 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27118 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27119 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27120 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27121 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27122 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27123 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27124 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27125 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27126 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27127 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27128 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27129 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27130 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27131 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27132 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27133 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27134 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27135 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27136 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27137 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27138 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27139 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27140 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27141 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27142 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27143 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27144 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27145 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27146 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27147 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27148 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27149 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27150 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27151 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27152 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27153 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27155 // Map renamed classes back to their common name for OOR
27156 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27157 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27158 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27160 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27161 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27162 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27163 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27164 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27165 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27166 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27167 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27168 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27169 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27170 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27171 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27172 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27173 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27174 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27175 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27176 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27177 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27178 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27179 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27180 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27181 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27182 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27183 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27184 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27185 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27186 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27187 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27188 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27189 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27190 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27191 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27192 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27193 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27194 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27195 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27196 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27197 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27198 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27199 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27200 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27201 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27202 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27203 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27204 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27205 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27206 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27207 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27208 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27209 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27210 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27211 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27212 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27213 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27214 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27215 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27216 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27217 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27218 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27219 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27221 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");