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_wxPyPopupTransientWindow swig_types[55]
267 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
269 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyVScrolledWindow 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 wxPopupWindow
: public wxWindow
{
633 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
634 wxPopupWindow() { wxPyRaiseNotImplemented(); }
637 class wxPyPopupTransientWindow
: public wxPopupWindow
640 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
641 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
645 #include <wx/tipwin.h>
647 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
648 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
651 #include <wx/tipwin.h>
654 #include <wx/vscroll.h>
657 class wxPyVScrolledWindow
: public wxVScrolledWindow
659 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
661 wxPyVScrolledWindow() : wxVScrolledWindow() {}
663 wxPyVScrolledWindow(wxWindow
*parent
,
664 wxWindowID id
= wxID_ANY
,
665 const wxPoint
& pos
= wxDefaultPosition
,
666 const wxSize
& size
= wxDefaultSize
,
668 const wxString
& name
= wxPyPanelNameStr
)
669 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
672 // Overridable virtuals
674 // this function must be overridden in the derived class and it should
675 // return the height of the given line in pixels
676 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
679 // this function doesn't have to be overridden but it may be useful to do
680 // it if calculating the lines heights is a relatively expensive operation
681 // as it gives the user code a possibility to calculate several of them at
684 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
685 // shouldn't rely on the latter being called for all lines in the interval
686 // specified here. It is also possible that OnGetLineHeight() will be
687 // called for the lines outside of this interval, so this is really just a
688 // hint, not a promise.
690 // finally note that lineMin is inclusive, while lineMax is exclusive, as
692 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
695 // when the number of lines changes, we try to estimate the total height
696 // of all lines which is a rather expensive operation in terms of lines
697 // access, so if the user code may estimate the average height
698 // better/faster than we do, it should override this function to implement
701 // this function should return the best guess for the total height it may
703 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
706 // Also expose some other interesting protected methods
709 // find the index of the line we need to show at the top of the window such
710 // that the last (fully or partially) visible line is the given one
711 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
712 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
714 // get the total height of the lines between lineMin (inclusive) and
715 // lineMax (exclusive)
716 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
717 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
723 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
725 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
726 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
727 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
730 // See my_fragments.i
731 SWIGSTATICINLINE(int)
732 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
735 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
736 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
740 *val
= (unsigned long)v
;
745 SWIGSTATICINLINE(unsigned long)
746 SWIG_As_unsigned_SS_long(PyObject
* obj
)
749 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
751 this is needed to make valgrind/purify happier. the other
752 solution is throw an exception, but since this code should work
755 memset((void*)&v
, 0, sizeof(unsigned long));
761 SWIGSTATICINLINE(int)
762 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
764 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
768 SWIGSTATICINLINE(PyObject
* )
769 SWIG_From_unsigned_SS_long(unsigned long value
)
771 return (value
> LONG_MAX
) ?
772 PyLong_FromUnsignedLong(value
)
773 : PyInt_FromLong(swig_numeric_cast(value
,long));
777 #include <wx/vlbox.h>
779 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
781 class wxPyVListBox
: public wxVListBox
783 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
785 wxPyVListBox() : wxVListBox() {}
787 wxPyVListBox(wxWindow
*parent
,
788 wxWindowID id
= wxID_ANY
,
789 const wxPoint
& pos
= wxDefaultPosition
,
790 const wxSize
& size
= wxDefaultSize
,
792 const wxString
& name
= wxPyVListBoxNameStr
)
793 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
796 // Overridable virtuals
798 // the derived class must implement this function to actually draw the item
799 // with the given index on the provided DC
800 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
801 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
804 // the derived class must implement this method to return the height of the
806 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
807 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
810 // this method may be used to draw separators between the lines; note that
811 // the rectangle may be modified, typically to deflate it a bit before
812 // passing to OnDrawItem()
814 // the base class version doesn't do anything
815 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
816 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
819 // this method is used to draw the items background and, maybe, a border
822 // the base class version implements a reasonable default behaviour which
823 // consists in drawing the selected item with the standard background
824 // colour and drawing a border around the item if it is either selected or
826 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
827 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
833 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
835 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
836 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
837 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
838 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
841 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
842 unsigned long cookie
= 0;
843 int selected
= self
->GetFirstSelected(cookie
);
844 bool blocked
= wxPyBeginBlockThreads();
845 PyObject
* tup
= PyTuple_New(2);
846 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
847 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
848 wxPyEndBlockThreads(blocked
);
851 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
852 int selected
= self
->GetNextSelected(cookie
);
853 bool blocked
= wxPyBeginBlockThreads();
854 PyObject
* tup
= PyTuple_New(2);
855 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
856 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
857 wxPyEndBlockThreads(blocked
);
861 #include <wx/htmllbox.h>
864 class wxPyHtmlListBox
: public wxHtmlListBox
866 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
868 wxPyHtmlListBox() : wxHtmlListBox() {}
870 wxPyHtmlListBox(wxWindow
*parent
,
871 wxWindowID id
= wxID_ANY
,
872 const wxPoint
& pos
= wxDefaultPosition
,
873 const wxSize
& size
= wxDefaultSize
,
875 const wxString
& name
= wxPyVListBoxNameStr
)
876 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
879 // Overridable virtuals
881 // this method must be implemented in the derived class and should return
882 // the body (i.e. without <html>) of the HTML for the given item
883 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
885 // this function may be overridden to decorate HTML returned by OnGetItem()
886 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
889 // // this method allows to customize the selection appearance: it may be used
890 // // to specify the colour of the text which normally has the given colour
891 // // colFg when it is inside the selection
893 // // by default, the original colour is not used at all and all text has the
894 // // same (default for this system) colour inside selection
895 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
897 // // this is the same as GetSelectedTextColour() but allows to customize the
898 // // background colour -- this is even more rarely used as you can change it
899 // // globally using SetSelectionBackground()
900 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
907 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
909 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
910 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
917 // implement dummy classes and such for wxMac
919 class wxTaskBarIcon
: public wxEvtHandler
922 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
926 class wxTaskBarIconEvent
: public wxEvent
929 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
930 { wxPyRaiseNotImplemented(); }
931 virtual wxEvent
* Clone() const { return NULL
; }
935 wxEVT_TASKBAR_MOVE
= 0,
936 wxEVT_TASKBAR_LEFT_DOWN
= 0,
937 wxEVT_TASKBAR_LEFT_UP
= 0,
938 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
939 wxEVT_TASKBAR_RIGHT_UP
= 0,
940 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
941 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
946 // // Otherwise make a class that can virtualize CreatePopupMenu
947 // class wxPyTaskBarIcon : public wxTaskBarIcon
949 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
951 // wxPyTaskBarIcon() : wxTaskBarIcon()
954 // wxMenu* CreatePopupMenu() {
955 // wxMenu *rval = NULL;
957 // bool blocked = wxPyBeginBlockThreads();
958 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
961 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
963 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
968 // wxPyEndBlockThreads(blocked);
970 // rval = wxTaskBarIcon::CreatePopupMenu();
977 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
981 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
986 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
987 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
988 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
989 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
990 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
991 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
992 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
994 self
->GetFilenames(arr
);
995 return wxArrayString2PyList_helper(arr
);
997 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1000 return wxArrayString2PyList_helper(arr
);
1002 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1003 return wxArrayInt2PyList_helper(self
->GetSelections());
1005 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1006 return new wxSingleChoiceDialog(parent
, message
, caption
,
1007 choices
, choices_array
, NULL
, style
, pos
);
1012 // C++ version of Python aware wxWindow
1013 class wxPyWindow
: public wxWindow
1015 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1017 wxPyWindow() : wxWindow() {}
1018 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1019 const wxPoint
& pos
= wxDefaultPosition
,
1020 const wxSize
& size
= wxDefaultSize
,
1022 const wxString
& name
= wxPyPanelNameStr
)
1023 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1025 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1027 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1028 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1029 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1030 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1032 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1033 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1034 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1036 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1037 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1039 DEC_PYCALLBACK__(InitDialog
);
1040 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1041 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1042 DEC_PYCALLBACK_BOOL_(Validate
);
1044 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1045 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1046 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1048 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1049 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1051 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1052 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1053 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1058 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1060 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1061 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1062 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1063 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1065 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1066 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1067 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1069 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1070 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1072 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1073 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1074 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1075 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1077 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1078 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1079 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1081 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1082 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1084 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1085 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1086 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1089 // C++ version of Python aware wxPanel
1090 class wxPyPanel
: public wxPanel
1092 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1094 wxPyPanel() : wxPanel() {}
1095 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1096 const wxPoint
& pos
= wxDefaultPosition
,
1097 const wxSize
& size
= wxDefaultSize
,
1099 const wxString
& name
= wxPyPanelNameStr
)
1100 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1102 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1105 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1106 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1107 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1108 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1110 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1111 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1112 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1114 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1115 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1117 DEC_PYCALLBACK__(InitDialog
);
1118 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1119 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1120 DEC_PYCALLBACK_BOOL_(Validate
);
1122 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1123 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1124 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1126 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1127 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1129 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1130 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1131 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1136 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1138 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1139 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1140 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1141 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1143 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1144 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1145 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1147 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1148 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1150 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1151 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1152 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1153 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1155 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1156 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1157 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1159 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1160 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1162 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1163 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1164 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1167 // C++ version of Python aware wxScrolledWindow
1168 class wxPyScrolledWindow
: public wxScrolledWindow
1170 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1172 wxPyScrolledWindow() : wxScrolledWindow() {}
1173 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1174 const wxPoint
& pos
= wxDefaultPosition
,
1175 const wxSize
& size
= wxDefaultSize
,
1177 const wxString
& name
= wxPyPanelNameStr
)
1178 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1180 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1182 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1183 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1184 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1185 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1189 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1191 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1192 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1194 DEC_PYCALLBACK__(InitDialog
);
1195 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1196 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1197 DEC_PYCALLBACK_BOOL_(Validate
);
1199 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1200 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1201 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1203 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1204 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1206 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1207 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1208 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1213 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1215 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1216 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1217 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1218 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1222 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1224 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1225 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1227 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1228 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1229 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1230 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1232 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1233 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1234 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1237 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1239 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1240 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1241 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1245 #include "wx/wxPython/printfw.h"
1248 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1249 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1253 // Since this one would be tough and ugly to do with the Macros...
1254 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1255 bool hadErr
= False
;
1258 bool blocked
= wxPyBeginBlockThreads();
1259 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1260 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1261 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1264 val
= PyTuple_GetItem(result
, 0);
1265 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1268 val
= PyTuple_GetItem(result
, 1);
1269 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1272 val
= PyTuple_GetItem(result
, 2);
1273 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1276 val
= PyTuple_GetItem(result
, 3);
1277 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1284 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1289 wxPyEndBlockThreads(blocked
);
1291 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1294 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1295 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1299 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1300 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1301 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1302 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1303 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1304 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1305 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1311 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1312 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1313 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1316 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1317 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1320 bool blocked = wxPyBeginBlockThreads(); \
1321 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1322 PyObject* win = wxPyMake_wxObject(a,false); \
1323 PyObject* dc = wxPyMake_wxObject(&b,false); \
1324 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1328 wxPyEndBlockThreads(blocked); \
1330 rval = PCLASS::CBNAME(a, b); \
1333 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1334 return PCLASS::CBNAME(a, b); \
1340 class wxPyPrintPreview
: public wxPrintPreview
1342 DECLARE_CLASS(wxPyPrintPreview
)
1344 wxPyPrintPreview(wxPyPrintout
* printout
,
1345 wxPyPrintout
* printoutForPrinting
,
1346 wxPrintDialogData
* data
=NULL
)
1347 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1349 wxPyPrintPreview(wxPyPrintout
* printout
,
1350 wxPyPrintout
* printoutForPrinting
,
1351 wxPrintData
* data
=NULL
)
1352 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1355 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1356 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1357 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1358 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1359 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1360 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1361 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1366 // Stupid renamed classes... Fix this in 2.5...
1367 #if defined(__WXMSW__)
1368 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1369 #elif defined(__WXMAC__)
1370 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1372 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1375 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1376 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1377 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1378 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1379 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1380 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1381 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1384 class wxPyPreviewFrame
: public wxPreviewFrame
1386 DECLARE_CLASS(wxPyPreviewFrame
);
1388 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1389 const wxString
& title
,
1390 const wxPoint
& pos
= wxDefaultPosition
,
1391 const wxSize
& size
= wxDefaultSize
,
1392 long style
= wxDEFAULT_FRAME_STYLE
,
1393 const wxString
& name
= wxPyFrameNameStr
)
1394 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1397 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1398 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1400 DEC_PYCALLBACK_VOID_(Initialize
);
1401 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1402 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1407 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1409 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1410 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1411 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1414 class wxPyPreviewControlBar
: public wxPreviewControlBar
1416 DECLARE_CLASS(wxPyPreviewControlBar
);
1418 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1421 const wxPoint
& pos
= wxDefaultPosition
,
1422 const wxSize
& size
= wxDefaultSize
,
1424 const wxString
& name
= wxPyPanelNameStr
)
1425 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1428 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1430 DEC_PYCALLBACK_VOID_(CreateButtons
);
1431 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1436 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1437 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1438 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1443 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
*resultobj
;
1445 wxWindow
*arg1
= (wxWindow
*) 0 ;
1446 int arg2
= (int) (int)-1 ;
1447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1451 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1452 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1453 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1457 bool temp6
= False
;
1458 PyObject
* obj0
= 0 ;
1459 PyObject
* obj1
= 0 ;
1460 PyObject
* obj2
= 0 ;
1461 PyObject
* obj3
= 0 ;
1462 PyObject
* obj4
= 0 ;
1463 PyObject
* obj5
= 0 ;
1465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1472 arg2
= (int)SWIG_As_int(obj1
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1478 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1484 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1488 arg5
= (long)SWIG_As_long(obj4
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1493 arg6
= wxString_in_helper(obj5
);
1494 if (arg6
== NULL
) SWIG_fail
;
1499 if (!wxPyCheckForApp()) SWIG_fail
;
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1521 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
*resultobj
;
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1530 if (!wxPyCheckForApp()) SWIG_fail
;
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 result
= (wxPanel
*)new wxPanel();
1534 wxPyEndAllowThreads(__tstate
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1544 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
*resultobj
;
1546 wxPanel
*arg1
= (wxPanel
*) 0 ;
1547 wxWindow
*arg2
= (wxWindow
*) 0 ;
1548 int arg3
= (int) (int)-1 ;
1549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1553 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1554 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1559 bool temp7
= False
;
1560 PyObject
* obj0
= 0 ;
1561 PyObject
* obj1
= 0 ;
1562 PyObject
* obj2
= 0 ;
1563 PyObject
* obj3
= 0 ;
1564 PyObject
* obj4
= 0 ;
1565 PyObject
* obj5
= 0 ;
1566 PyObject
* obj6
= 0 ;
1568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1577 arg3
= (int)SWIG_As_int(obj2
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1593 arg6
= (long)SWIG_As_long(obj5
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1598 arg7
= wxString_in_helper(obj6
);
1599 if (arg7
== NULL
) SWIG_fail
;
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1627 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxPanel
*arg1
= (wxPanel
*) 0 ;
1630 PyObject
* obj0
= 0 ;
1632 (char *) "self", NULL
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 (arg1
)->InitDialog();
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 Py_INCREF(Py_None
); resultobj
= Py_None
;
1652 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1655 wxVisualAttributes result
;
1656 PyObject
* obj0
= 0 ;
1658 (char *) "variant", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1663 arg1
= (int)SWIG_As_int(obj0
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 if (!wxPyCheckForApp()) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 wxVisualAttributes
* resultptr
;
1676 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1685 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1688 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1690 return Py_BuildValue((char *)"");
1692 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
*resultobj
;
1694 wxWindow
*arg1
= (wxWindow
*) 0 ;
1695 int arg2
= (int) (int)-1 ;
1696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1700 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1701 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1702 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1703 wxScrolledWindow
*result
;
1706 bool temp6
= False
;
1707 PyObject
* obj0
= 0 ;
1708 PyObject
* obj1
= 0 ;
1709 PyObject
* obj2
= 0 ;
1710 PyObject
* obj3
= 0 ;
1711 PyObject
* obj4
= 0 ;
1712 PyObject
* obj5
= 0 ;
1714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1721 arg2
= (int)SWIG_As_int(obj1
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1733 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1737 arg5
= (long)SWIG_As_long(obj4
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1742 arg6
= wxString_in_helper(obj5
);
1743 if (arg6
== NULL
) SWIG_fail
;
1748 if (!wxPyCheckForApp()) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1770 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxScrolledWindow
*result
;
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1779 if (!wxPyCheckForApp()) SWIG_fail
;
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1793 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
*resultobj
;
1795 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1796 wxWindow
*arg2
= (wxWindow
*) 0 ;
1797 int arg3
= (int) (int)-1 ;
1798 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1799 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1800 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1801 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1802 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1803 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1804 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1808 bool temp7
= False
;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1811 PyObject
* obj2
= 0 ;
1812 PyObject
* obj3
= 0 ;
1813 PyObject
* obj4
= 0 ;
1814 PyObject
* obj5
= 0 ;
1815 PyObject
* obj6
= 0 ;
1817 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1826 arg3
= (int)SWIG_As_int(obj2
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1842 arg6
= (long)SWIG_As_long(obj5
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1847 arg7
= wxString_in_helper(obj6
);
1848 if (arg7
== NULL
) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1876 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1883 int arg6
= (int) 0 ;
1884 int arg7
= (int) 0 ;
1885 bool arg8
= (bool) False
;
1886 PyObject
* obj0
= 0 ;
1887 PyObject
* obj1
= 0 ;
1888 PyObject
* obj2
= 0 ;
1889 PyObject
* obj3
= 0 ;
1890 PyObject
* obj4
= 0 ;
1891 PyObject
* obj5
= 0 ;
1892 PyObject
* obj6
= 0 ;
1893 PyObject
* obj7
= 0 ;
1895 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1901 arg2
= (int)SWIG_As_int(obj1
);
1902 if (PyErr_Occurred()) SWIG_fail
;
1903 arg3
= (int)SWIG_As_int(obj2
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1905 arg4
= (int)SWIG_As_int(obj3
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1907 arg5
= (int)SWIG_As_int(obj4
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1910 arg6
= (int)SWIG_As_int(obj5
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1914 arg7
= (int)SWIG_As_int(obj6
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1918 arg8
= (bool)SWIG_As_bool(obj7
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 Py_INCREF(Py_None
); resultobj
= Py_None
;
1935 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1940 PyObject
* obj0
= 0 ;
1941 PyObject
* obj1
= 0 ;
1942 PyObject
* obj2
= 0 ;
1944 (char *) "self",(char *) "x",(char *) "y", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1950 arg2
= (int)SWIG_As_int(obj1
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1952 arg3
= (int)SWIG_As_int(obj2
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 (arg1
)->Scroll(arg2
,arg3
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 Py_INCREF(Py_None
); resultobj
= Py_None
;
1968 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1973 PyObject
* obj0
= 0 ;
1974 PyObject
* obj1
= 0 ;
1976 (char *) "self",(char *) "orient", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 arg2
= (int)SWIG_As_int(obj1
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1991 resultobj
= SWIG_From_int((int)result
);
1998 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2004 PyObject
* obj1
= 0 ;
2005 PyObject
* obj2
= 0 ;
2007 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 arg2
= (int)SWIG_As_int(obj1
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2015 arg3
= (int)SWIG_As_int(obj2
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 Py_INCREF(Py_None
); resultobj
= Py_None
;
2031 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2036 PyObject
* obj0
= 0 ;
2037 PyObject
* obj1
= 0 ;
2038 PyObject
* obj2
= 0 ;
2040 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2046 arg2
= (int)SWIG_As_int(obj1
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2048 arg3
= (int)SWIG_As_int(obj2
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 (arg1
)->SetScrollRate(arg2
,arg3
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 Py_INCREF(Py_None
); resultobj
= Py_None
;
2064 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2067 int *arg2
= (int *) 0 ;
2068 int *arg3
= (int *) 0 ;
2073 PyObject
* obj0
= 0 ;
2075 (char *) "self", NULL
2078 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2079 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 Py_INCREF(Py_None
); resultobj
= Py_None
;
2091 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2092 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2093 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2094 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2101 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2108 PyObject
* obj2
= 0 ;
2110 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2116 arg2
= (bool)SWIG_As_bool(obj1
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2118 arg3
= (bool)SWIG_As_bool(obj2
);
2119 if (PyErr_Occurred()) SWIG_fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 (arg1
)->EnableScrolling(arg2
,arg3
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 Py_INCREF(Py_None
); resultobj
= Py_None
;
2134 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2137 int *arg2
= (int *) 0 ;
2138 int *arg3
= (int *) 0 ;
2143 PyObject
* obj0
= 0 ;
2145 (char *) "self", NULL
2148 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2149 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 Py_INCREF(Py_None
); resultobj
= Py_None
;
2161 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2162 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2163 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2164 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2171 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
*resultobj
;
2173 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2177 PyObject
* obj1
= 0 ;
2178 PyObject
* obj2
= 0 ;
2180 (char *) "self",(char *) "xs",(char *) "ys", NULL
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2186 arg2
= (double)SWIG_As_double(obj1
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2188 arg3
= (double)SWIG_As_double(obj2
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 (arg1
)->SetScale(arg2
,arg3
);
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2197 Py_INCREF(Py_None
); resultobj
= Py_None
;
2204 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2208 PyObject
* obj0
= 0 ;
2210 (char *) "self", NULL
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 resultobj
= SWIG_From_double((double)result
);
2230 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2232 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2234 PyObject
* obj0
= 0 ;
2236 (char *) "self", NULL
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 resultobj
= SWIG_From_double((double)result
);
2256 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2257 PyObject
*resultobj
;
2258 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2262 PyObject
* obj0
= 0 ;
2263 PyObject
* obj1
= 0 ;
2265 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2280 wxPoint
* resultptr
;
2281 resultptr
= new wxPoint((wxPoint
&) result
);
2282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2290 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2291 PyObject
*resultobj
;
2292 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2295 int *arg4
= (int *) 0 ;
2296 int *arg5
= (int *) 0 ;
2301 PyObject
* obj0
= 0 ;
2302 PyObject
* obj1
= 0 ;
2303 PyObject
* obj2
= 0 ;
2305 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2306 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2307 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2310 arg2
= (int)SWIG_As_int(obj1
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2312 arg3
= (int)SWIG_As_int(obj2
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 Py_INCREF(Py_None
); resultobj
= Py_None
;
2322 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2323 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2324 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2325 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2332 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2337 argc
= PyObject_Length(args
);
2338 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2339 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2345 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2354 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2357 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2365 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2373 _v
= SWIG_Check_int(argv
[1]);
2375 _v
= SWIG_Check_int(argv
[2]);
2377 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2383 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2388 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2389 PyObject
*resultobj
;
2390 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2394 PyObject
* obj0
= 0 ;
2395 PyObject
* obj1
= 0 ;
2397 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 wxPoint
* resultptr
;
2413 resultptr
= new wxPoint((wxPoint
&) result
);
2414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2422 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2423 PyObject
*resultobj
;
2424 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2427 int *arg4
= (int *) 0 ;
2428 int *arg5
= (int *) 0 ;
2433 PyObject
* obj0
= 0 ;
2434 PyObject
* obj1
= 0 ;
2435 PyObject
* obj2
= 0 ;
2437 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2438 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2439 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2442 arg2
= (int)SWIG_As_int(obj1
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2444 arg3
= (int)SWIG_As_int(obj2
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2453 Py_INCREF(Py_None
); resultobj
= Py_None
;
2454 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2455 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2456 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2457 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2464 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2469 argc
= PyObject_Length(args
);
2470 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2471 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2477 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2486 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2489 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2497 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2505 _v
= SWIG_Check_int(argv
[1]);
2507 _v
= SWIG_Check_int(argv
[2]);
2509 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2515 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2520 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2523 PyObject
* obj0
= 0 ;
2525 (char *) "self", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 (arg1
)->AdjustScrollbars();
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2545 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2548 wxScrollWinEvent
*arg2
= 0 ;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2553 (char *) "self",(char *) "event", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2563 PyErr_SetString(PyExc_TypeError
,"null reference");
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= SWIG_From_int((int)result
);
2580 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2583 wxWindow
*arg2
= (wxWindow
*) 0 ;
2584 PyObject
* obj0
= 0 ;
2585 PyObject
* obj1
= 0 ;
2587 (char *) "self",(char *) "target", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 (arg1
)->SetTargetWindow(arg2
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 Py_INCREF(Py_None
); resultobj
= Py_None
;
2609 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2613 PyObject
* obj0
= 0 ;
2615 (char *) "self", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= wxPyMake_wxObject(result
, 0);
2637 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2643 PyObject
* obj1
= 0 ;
2645 (char *) "self",(char *) "rect", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2662 Py_INCREF(Py_None
); resultobj
= Py_None
;
2669 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2671 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2673 PyObject
* obj0
= 0 ;
2675 (char *) "self", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2690 resultptr
= new wxRect((wxRect
&) result
);
2691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2699 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 (char *) "self",(char *) "dc", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2716 PyErr_SetString(PyExc_TypeError
,"null reference");
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 (arg1
)->DoPrepareDC(*arg2
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2736 wxVisualAttributes result
;
2737 PyObject
* obj0
= 0 ;
2739 (char *) "variant", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2744 arg1
= (int)SWIG_As_int(obj0
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2748 if (!wxPyCheckForApp()) SWIG_fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2756 wxVisualAttributes
* resultptr
;
2757 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2766 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2769 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2771 return Py_BuildValue((char *)"");
2773 static int _wrap_FrameNameStr_set(PyObject
*) {
2774 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2779 static PyObject
*_wrap_FrameNameStr_get() {
2784 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2786 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2793 static int _wrap_DialogNameStr_set(PyObject
*) {
2794 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2799 static PyObject
*_wrap_DialogNameStr_get() {
2804 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2806 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2813 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2814 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2819 static PyObject
*_wrap_StatusLineNameStr_get() {
2824 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2826 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2833 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2834 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2839 static PyObject
*_wrap_ToolBarNameStr_get() {
2844 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2846 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2853 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
*resultobj
;
2855 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2856 bool arg2
= (bool) True
;
2857 PyObject
* obj0
= 0 ;
2858 PyObject
* obj1
= 0 ;
2860 (char *) "self",(char *) "maximize", NULL
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2867 arg2
= (bool)SWIG_As_bool(obj1
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 (arg1
)->Maximize(arg2
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2877 Py_INCREF(Py_None
); resultobj
= Py_None
;
2884 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
*resultobj
;
2886 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2887 PyObject
* obj0
= 0 ;
2889 (char *) "self", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",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();
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 Py_INCREF(Py_None
); resultobj
= Py_None
;
2909 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2912 bool arg2
= (bool) True
;
2913 PyObject
* obj0
= 0 ;
2914 PyObject
* obj1
= 0 ;
2916 (char *) "self",(char *) "iconize", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2923 arg2
= (bool)SWIG_As_bool(obj1
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 (arg1
)->Iconize(arg2
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 Py_INCREF(Py_None
); resultobj
= Py_None
;
2940 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2968 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2996 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3000 PyObject
* obj0
= 0 ;
3002 (char *) "self", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3017 resultptr
= new wxIcon((wxIcon
&) result
);
3018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3026 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3031 PyObject
* obj1
= 0 ;
3033 (char *) "self",(char *) "icon", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3043 PyErr_SetString(PyExc_TypeError
,"null reference");
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3053 Py_INCREF(Py_None
); resultobj
= Py_None
;
3060 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3063 wxIconBundle
*arg2
= 0 ;
3064 PyObject
* obj0
= 0 ;
3065 PyObject
* obj1
= 0 ;
3067 (char *) "self",(char *) "icons", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3077 PyErr_SetString(PyExc_TypeError
,"null reference");
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 Py_INCREF(Py_None
); resultobj
= Py_None
;
3094 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3098 long arg3
= (long) wxFULLSCREEN_ALL
;
3100 PyObject
* obj0
= 0 ;
3101 PyObject
* obj1
= 0 ;
3102 PyObject
* obj2
= 0 ;
3104 (char *) "self",(char *) "show",(char *) "style", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3110 arg2
= (bool)SWIG_As_bool(obj1
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3113 arg3
= (long)SWIG_As_long(obj2
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3132 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3138 (char *) "self", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3160 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3163 wxString
*arg2
= 0 ;
3164 bool temp2
= False
;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3168 (char *) "self",(char *) "title", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 arg2
= wxString_in_helper(obj1
);
3176 if (arg2
== NULL
) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 (arg1
)->SetTitle((wxString
const &)*arg2
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 Py_INCREF(Py_None
); resultobj
= Py_None
;
3201 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3207 (char *) "self", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3233 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3236 wxRegion
*arg2
= 0 ;
3238 PyObject
* obj0
= 0 ;
3239 PyObject
* obj1
= 0 ;
3241 (char *) "self",(char *) "region", NULL
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3251 PyErr_SetString(PyExc_TypeError
,"null reference");
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3270 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3273 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3277 (char *) "self",(char *) "flags", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3284 arg2
= (int)SWIG_As_int(obj1
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 (arg1
)->RequestUserAttention(arg2
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 Py_INCREF(Py_None
); resultobj
= Py_None
;
3301 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3305 PyObject
* obj0
= 0 ;
3306 PyObject
* obj1
= 0 ;
3308 (char *) "self",(char *) "on", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3314 arg2
= (bool)SWIG_As_bool(obj1
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 (arg1
)->MacSetMetalAppearance(arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 Py_INCREF(Py_None
); resultobj
= Py_None
;
3330 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3332 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3336 (char *) "self", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3358 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3361 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3363 return Py_BuildValue((char *)"");
3365 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxWindow
*arg1
= (wxWindow
*) 0 ;
3368 int arg2
= (int) (int)-1 ;
3369 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3370 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3375 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3376 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3379 bool temp3
= False
;
3382 bool temp7
= False
;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3385 PyObject
* obj2
= 0 ;
3386 PyObject
* obj3
= 0 ;
3387 PyObject
* obj4
= 0 ;
3388 PyObject
* obj5
= 0 ;
3389 PyObject
* obj6
= 0 ;
3391 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 arg2
= (int)SWIG_As_int(obj1
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3403 arg3
= wxString_in_helper(obj2
);
3404 if (arg3
== NULL
) SWIG_fail
;
3411 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3417 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3421 arg6
= (long)SWIG_As_long(obj5
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3426 arg7
= wxString_in_helper(obj6
);
3427 if (arg7
== NULL
) SWIG_fail
;
3432 if (!wxPyCheckForApp()) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3462 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3471 if (!wxPyCheckForApp()) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 result
= (wxFrame
*)new wxFrame();
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3485 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxFrame
*arg1
= (wxFrame
*) 0 ;
3488 wxWindow
*arg2
= (wxWindow
*) 0 ;
3489 int arg3
= (int) (int)-1 ;
3490 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3491 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3492 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3493 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3494 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3495 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3496 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3497 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3498 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3500 bool temp4
= False
;
3503 bool temp8
= False
;
3504 PyObject
* obj0
= 0 ;
3505 PyObject
* obj1
= 0 ;
3506 PyObject
* obj2
= 0 ;
3507 PyObject
* obj3
= 0 ;
3508 PyObject
* obj4
= 0 ;
3509 PyObject
* obj5
= 0 ;
3510 PyObject
* obj6
= 0 ;
3511 PyObject
* obj7
= 0 ;
3513 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3522 arg3
= (int)SWIG_As_int(obj2
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3527 arg4
= wxString_in_helper(obj3
);
3528 if (arg4
== NULL
) SWIG_fail
;
3535 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3541 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3545 arg7
= (long)SWIG_As_long(obj6
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3550 arg8
= wxString_in_helper(obj7
);
3551 if (arg8
== NULL
) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3587 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxFrame
*arg1
= (wxFrame
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 wxPoint
* resultptr
;
3608 resultptr
= new wxPoint((wxPoint
&) result
);
3609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3617 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxFrame
*arg1
= (wxFrame
*) 0 ;
3620 PyObject
* obj0
= 0 ;
3622 (char *) "self", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 (arg1
)->SendSizeEvent();
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 Py_INCREF(Py_None
); resultobj
= Py_None
;
3642 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxFrame
*arg1
= (wxFrame
*) 0 ;
3645 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "menubar", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 (arg1
)->SetMenuBar(arg2
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxFrame
*arg1
= (wxFrame
*) 0 ;
3675 PyObject
* obj0
= 0 ;
3677 (char *) "self", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3691 resultobj
= wxPyMake_wxObject(result
, 0);
3699 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxFrame
*arg1
= (wxFrame
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3705 PyObject
* obj1
= 0 ;
3707 (char *) "self",(char *) "winid", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3713 arg2
= (int)SWIG_As_int(obj1
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3731 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxFrame
*arg1
= (wxFrame
*) 0 ;
3734 int arg2
= (int) 1 ;
3735 long arg3
= (long) wxST_SIZEGRIP
;
3736 int arg4
= (int) 0 ;
3737 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3738 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3739 wxStatusBar
*result
;
3740 bool temp5
= False
;
3741 PyObject
* obj0
= 0 ;
3742 PyObject
* obj1
= 0 ;
3743 PyObject
* obj2
= 0 ;
3744 PyObject
* obj3
= 0 ;
3745 PyObject
* obj4
= 0 ;
3747 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3754 arg2
= (int)SWIG_As_int(obj1
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3758 arg3
= (long)SWIG_As_long(obj2
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3762 arg4
= (int)SWIG_As_int(obj3
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3767 arg5
= wxString_in_helper(obj4
);
3768 if (arg5
== NULL
) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= wxPyMake_wxObject(result
, 0);
3796 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxFrame
*arg1
= (wxFrame
*) 0 ;
3799 wxStatusBar
*result
;
3800 PyObject
* obj0
= 0 ;
3802 (char *) "self", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= wxPyMake_wxObject(result
, 0);
3824 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxFrame
*arg1
= (wxFrame
*) 0 ;
3827 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3829 PyObject
* obj1
= 0 ;
3831 (char *) "self",(char *) "statBar", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 (arg1
)->SetStatusBar(arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxFrame
*arg1
= (wxFrame
*) 0 ;
3856 wxString
*arg2
= 0 ;
3857 int arg3
= (int) 0 ;
3858 bool temp2
= False
;
3859 PyObject
* obj0
= 0 ;
3860 PyObject
* obj1
= 0 ;
3861 PyObject
* obj2
= 0 ;
3863 (char *) "self",(char *) "text",(char *) "number", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 arg2
= wxString_in_helper(obj1
);
3871 if (arg2
== NULL
) SWIG_fail
;
3875 arg3
= (int)SWIG_As_int(obj2
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxFrame
*arg1
= (wxFrame
*) 0 ;
3904 int *arg3
= (int *) 0 ;
3905 PyObject
* obj0
= 0 ;
3906 PyObject
* obj1
= 0 ;
3908 (char *) "self",(char *) "widths", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3915 arg2
= PyList_Size(obj1
);
3916 arg3
= int_LIST_helper(obj1
);
3917 if (arg3
== NULL
) SWIG_fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3926 Py_INCREF(Py_None
); resultobj
= Py_None
;
3928 if (arg3
) delete [] arg3
;
3933 if (arg3
) delete [] arg3
;
3939 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxFrame
*arg1
= (wxFrame
*) 0 ;
3942 wxString
*arg2
= 0 ;
3943 int arg3
= (int) 0 ;
3944 bool temp2
= False
;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3947 PyObject
* obj2
= 0 ;
3949 (char *) "self",(char *) "text",(char *) "number", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3956 arg2
= wxString_in_helper(obj1
);
3957 if (arg2
== NULL
) SWIG_fail
;
3961 arg3
= (int)SWIG_As_int(obj2
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3986 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 wxFrame
*arg1
= (wxFrame
*) 0 ;
3989 int arg2
= (int) 0 ;
3990 PyObject
* obj0
= 0 ;
3991 PyObject
* obj1
= 0 ;
3993 (char *) "self",(char *) "number", NULL
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4000 arg2
= (int)SWIG_As_int(obj1
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 (arg1
)->PopStatusText(arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 Py_INCREF(Py_None
); resultobj
= Py_None
;
4017 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxFrame
*arg1
= (wxFrame
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4022 PyObject
* obj1
= 0 ;
4024 (char *) "self",(char *) "n", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4030 arg2
= (int)SWIG_As_int(obj1
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 (arg1
)->SetStatusBarPane(arg2
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 Py_INCREF(Py_None
); resultobj
= Py_None
;
4046 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxFrame
*arg1
= (wxFrame
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4052 (char *) "self", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_From_int((int)result
);
4072 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxFrame
*arg1
= (wxFrame
*) 0 ;
4075 long arg2
= (long) -1 ;
4076 int arg3
= (int) -1 ;
4077 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4078 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4080 bool temp4
= False
;
4081 PyObject
* obj0
= 0 ;
4082 PyObject
* obj1
= 0 ;
4083 PyObject
* obj2
= 0 ;
4084 PyObject
* obj3
= 0 ;
4086 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 arg2
= (long)SWIG_As_long(obj1
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4097 arg3
= (int)SWIG_As_int(obj2
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4102 arg4
= wxString_in_helper(obj3
);
4103 if (arg4
== NULL
) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= wxPyMake_wxObject(result
, 0);
4131 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxFrame
*arg1
= (wxFrame
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "self", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= wxPyMake_wxObject(result
, 0);
4159 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxFrame
*arg1
= (wxFrame
*) 0 ;
4162 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4166 (char *) "self",(char *) "toolbar", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 (arg1
)->SetToolBar(arg2
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 Py_INCREF(Py_None
); resultobj
= Py_None
;
4188 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxFrame
*arg1
= (wxFrame
*) 0 ;
4191 wxString
*arg2
= 0 ;
4193 bool temp2
= False
;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4196 PyObject
* obj2
= 0 ;
4198 (char *) "self",(char *) "text",(char *) "show", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4205 arg2
= wxString_in_helper(obj1
);
4206 if (arg2
== NULL
) SWIG_fail
;
4209 arg3
= (bool)SWIG_As_bool(obj2
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 Py_INCREF(Py_None
); resultobj
= Py_None
;
4233 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
;
4235 wxFrame
*arg1
= (wxFrame
*) 0 ;
4236 wxMenu
*arg2
= (wxMenu
*) NULL
;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4240 (char *) "self",(char *) "menu", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->DoMenuUpdates(arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 Py_INCREF(Py_None
); resultobj
= Py_None
;
4264 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4267 wxVisualAttributes result
;
4268 PyObject
* obj0
= 0 ;
4270 (char *) "variant", NULL
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4275 arg1
= (int)SWIG_As_int(obj0
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4279 if (!wxPyCheckForApp()) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4287 wxVisualAttributes
* resultptr
;
4288 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4297 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4300 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4302 return Py_BuildValue((char *)"");
4304 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxWindow
*arg1
= (wxWindow
*) 0 ;
4307 int arg2
= (int) (int)-1 ;
4308 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4309 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4310 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4311 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4312 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4313 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4314 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4315 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4316 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4318 bool temp3
= False
;
4321 bool temp7
= False
;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4324 PyObject
* obj2
= 0 ;
4325 PyObject
* obj3
= 0 ;
4326 PyObject
* obj4
= 0 ;
4327 PyObject
* obj5
= 0 ;
4328 PyObject
* obj6
= 0 ;
4330 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4337 arg2
= (int)SWIG_As_int(obj1
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4342 arg3
= wxString_in_helper(obj2
);
4343 if (arg3
== NULL
) SWIG_fail
;
4350 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4356 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4360 arg6
= (long)SWIG_As_long(obj5
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4365 arg7
= wxString_in_helper(obj6
);
4366 if (arg7
== NULL
) SWIG_fail
;
4371 if (!wxPyCheckForApp()) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4401 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4410 if (!wxPyCheckForApp()) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (wxDialog
*)new wxDialog();
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4424 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxDialog
*arg1
= (wxDialog
*) 0 ;
4427 wxWindow
*arg2
= (wxWindow
*) 0 ;
4428 int arg3
= (int) (int)-1 ;
4429 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4430 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4431 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4432 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4433 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4434 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4435 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4436 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4437 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4439 bool temp4
= False
;
4442 bool temp8
= False
;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 PyObject
* obj2
= 0 ;
4446 PyObject
* obj3
= 0 ;
4447 PyObject
* obj4
= 0 ;
4448 PyObject
* obj5
= 0 ;
4449 PyObject
* obj6
= 0 ;
4450 PyObject
* obj7
= 0 ;
4452 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4461 arg3
= (int)SWIG_As_int(obj2
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4466 arg4
= wxString_in_helper(obj3
);
4467 if (arg4
== NULL
) SWIG_fail
;
4474 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4480 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4484 arg7
= (long)SWIG_As_long(obj6
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4489 arg8
= wxString_in_helper(obj7
);
4490 if (arg8
== NULL
) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4526 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxDialog
*arg1
= (wxDialog
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4533 (char *) "self",(char *) "returnCode", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 arg2
= (int)SWIG_As_int(obj1
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 (arg1
)->SetReturnCode(arg2
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxDialog
*arg1
= (wxDialog
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "self", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= SWIG_From_int((int)result
);
4581 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxDialog
*arg1
= (wxDialog
*) 0 ;
4584 wxString
*arg2
= 0 ;
4586 bool temp2
= False
;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4590 (char *) "self",(char *) "message", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4597 arg2
= wxString_in_helper(obj1
);
4598 if (arg2
== NULL
) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= wxPyMake_wxSizer(result
, 0);
4625 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxDialog
*arg1
= (wxDialog
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "flags", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 arg2
= (long)SWIG_As_long(obj1
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= wxPyMake_wxSizer(result
, 0);
4657 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxDialog
*arg1
= (wxDialog
*) 0 ;
4661 PyObject
* obj0
= 0 ;
4663 (char *) "self", NULL
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4685 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxDialog
*arg1
= (wxDialog
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4691 (char *) "self", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 result
= (int)(arg1
)->ShowModal();
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_From_int((int)result
);
4711 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
;
4713 wxDialog
*arg1
= (wxDialog
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4718 (char *) "self",(char *) "retCode", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4724 arg2
= (int)SWIG_As_int(obj1
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 (arg1
)->EndModal(arg2
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 Py_INCREF(Py_None
); resultobj
= Py_None
;
4740 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4743 wxVisualAttributes result
;
4744 PyObject
* obj0
= 0 ;
4746 (char *) "variant", NULL
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4751 arg1
= (int)SWIG_As_int(obj0
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4755 if (!wxPyCheckForApp()) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 wxVisualAttributes
* resultptr
;
4764 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4773 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4776 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4778 return Py_BuildValue((char *)"");
4780 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxWindow
*arg1
= (wxWindow
*) 0 ;
4783 int arg2
= (int) (int)-1 ;
4784 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4785 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4790 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4791 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4792 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4793 wxMiniFrame
*result
;
4794 bool temp3
= False
;
4797 bool temp7
= False
;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 PyObject
* obj2
= 0 ;
4801 PyObject
* obj3
= 0 ;
4802 PyObject
* obj4
= 0 ;
4803 PyObject
* obj5
= 0 ;
4804 PyObject
* obj6
= 0 ;
4806 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 arg2
= (int)SWIG_As_int(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4818 arg3
= wxString_in_helper(obj2
);
4819 if (arg3
== NULL
) SWIG_fail
;
4826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4836 arg6
= (long)SWIG_As_long(obj5
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4841 arg7
= wxString_in_helper(obj6
);
4842 if (arg7
== NULL
) SWIG_fail
;
4847 if (!wxPyCheckForApp()) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4877 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxMiniFrame
*result
;
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4886 if (!wxPyCheckForApp()) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (wxMiniFrame
*)new wxMiniFrame();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4900 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4903 wxWindow
*arg2
= (wxWindow
*) 0 ;
4904 int arg3
= (int) (int)-1 ;
4905 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4906 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4907 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4908 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4909 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4910 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4911 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4912 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4913 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4915 bool temp4
= False
;
4918 bool temp8
= False
;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 PyObject
* obj2
= 0 ;
4922 PyObject
* obj3
= 0 ;
4923 PyObject
* obj4
= 0 ;
4924 PyObject
* obj5
= 0 ;
4925 PyObject
* obj6
= 0 ;
4926 PyObject
* obj7
= 0 ;
4928 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4937 arg3
= (int)SWIG_As_int(obj2
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4942 arg4
= wxString_in_helper(obj3
);
4943 if (arg4
== NULL
) SWIG_fail
;
4950 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4956 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4960 arg7
= (long)SWIG_As_long(obj6
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4965 arg8
= wxString_in_helper(obj7
);
4966 if (arg8
== NULL
) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
5004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5005 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
5007 return Py_BuildValue((char *)"");
5009 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxBitmap
*arg1
= 0 ;
5012 wxWindow
*arg2
= (wxWindow
*) 0 ;
5014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5018 long arg6
= (long) wxNO_BORDER
;
5019 wxSplashScreenWindow
*result
;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5024 PyObject
* obj2
= 0 ;
5025 PyObject
* obj3
= 0 ;
5026 PyObject
* obj4
= 0 ;
5027 PyObject
* obj5
= 0 ;
5029 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5037 PyErr_SetString(PyExc_TypeError
,"null reference");
5040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 arg3
= (int)SWIG_As_int(obj2
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5057 arg6
= (long)SWIG_As_long(obj5
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5061 if (!wxPyCheckForApp()) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5075 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5078 wxBitmap
*arg2
= 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5082 (char *) "self",(char *) "bitmap", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5092 PyErr_SetString(PyExc_TypeError
,"null reference");
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 Py_INCREF(Py_None
); resultobj
= Py_None
;
5109 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5115 (char *) "self", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5125 result
= (wxBitmap
*) &_result_ref
;
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 wxBitmap
* resultptr
= new wxBitmap(*result
);
5133 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5141 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5144 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5146 return Py_BuildValue((char *)"");
5148 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxBitmap
*arg1
= 0 ;
5153 wxWindow
*arg4
= (wxWindow
*) 0 ;
5154 int arg5
= (int) -1 ;
5155 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5156 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5157 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5158 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5159 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5160 wxSplashScreen
*result
;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5165 PyObject
* obj2
= 0 ;
5166 PyObject
* obj3
= 0 ;
5167 PyObject
* obj4
= 0 ;
5168 PyObject
* obj5
= 0 ;
5169 PyObject
* obj6
= 0 ;
5170 PyObject
* obj7
= 0 ;
5172 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5180 PyErr_SetString(PyExc_TypeError
,"null reference");
5183 arg2
= (long)SWIG_As_long(obj1
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5185 arg3
= (int)SWIG_As_int(obj2
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5187 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5190 arg5
= (int)SWIG_As_int(obj4
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5196 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5202 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5206 arg8
= (long)SWIG_As_long(obj7
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 if (!wxPyCheckForApp()) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5224 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5230 (char *) "self", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_From_long((long)result
);
5250 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5253 wxSplashScreenWindow
*result
;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "self", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5276 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "self", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 resultobj
= SWIG_From_int((int)result
);
5302 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5305 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5307 return Py_BuildValue((char *)"");
5309 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxWindow
*arg1
= (wxWindow
*) 0 ;
5312 int arg2
= (int) -1 ;
5313 long arg3
= (long) wxST_SIZEGRIP
;
5314 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5315 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5316 wxStatusBar
*result
;
5317 bool temp4
= False
;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5320 PyObject
* obj2
= 0 ;
5321 PyObject
* obj3
= 0 ;
5323 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5330 arg2
= (int)SWIG_As_int(obj1
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5334 arg3
= (long)SWIG_As_long(obj2
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5339 arg4
= wxString_in_helper(obj3
);
5340 if (arg4
== NULL
) SWIG_fail
;
5345 if (!wxPyCheckForApp()) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5367 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxStatusBar
*result
;
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5376 if (!wxPyCheckForApp()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= (wxStatusBar
*)new wxStatusBar();
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5390 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5393 wxWindow
*arg2
= (wxWindow
*) 0 ;
5394 int arg3
= (int) -1 ;
5395 long arg4
= (long) wxST_SIZEGRIP
;
5396 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5397 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5399 bool temp5
= False
;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5402 PyObject
* obj2
= 0 ;
5403 PyObject
* obj3
= 0 ;
5404 PyObject
* obj4
= 0 ;
5406 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5415 arg3
= (int)SWIG_As_int(obj2
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 arg4
= (long)SWIG_As_long(obj3
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5424 arg5
= wxString_in_helper(obj4
);
5425 if (arg5
== NULL
) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5453 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5456 int arg2
= (int) 1 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5460 (char *) "self",(char *) "number", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 arg2
= (int)SWIG_As_int(obj1
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->SetFieldsCount(arg2
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 Py_INCREF(Py_None
); resultobj
= Py_None
;
5484 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5488 PyObject
* obj0
= 0 ;
5490 (char *) "self", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_From_int((int)result
);
5510 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5513 wxString
*arg2
= 0 ;
5514 int arg3
= (int) 0 ;
5515 bool temp2
= False
;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5518 PyObject
* obj2
= 0 ;
5520 (char *) "self",(char *) "text",(char *) "number", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5527 arg2
= wxString_in_helper(obj1
);
5528 if (arg2
== NULL
) SWIG_fail
;
5532 arg3
= (int)SWIG_As_int(obj2
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 Py_INCREF(Py_None
); resultobj
= Py_None
;
5557 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
;
5559 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5560 int arg2
= (int) 0 ;
5562 PyObject
* obj0
= 0 ;
5563 PyObject
* obj1
= 0 ;
5565 (char *) "self",(char *) "number", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5572 arg2
= (int)SWIG_As_int(obj1
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5595 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5598 wxString
*arg2
= 0 ;
5599 int arg3
= (int) 0 ;
5600 bool temp2
= False
;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 PyObject
* obj2
= 0 ;
5605 (char *) "self",(char *) "text",(char *) "number", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= wxString_in_helper(obj1
);
5613 if (arg2
== NULL
) SWIG_fail
;
5617 arg3
= (int)SWIG_As_int(obj2
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5642 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5645 int arg2
= (int) 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5649 (char *) "self",(char *) "number", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 arg2
= (int)SWIG_As_int(obj1
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 (arg1
)->PopStatusText(arg2
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5677 int *arg3
= (int *) 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5681 (char *) "self",(char *) "widths", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5688 arg2
= PyList_Size(obj1
);
5689 arg3
= int_LIST_helper(obj1
);
5690 if (arg3
== NULL
) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 Py_INCREF(Py_None
); resultobj
= Py_None
;
5701 if (arg3
) delete [] arg3
;
5706 if (arg3
) delete [] arg3
;
5712 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5716 int *arg3
= (int *) 0 ;
5717 PyObject
* obj0
= 0 ;
5718 PyObject
* obj1
= 0 ;
5720 (char *) "self",(char *) "styles", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 arg2
= PyList_Size(obj1
);
5728 arg3
= int_LIST_helper(obj1
);
5729 if (arg3
== NULL
) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5740 if (arg3
) delete [] arg3
;
5745 if (arg3
) delete [] arg3
;
5751 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5759 (char *) "self",(char *) "i", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5765 arg2
= (int)SWIG_As_int(obj1
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5776 resultptr
= new wxRect((wxRect
&) result
);
5777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5785 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
;
5787 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5792 (char *) "self",(char *) "height", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5798 arg2
= (int)SWIG_As_int(obj1
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 (arg1
)->SetMinHeight(arg2
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= SWIG_From_int((int)result
);
5840 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5846 (char *) "self", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_From_int((int)result
);
5866 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5869 wxVisualAttributes result
;
5870 PyObject
* obj0
= 0 ;
5872 (char *) "variant", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5877 arg1
= (int)SWIG_As_int(obj0
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 if (!wxPyCheckForApp()) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5889 wxVisualAttributes
* resultptr
;
5890 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5899 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5902 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5904 return Py_BuildValue((char *)"");
5906 static int _wrap_SplitterNameStr_set(PyObject
*) {
5907 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5912 static PyObject
*_wrap_SplitterNameStr_get() {
5917 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5919 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5926 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxWindow
*arg1
= (wxWindow
*) 0 ;
5929 int arg2
= (int) -1 ;
5930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5934 long arg5
= (long) wxSP_3D
;
5935 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5936 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5937 wxSplitterWindow
*result
;
5940 bool temp6
= False
;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5943 PyObject
* obj2
= 0 ;
5944 PyObject
* obj3
= 0 ;
5945 PyObject
* obj4
= 0 ;
5946 PyObject
* obj5
= 0 ;
5948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5955 arg2
= (int)SWIG_As_int(obj1
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5967 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5971 arg5
= (long)SWIG_As_long(obj4
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5976 arg6
= wxString_in_helper(obj5
);
5977 if (arg6
== NULL
) SWIG_fail
;
5982 if (!wxPyCheckForApp()) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6004 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxSplitterWindow
*result
;
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
6013 if (!wxPyCheckForApp()) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (wxSplitterWindow
*)new wxSplitterWindow();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6027 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6030 wxWindow
*arg2
= (wxWindow
*) 0 ;
6031 int arg3
= (int) -1 ;
6032 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6033 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6034 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6035 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6036 long arg6
= (long) wxSP_3D
;
6037 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6038 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6042 bool temp7
= False
;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6045 PyObject
* obj2
= 0 ;
6046 PyObject
* obj3
= 0 ;
6047 PyObject
* obj4
= 0 ;
6048 PyObject
* obj5
= 0 ;
6049 PyObject
* obj6
= 0 ;
6051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6060 arg3
= (int)SWIG_As_int(obj2
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6066 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6072 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6076 arg6
= (long)SWIG_As_long(obj5
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6081 arg7
= wxString_in_helper(obj6
);
6082 if (arg7
== NULL
) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6110 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6116 (char *) "self", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= wxPyMake_wxObject(result
, 0);
6138 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6144 (char *) "self", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= wxPyMake_wxObject(result
, 0);
6166 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
*resultobj
;
6168 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6173 (char *) "self",(char *) "mode", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6179 arg2
= (int)SWIG_As_int(obj1
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 (arg1
)->SetSplitMode(arg2
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 Py_INCREF(Py_None
); resultobj
= Py_None
;
6195 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_From_int((int)result
);
6221 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6224 wxWindow
*arg2
= (wxWindow
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "window", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 (arg1
)->Initialize(arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6253 wxWindow
*arg2
= (wxWindow
*) 0 ;
6254 wxWindow
*arg3
= (wxWindow
*) 0 ;
6255 int arg4
= (int) 0 ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 PyObject
* obj2
= 0 ;
6260 PyObject
* obj3
= 0 ;
6262 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6273 arg4
= (int)SWIG_As_int(obj3
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6292 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6295 wxWindow
*arg2
= (wxWindow
*) 0 ;
6296 wxWindow
*arg3
= (wxWindow
*) 0 ;
6297 int arg4
= (int) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6301 PyObject
* obj2
= 0 ;
6302 PyObject
* obj3
= 0 ;
6304 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6315 arg4
= (int)SWIG_As_int(obj3
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6334 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6337 wxWindow
*arg2
= (wxWindow
*) NULL
;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6342 (char *) "self",(char *) "toRemove", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (bool)(arg1
)->Unsplit(arg2
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6368 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6370 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6371 wxWindow
*arg2
= (wxWindow
*) 0 ;
6372 wxWindow
*arg3
= (wxWindow
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6378 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "self", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 (arg1
)->UpdateSize();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 Py_INCREF(Py_None
); resultobj
= Py_None
;
6429 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6464 (char *) "self",(char *) "width", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 arg2
= (int)SWIG_As_int(obj1
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 (arg1
)->SetSashSize(arg2
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6486 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6491 PyObject
* obj1
= 0 ;
6493 (char *) "self",(char *) "width", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6499 arg2
= (int)SWIG_As_int(obj1
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 (arg1
)->SetBorderSize(arg2
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 Py_INCREF(Py_None
); resultobj
= Py_None
;
6515 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6519 PyObject
* obj0
= 0 ;
6521 (char *) "self", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_From_int((int)result
);
6541 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6545 PyObject
* obj0
= 0 ;
6547 (char *) "self", NULL
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= SWIG_From_int((int)result
);
6567 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6571 bool arg3
= (bool) True
;
6572 PyObject
* obj0
= 0 ;
6573 PyObject
* obj1
= 0 ;
6574 PyObject
* obj2
= 0 ;
6576 (char *) "self",(char *) "position",(char *) "redraw", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6582 arg2
= (int)SWIG_As_int(obj1
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 arg3
= (bool)SWIG_As_bool(obj2
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->SetSashPosition(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6606 PyObject
* obj0
= 0 ;
6608 (char *) "self", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_From_int((int)result
);
6628 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj1
= 0 ;
6635 (char *) "self",(char *) "min", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6641 arg2
= (int)SWIG_As_int(obj1
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 (arg1
)->SetMinimumPaneSize(arg2
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 Py_INCREF(Py_None
); resultobj
= Py_None
;
6657 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "self", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_From_int((int)result
);
6683 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6688 int arg4
= (int) 5 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6692 PyObject
* obj2
= 0 ;
6693 PyObject
* obj3
= 0 ;
6695 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6701 arg2
= (int)SWIG_As_int(obj1
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6703 arg3
= (int)SWIG_As_int(obj2
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 arg4
= (int)SWIG_As_int(obj3
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6725 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6730 (char *) "self", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 (arg1
)->SizeWindows();
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 Py_INCREF(Py_None
); resultobj
= Py_None
;
6750 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "needUpdating", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6763 arg2
= (bool)SWIG_As_bool(obj1
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 (arg1
)->SetNeedUpdating(arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6807 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6810 wxVisualAttributes result
;
6811 PyObject
* obj0
= 0 ;
6813 (char *) "variant", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6818 arg1
= (int)SWIG_As_int(obj0
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6822 if (!wxPyCheckForApp()) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6830 wxVisualAttributes
* resultptr
;
6831 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6840 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6843 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6845 return Py_BuildValue((char *)"");
6847 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6850 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6851 wxSplitterEvent
*result
;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6855 (char *) "type",(char *) "splitter", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6881 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "pos", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 arg2
= (int)SWIG_As_int(obj1
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 (arg1
)->SetSashPosition(arg2
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 Py_INCREF(Py_None
); resultobj
= Py_None
;
6910 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_From_int((int)result
);
6936 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6942 (char *) "self", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= wxPyMake_wxObject(result
, 0);
6964 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6970 (char *) "self", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_From_int((int)result
);
6990 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6994 PyObject
* obj0
= 0 ;
6996 (char *) "self", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
7000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_From_int((int)result
);
7016 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
7018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7019 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7021 return Py_BuildValue((char *)"");
7023 static int _wrap_SashNameStr_set(PyObject
*) {
7024 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7029 static PyObject
*_wrap_SashNameStr_get() {
7034 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7036 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7043 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7044 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7049 static PyObject
*_wrap_SashLayoutNameStr_get() {
7054 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7056 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7063 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxWindow
*arg1
= (wxWindow
*) 0 ;
7066 int arg2
= (int) -1 ;
7067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7071 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7072 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7073 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7074 wxSashWindow
*result
;
7077 bool temp6
= False
;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7080 PyObject
* obj2
= 0 ;
7081 PyObject
* obj3
= 0 ;
7082 PyObject
* obj4
= 0 ;
7083 PyObject
* obj5
= 0 ;
7085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7092 arg2
= (int)SWIG_As_int(obj1
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7108 arg5
= (long)SWIG_As_long(obj4
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7113 arg6
= wxString_in_helper(obj5
);
7114 if (arg6
== NULL
) SWIG_fail
;
7119 if (!wxPyCheckForApp()) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7141 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7143 wxSashWindow
*result
;
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7150 if (!wxPyCheckForApp()) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= (wxSashWindow
*)new wxSashWindow();
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7164 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7167 wxWindow
*arg2
= (wxWindow
*) 0 ;
7168 int arg3
= (int) -1 ;
7169 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7170 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7171 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7172 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7173 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7174 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7175 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7179 bool temp7
= False
;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7182 PyObject
* obj2
= 0 ;
7183 PyObject
* obj3
= 0 ;
7184 PyObject
* obj4
= 0 ;
7185 PyObject
* obj5
= 0 ;
7186 PyObject
* obj6
= 0 ;
7188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 arg3
= (int)SWIG_As_int(obj2
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7213 arg6
= (long)SWIG_As_long(obj5
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7218 arg7
= wxString_in_helper(obj6
);
7219 if (arg7
== NULL
) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7247 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7254 PyObject
* obj2
= 0 ;
7256 (char *) "self",(char *) "edge",(char *) "sash", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 arg2
= (int)SWIG_As_int(obj1
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7264 arg3
= (bool)SWIG_As_bool(obj2
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 Py_INCREF(Py_None
); resultobj
= Py_None
;
7280 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7288 (char *) "self",(char *) "edge", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7294 arg2
= (int)SWIG_As_int(obj1
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7312 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7319 PyObject
* obj2
= 0 ;
7321 (char *) "self",(char *) "edge",(char *) "border", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 arg2
= (int)SWIG_As_int(obj1
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7329 arg3
= (bool)SWIG_As_bool(obj2
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 Py_INCREF(Py_None
); resultobj
= Py_None
;
7345 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7353 (char *) "self",(char *) "edge", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7359 arg2
= (int)SWIG_As_int(obj1
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7377 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7385 (char *) "self",(char *) "edge", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7391 arg2
= (int)SWIG_As_int(obj1
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= SWIG_From_int((int)result
);
7407 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7411 PyObject
* obj0
= 0 ;
7412 PyObject
* obj1
= 0 ;
7414 (char *) "self",(char *) "width", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7420 arg2
= (int)SWIG_As_int(obj1
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 (arg1
)->SetDefaultBorderSize(arg2
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 Py_INCREF(Py_None
); resultobj
= Py_None
;
7436 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7440 PyObject
* obj0
= 0 ;
7442 (char *) "self", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_From_int((int)result
);
7462 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7469 (char *) "self",(char *) "width", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7475 arg2
= (int)SWIG_As_int(obj1
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 (arg1
)->SetExtraBorderSize(arg2
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 Py_INCREF(Py_None
); resultobj
= Py_None
;
7491 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7497 (char *) "self", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= SWIG_From_int((int)result
);
7517 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj1
= 0 ;
7524 (char *) "self",(char *) "min", NULL
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7530 arg2
= (int)SWIG_As_int(obj1
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 (arg1
)->SetMinimumSizeX(arg2
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 Py_INCREF(Py_None
); resultobj
= Py_None
;
7546 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7551 PyObject
* obj1
= 0 ;
7553 (char *) "self",(char *) "min", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7559 arg2
= (int)SWIG_As_int(obj1
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 (arg1
)->SetMinimumSizeY(arg2
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 Py_INCREF(Py_None
); resultobj
= Py_None
;
7575 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7581 (char *) "self", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= SWIG_From_int((int)result
);
7601 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7605 PyObject
* obj0
= 0 ;
7607 (char *) "self", NULL
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 resultobj
= SWIG_From_int((int)result
);
7627 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7634 (char *) "self",(char *) "max", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 arg2
= (int)SWIG_As_int(obj1
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 (arg1
)->SetMaximumSizeX(arg2
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7656 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7661 PyObject
* obj1
= 0 ;
7663 (char *) "self",(char *) "max", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7669 arg2
= (int)SWIG_As_int(obj1
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 (arg1
)->SetMaximumSizeY(arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 Py_INCREF(Py_None
); resultobj
= Py_None
;
7685 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7691 (char *) "self", NULL
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_From_int((int)result
);
7711 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7717 (char *) "self", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_From_int((int)result
);
7737 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7742 int arg4
= (int) 2 ;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7746 PyObject
* obj2
= 0 ;
7747 PyObject
* obj3
= 0 ;
7749 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7755 arg2
= (int)SWIG_As_int(obj1
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7757 arg3
= (int)SWIG_As_int(obj2
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 arg4
= (int)SWIG_As_int(obj3
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_From_int((int)result
);
7777 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "self", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 (arg1
)->SizeWindows();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 Py_INCREF(Py_None
); resultobj
= Py_None
;
7802 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7805 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7807 return Py_BuildValue((char *)"");
7809 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 int arg1
= (int) 0 ;
7812 int arg2
= (int) wxSASH_NONE
;
7813 wxSashEvent
*result
;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7817 (char *) "id",(char *) "edge", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7822 arg1
= (int)SWIG_As_int(obj0
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 arg2
= (int)SWIG_As_int(obj1
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7843 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7850 (char *) "self",(char *) "edge", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7856 arg2
= (int)SWIG_As_int(obj1
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 Py_INCREF(Py_None
); resultobj
= Py_None
;
7872 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7878 (char *) "self", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_From_int((int)result
);
7898 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7906 (char *) "self",(char *) "rect", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7914 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 Py_INCREF(Py_None
); resultobj
= Py_None
;
7930 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7934 PyObject
* obj0
= 0 ;
7936 (char *) "self", NULL
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7951 resultptr
= new wxRect((wxRect
&) result
);
7952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7960 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7967 (char *) "self",(char *) "status", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 arg2
= (int)SWIG_As_int(obj1
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 Py_INCREF(Py_None
); resultobj
= Py_None
;
7989 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= SWIG_From_int((int)result
);
8015 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
8017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8018 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8020 return Py_BuildValue((char *)"");
8022 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 int arg1
= (int) 0 ;
8025 wxQueryLayoutInfoEvent
*result
;
8026 PyObject
* obj0
= 0 ;
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8033 arg1
= (int)SWIG_As_int(obj0
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8050 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8055 PyObject
* obj1
= 0 ;
8057 (char *) "self",(char *) "length", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8063 arg2
= (int)SWIG_As_int(obj1
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 (arg1
)->SetRequestedLength(arg2
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "self", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_From_int((int)result
);
8105 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8112 (char *) "self",(char *) "flags", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 arg2
= (int)SWIG_As_int(obj1
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 (arg1
)->SetFlags(arg2
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "self", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= SWIG_From_int((int)result
);
8160 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8168 (char *) "self",(char *) "size", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 (arg1
)->SetSize((wxSize
const &)*arg2
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(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_GetSize",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
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8213 resultptr
= new wxSize((wxSize
&) result
);
8214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8222 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8229 (char *) "self",(char *) "orient", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8235 arg2
= (int)SWIG_As_int(obj1
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 Py_INCREF(Py_None
); resultobj
= Py_None
;
8251 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8255 PyObject
* obj0
= 0 ;
8257 (char *) "self", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= SWIG_From_int((int)result
);
8277 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8284 (char *) "self",(char *) "align", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8290 arg2
= (int)SWIG_As_int(obj1
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8310 PyObject
* obj0
= 0 ;
8312 (char *) "self", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= SWIG_From_int((int)result
);
8332 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8335 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8337 return Py_BuildValue((char *)"");
8339 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 int arg1
= (int) 0 ;
8342 wxCalculateLayoutEvent
*result
;
8343 PyObject
* obj0
= 0 ;
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8350 arg1
= (int)SWIG_As_int(obj0
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8367 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "flags", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8380 arg2
= (int)SWIG_As_int(obj1
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->SetFlags(arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 Py_INCREF(Py_None
); resultobj
= Py_None
;
8396 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
;
8398 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8400 PyObject
* obj0
= 0 ;
8402 (char *) "self", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= SWIG_From_int((int)result
);
8422 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8430 (char *) "self",(char *) "rect", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8438 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 (arg1
)->SetRect((wxRect
const &)*arg2
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 Py_INCREF(Py_None
); resultobj
= Py_None
;
8454 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8475 resultptr
= new wxRect((wxRect
&) result
);
8476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8484 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8487 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8489 return Py_BuildValue((char *)"");
8491 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxWindow
*arg1
= (wxWindow
*) 0 ;
8494 int arg2
= (int) -1 ;
8495 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8496 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8497 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8498 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8499 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8500 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8501 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8502 wxSashLayoutWindow
*result
;
8505 bool temp6
= False
;
8506 PyObject
* obj0
= 0 ;
8507 PyObject
* obj1
= 0 ;
8508 PyObject
* obj2
= 0 ;
8509 PyObject
* obj3
= 0 ;
8510 PyObject
* obj4
= 0 ;
8511 PyObject
* obj5
= 0 ;
8513 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8520 arg2
= (int)SWIG_As_int(obj1
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8532 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8536 arg5
= (long)SWIG_As_long(obj4
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8541 arg6
= wxString_in_helper(obj5
);
8542 if (arg6
== NULL
) SWIG_fail
;
8547 if (!wxPyCheckForApp()) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8569 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxSashLayoutWindow
*result
;
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8578 if (!wxPyCheckForApp()) SWIG_fail
;
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8592 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8595 wxWindow
*arg2
= (wxWindow
*) 0 ;
8596 int arg3
= (int) -1 ;
8597 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8598 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8599 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8600 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8601 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8602 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8603 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8607 bool temp7
= False
;
8608 PyObject
* obj0
= 0 ;
8609 PyObject
* obj1
= 0 ;
8610 PyObject
* obj2
= 0 ;
8611 PyObject
* obj3
= 0 ;
8612 PyObject
* obj4
= 0 ;
8613 PyObject
* obj5
= 0 ;
8614 PyObject
* obj6
= 0 ;
8616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 arg3
= (int)SWIG_As_int(obj2
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8631 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8637 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8641 arg6
= (long)SWIG_As_long(obj5
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8646 arg7
= wxString_in_helper(obj6
);
8647 if (arg7
== NULL
) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8675 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8681 (char *) "self", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (int)(arg1
)->GetAlignment();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_From_int((int)result
);
8701 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8707 (char *) "self", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 result
= (int)(arg1
)->GetOrientation();
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_From_int((int)result
);
8727 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8734 (char *) "self",(char *) "alignment", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8740 arg2
= (int)SWIG_As_int(obj1
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 Py_INCREF(Py_None
); resultobj
= Py_None
;
8756 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "size", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8795 (char *) "self",(char *) "orientation", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8801 arg2
= (int)SWIG_As_int(obj1
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 Py_INCREF(Py_None
); resultobj
= Py_None
;
8817 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8820 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8822 return Py_BuildValue((char *)"");
8824 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxLayoutAlgorithm
*result
;
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8846 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8849 PyObject
* obj0
= 0 ;
8851 (char *) "self", NULL
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8874 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8875 wxRect
*arg3
= (wxRect
*) NULL
;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8879 PyObject
* obj2
= 0 ;
8881 (char *) "self",(char *) "frame",(char *) "rect", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8909 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8912 wxFrame
*arg2
= (wxFrame
*) 0 ;
8913 wxWindow
*arg3
= (wxWindow
*) NULL
;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 PyObject
* obj2
= 0 ;
8919 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8928 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8947 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8950 wxWindow
*arg2
= (wxWindow
*) 0 ;
8951 wxWindow
*arg3
= (wxWindow
*) NULL
;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 PyObject
* obj2
= 0 ;
8957 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8966 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8985 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8988 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8990 return Py_BuildValue((char *)"");
8992 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxWindow
*arg1
= (wxWindow
*) 0 ;
8995 int arg2
= (int) wxBORDER_NONE
;
8996 wxPopupWindow
*result
;
8997 PyObject
* obj0
= 0 ;
8998 PyObject
* obj1
= 0 ;
9000 (char *) "parent",(char *) "flags", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9007 arg2
= (int)SWIG_As_int(obj1
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9024 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxPopupWindow
*result
;
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= (wxPopupWindow
*)new wxPopupWindow();
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9046 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9049 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9051 return Py_BuildValue((char *)"");
9053 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxWindow
*arg1
= (wxWindow
*) 0 ;
9056 int arg2
= (int) wxBORDER_NONE
;
9057 wxPyPopupTransientWindow
*result
;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9061 (char *) "parent",(char *) "style", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 arg2
= (int)SWIG_As_int(obj1
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9085 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxPyPopupTransientWindow
*result
;
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9107 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9110 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9112 return Py_BuildValue((char *)"");
9114 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxWindow
*arg1
= (wxWindow
*) 0 ;
9117 wxString
*arg2
= 0 ;
9118 int arg3
= (int) 100 ;
9119 wxRect
*arg4
= (wxRect
*) NULL
;
9120 wxTipWindow
*result
;
9121 bool temp2
= False
;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9124 PyObject
* obj2
= 0 ;
9125 PyObject
* obj3
= 0 ;
9127 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9134 arg2
= wxString_in_helper(obj1
);
9135 if (arg2
== NULL
) SWIG_fail
;
9139 arg3
= (int)SWIG_As_int(obj2
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9143 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 if (!wxPyCheckForApp()) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9169 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9177 (char *) "self",(char *) "rectBound", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9185 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 Py_INCREF(Py_None
); resultobj
= Py_None
;
9201 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9206 (char *) "self", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 Py_INCREF(Py_None
); resultobj
= Py_None
;
9226 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9229 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9231 return Py_BuildValue((char *)"");
9233 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxWindow
*arg1
= (wxWindow
*) 0 ;
9236 int arg2
= (int) wxID_ANY
;
9237 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9238 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9239 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9240 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9241 long arg5
= (long) 0 ;
9242 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9243 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9244 wxPyVScrolledWindow
*result
;
9247 bool temp6
= False
;
9248 PyObject
* obj0
= 0 ;
9249 PyObject
* obj1
= 0 ;
9250 PyObject
* obj2
= 0 ;
9251 PyObject
* obj3
= 0 ;
9252 PyObject
* obj4
= 0 ;
9253 PyObject
* obj5
= 0 ;
9255 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9262 arg2
= (int)SWIG_As_int(obj1
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9274 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9278 arg5
= (long)SWIG_As_long(obj4
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9283 arg6
= wxString_in_helper(obj5
);
9284 if (arg6
== NULL
) SWIG_fail
;
9289 if (!wxPyCheckForApp()) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9311 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxPyVScrolledWindow
*result
;
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9320 if (!wxPyCheckForApp()) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9334 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9337 PyObject
*arg2
= (PyObject
*) 0 ;
9338 PyObject
*arg3
= (PyObject
*) 0 ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 PyObject
* obj2
= 0 ;
9343 (char *) "self",(char *) "self",(char *) "_class", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 Py_INCREF(Py_None
); resultobj
= Py_None
;
9365 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9367 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9368 wxWindow
*arg2
= (wxWindow
*) 0 ;
9369 int arg3
= (int) wxID_ANY
;
9370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9374 long arg6
= (long) 0 ;
9375 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9380 bool temp7
= False
;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9383 PyObject
* obj2
= 0 ;
9384 PyObject
* obj3
= 0 ;
9385 PyObject
* obj4
= 0 ;
9386 PyObject
* obj5
= 0 ;
9387 PyObject
* obj6
= 0 ;
9389 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 arg3
= (int)SWIG_As_int(obj2
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9414 arg6
= (long)SWIG_As_long(obj5
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9419 arg7
= wxString_in_helper(obj6
);
9420 if (arg7
== NULL
) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9448 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9450 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9455 (char *) "self",(char *) "count", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9461 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 (arg1
)->SetLineCount(arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 Py_INCREF(Py_None
); resultobj
= Py_None
;
9477 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9485 (char *) "self",(char *) "line", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9491 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9509 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9515 PyObject
* obj1
= 0 ;
9517 (char *) "self",(char *) "lines", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9523 arg2
= (int)SWIG_As_int(obj1
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 result
= (bool)(arg1
)->ScrollLines(arg2
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9541 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9549 (char *) "self",(char *) "pages", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 arg2
= (int)SWIG_As_int(obj1
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (bool)(arg1
)->ScrollPages(arg2
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9573 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9577 PyObject
* obj0
= 0 ;
9578 PyObject
* obj1
= 0 ;
9580 (char *) "self",(char *) "line", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9586 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 (arg1
)->RefreshLine(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 Py_INCREF(Py_None
); resultobj
= Py_None
;
9602 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9607 PyObject
* obj0
= 0 ;
9608 PyObject
* obj1
= 0 ;
9609 PyObject
* obj2
= 0 ;
9611 (char *) "self",(char *) "from",(char *) "to", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9619 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 (arg1
)->RefreshLines(arg2
,arg3
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 Py_INCREF(Py_None
); resultobj
= Py_None
;
9635 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 PyObject
* obj2
= 0 ;
9645 (char *) "self",(char *) "x",(char *) "y", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9651 arg2
= (int)SWIG_As_int(obj1
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9653 arg3
= (int)SWIG_As_int(obj2
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_From_int((int)result
);
9669 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9678 (char *) "self",(char *) "pt", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_From_int((int)result
);
9702 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9707 (char *) "self", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 (arg1
)->RefreshAll();
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 Py_INCREF(Py_None
); resultobj
= Py_None
;
9727 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9733 (char *) "self", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9753 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9759 (char *) "self", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9779 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9805 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9813 (char *) "self",(char *) "line", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9819 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9837 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9840 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9842 return Py_BuildValue((char *)"");
9844 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9845 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9850 static PyObject
*_wrap_VListBoxNameStr_get() {
9855 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9857 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9864 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxWindow
*arg1
= (wxWindow
*) 0 ;
9867 int arg2
= (int) wxID_ANY
;
9868 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9869 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9870 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9871 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9872 long arg5
= (long) 0 ;
9873 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9874 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9875 wxPyVListBox
*result
;
9878 bool temp6
= False
;
9879 PyObject
* obj0
= 0 ;
9880 PyObject
* obj1
= 0 ;
9881 PyObject
* obj2
= 0 ;
9882 PyObject
* obj3
= 0 ;
9883 PyObject
* obj4
= 0 ;
9884 PyObject
* obj5
= 0 ;
9886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9893 arg2
= (int)SWIG_As_int(obj1
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9899 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9905 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9909 arg5
= (long)SWIG_As_long(obj4
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9914 arg6
= wxString_in_helper(obj5
);
9915 if (arg6
== NULL
) SWIG_fail
;
9920 if (!wxPyCheckForApp()) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9942 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxPyVListBox
*result
;
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9951 if (!wxPyCheckForApp()) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= (wxPyVListBox
*)new wxPyVListBox();
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9965 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
;
9967 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9968 PyObject
*arg2
= (PyObject
*) 0 ;
9969 PyObject
*arg3
= (PyObject
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 PyObject
* obj2
= 0 ;
9974 (char *) "self",(char *) "self",(char *) "_class", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 Py_INCREF(Py_None
); resultobj
= Py_None
;
9996 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9999 wxWindow
*arg2
= (wxWindow
*) 0 ;
10000 int arg3
= (int) wxID_ANY
;
10001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10003 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10004 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10005 long arg6
= (long) 0 ;
10006 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10007 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10011 bool temp7
= False
;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 PyObject
* obj2
= 0 ;
10015 PyObject
* obj3
= 0 ;
10016 PyObject
* obj4
= 0 ;
10017 PyObject
* obj5
= 0 ;
10018 PyObject
* obj6
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10029 arg3
= (int)SWIG_As_int(obj2
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10035 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10041 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10045 arg6
= (long)SWIG_As_long(obj5
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10050 arg7
= wxString_in_helper(obj6
);
10051 if (arg7
== NULL
) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10079 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10105 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10133 static PyObject
*_wrap_VListBox_GetSelection(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_GetSelection",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
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_From_int((int)result
);
10159 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self",(char *) "item", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10191 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 PyObject
* obj1
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self",(char *) "item", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10223 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10225 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10227 PyObject
* obj0
= 0 ;
10228 char *kwnames
[] = {
10229 (char *) "self", NULL
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10249 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10253 PyObject
* obj0
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= result
;
10275 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10278 unsigned long arg2
;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "self",(char *) "cookie", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= result
;
10305 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 wxPoint
* resultptr
;
10326 resultptr
= new wxPoint((wxPoint
&) result
);
10327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10335 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10339 PyObject
* obj0
= 0 ;
10340 char *kwnames
[] = {
10341 (char *) "self", NULL
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10351 result
= (wxColour
*) &_result_ref
;
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10364 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self",(char *) "count", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10377 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->SetItemCount(arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_VListBox_SetSelection(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 *) "selection", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",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
= (int)SWIG_As_int(obj1
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->SetSelection(arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10451 bool arg3
= (bool) True
;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 PyObject
* obj2
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self",(char *) "item",(char *) "select", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 arg3
= (bool)SWIG_As_bool(obj2
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10485 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 PyObject
* obj2
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self",(char *) "from",(char *) "to", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10501 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10503 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10521 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "item", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 (arg1
)->Toggle(arg2
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 Py_INCREF(Py_None
); resultobj
= Py_None
;
10550 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (bool)(arg1
)->SelectAll();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10578 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (bool)(arg1
)->DeselectAll();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10606 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10609 wxPoint
*arg2
= 0 ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "pt", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 Py_INCREF(Py_None
); resultobj
= Py_None
;
10638 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 PyObject
* obj1
= 0 ;
10645 PyObject
* obj2
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self",(char *) "x",(char *) "y", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 arg2
= (int)SWIG_As_int(obj1
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10655 arg3
= (int)SWIG_As_int(obj2
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetMargins(arg2
,arg3
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10674 wxColour
*arg2
= 0 ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "col", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10706 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10708 return Py_BuildValue((char *)"");
10710 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxWindow
*arg1
= (wxWindow
*) 0 ;
10713 int arg2
= (int) wxID_ANY
;
10714 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10715 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10716 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10717 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10718 long arg5
= (long) 0 ;
10719 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10720 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10721 wxPyHtmlListBox
*result
;
10724 bool temp6
= False
;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 PyObject
* obj2
= 0 ;
10728 PyObject
* obj3
= 0 ;
10729 PyObject
* obj4
= 0 ;
10730 PyObject
* obj5
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10739 arg2
= (int)SWIG_As_int(obj1
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10745 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10751 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10755 arg5
= (long)SWIG_As_long(obj4
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10760 arg6
= wxString_in_helper(obj5
);
10761 if (arg6
== NULL
) SWIG_fail
;
10766 if (!wxPyCheckForApp()) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10788 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxPyHtmlListBox
*result
;
10791 char *kwnames
[] = {
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10797 if (!wxPyCheckForApp()) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10811 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10814 PyObject
*arg2
= (PyObject
*) 0 ;
10815 PyObject
*arg3
= (PyObject
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 PyObject
* obj2
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self",(char *) "self",(char *) "_class", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 Py_INCREF(Py_None
); resultobj
= Py_None
;
10842 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10845 wxWindow
*arg2
= (wxWindow
*) 0 ;
10846 int arg3
= (int) wxID_ANY
;
10847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10851 long arg6
= (long) 0 ;
10852 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10857 bool temp7
= False
;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 PyObject
* obj2
= 0 ;
10861 PyObject
* obj3
= 0 ;
10862 PyObject
* obj4
= 0 ;
10863 PyObject
* obj5
= 0 ;
10864 PyObject
* obj6
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10875 arg3
= (int)SWIG_As_int(obj2
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10891 arg6
= (long)SWIG_As_long(obj5
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10896 arg7
= wxString_in_helper(obj6
);
10897 if (arg7
== NULL
) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10925 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 (arg1
)->RefreshAll();
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 Py_INCREF(Py_None
); resultobj
= Py_None
;
10950 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self",(char *) "count", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10963 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 (arg1
)->SetItemCount(arg2
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 Py_INCREF(Py_None
); resultobj
= Py_None
;
10979 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10982 wxFileSystem
*result
;
10983 PyObject
* obj0
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10995 result
= (wxFileSystem
*) &_result_ref
;
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11008 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11011 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11013 return Py_BuildValue((char *)"");
11015 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxTaskBarIcon
*result
;
11018 char *kwnames
[] = {
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11024 if (!wxPyCheckForApp()) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
11038 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 wxTaskBarIcon_Destroy(arg1
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 Py_INCREF(Py_None
); resultobj
= Py_None
;
11088 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11091 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11093 return Py_BuildValue((char *)"");
11095 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11098 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11099 wxTaskBarIconEvent
*result
;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "evtType",(char *) "tbIcon", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11107 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11125 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11128 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11130 return Py_BuildValue((char *)"");
11132 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11133 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11138 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11143 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11145 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11152 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11153 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11158 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11163 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11165 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11172 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11173 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11178 static PyObject
*_wrap_DirDialogNameStr_get() {
11183 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11185 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11192 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11193 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11198 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11203 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11205 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11212 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11213 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11218 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11223 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11225 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11232 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11233 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11238 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11243 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11245 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11252 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxColourData
*result
;
11255 char *kwnames
[] = {
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (wxColourData
*)new wxColourData();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11274 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxColourData
*arg1
= (wxColourData
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 Py_INCREF(Py_None
); resultobj
= Py_None
;
11299 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxColourData
*arg1
= (wxColourData
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (bool)(arg1
)->GetChooseFull();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11327 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxColourData
*arg1
= (wxColourData
*) 0 ;
11331 PyObject
* obj0
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (arg1
)->GetColour();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11347 wxColour
* resultptr
;
11348 resultptr
= new wxColour((wxColour
&) result
);
11349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11357 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxColourData
*arg1
= (wxColourData
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self",(char *) "i", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11371 arg2
= (int)SWIG_As_int(obj1
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (arg1
)->GetCustomColour(arg2
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11381 wxColour
* resultptr
;
11382 resultptr
= new wxColour((wxColour
&) result
);
11383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11391 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxColourData
*arg1
= (wxColourData
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self",(char *) "flag", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11404 arg2
= (int)SWIG_As_int(obj1
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 (arg1
)->SetChooseFull(arg2
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 Py_INCREF(Py_None
); resultobj
= Py_None
;
11420 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxColourData
*arg1
= (wxColourData
*) 0 ;
11423 wxColour
*arg2
= 0 ;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "colour", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11436 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 (arg1
)->SetColour((wxColour
const &)*arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 Py_INCREF(Py_None
); resultobj
= Py_None
;
11452 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxColourData
*arg1
= (wxColourData
*) 0 ;
11456 wxColour
*arg3
= 0 ;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11460 PyObject
* obj2
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "i",(char *) "colour", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11468 arg2
= (int)SWIG_As_int(obj1
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 Py_INCREF(Py_None
); resultobj
= Py_None
;
11488 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11491 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11493 return Py_BuildValue((char *)"");
11495 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxWindow
*arg1
= (wxWindow
*) 0 ;
11498 wxColourData
*arg2
= (wxColourData
*) NULL
;
11499 wxColourDialog
*result
;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "parent",(char *) "data", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11514 if (!wxPyCheckForApp()) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11528 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11531 wxColourData
*result
;
11532 PyObject
* obj0
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11544 result
= (wxColourData
*) &_result_ref
;
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11557 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11562 return Py_BuildValue((char *)"");
11564 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxWindow
*arg1
= (wxWindow
*) 0 ;
11567 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11568 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11571 long arg4
= (long) 0 ;
11572 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11573 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11574 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11575 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11576 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11577 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11578 wxDirDialog
*result
;
11579 bool temp2
= False
;
11580 bool temp3
= False
;
11583 bool temp7
= False
;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 PyObject
* obj2
= 0 ;
11587 PyObject
* obj3
= 0 ;
11588 PyObject
* obj4
= 0 ;
11589 PyObject
* obj5
= 0 ;
11590 PyObject
* obj6
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11600 arg2
= wxString_in_helper(obj1
);
11601 if (arg2
== NULL
) SWIG_fail
;
11607 arg3
= wxString_in_helper(obj2
);
11608 if (arg3
== NULL
) SWIG_fail
;
11613 arg4
= (long)SWIG_As_long(obj3
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11619 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11625 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11630 arg7
= wxString_in_helper(obj6
);
11631 if (arg7
== NULL
) SWIG_fail
;
11636 if (!wxPyCheckForApp()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11674 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11678 PyObject
* obj0
= 0 ;
11679 char *kwnames
[] = {
11680 (char *) "self", NULL
11683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (arg1
)->GetPath();
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11706 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (arg1
)->GetMessage();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11738 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11740 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11742 PyObject
* obj0
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (long)(arg1
)->GetStyle();
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_From_long((long)result
);
11764 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11767 wxString
*arg2
= 0 ;
11768 bool temp2
= False
;
11769 PyObject
* obj0
= 0 ;
11770 PyObject
* obj1
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self",(char *) "message", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11779 arg2
= wxString_in_helper(obj1
);
11780 if (arg2
== NULL
) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 (arg1
)->SetMessage((wxString
const &)*arg2
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 Py_INCREF(Py_None
); resultobj
= Py_None
;
11805 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11808 wxString
*arg2
= 0 ;
11809 bool temp2
= False
;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self",(char *) "path", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11820 arg2
= wxString_in_helper(obj1
);
11821 if (arg2
== NULL
) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 (arg1
)->SetPath((wxString
const &)*arg2
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 Py_INCREF(Py_None
); resultobj
= Py_None
;
11846 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
11848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11849 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11851 return Py_BuildValue((char *)"");
11853 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxWindow
*arg1
= (wxWindow
*) 0 ;
11856 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11857 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11858 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11859 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11860 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11861 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11862 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11863 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11864 long arg6
= (long) 0 ;
11865 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11866 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11867 wxFileDialog
*result
;
11868 bool temp2
= False
;
11869 bool temp3
= False
;
11870 bool temp4
= False
;
11871 bool temp5
= False
;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 PyObject
* obj2
= 0 ;
11876 PyObject
* obj3
= 0 ;
11877 PyObject
* obj4
= 0 ;
11878 PyObject
* obj5
= 0 ;
11879 PyObject
* obj6
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 arg2
= wxString_in_helper(obj1
);
11890 if (arg2
== NULL
) SWIG_fail
;
11896 arg3
= wxString_in_helper(obj2
);
11897 if (arg3
== NULL
) SWIG_fail
;
11903 arg4
= wxString_in_helper(obj3
);
11904 if (arg4
== NULL
) SWIG_fail
;
11910 arg5
= wxString_in_helper(obj4
);
11911 if (arg5
== NULL
) SWIG_fail
;
11916 arg6
= (long)SWIG_As_long(obj5
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11922 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11926 if (!wxPyCheckForApp()) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11972 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11975 wxString
*arg2
= 0 ;
11976 bool temp2
= False
;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self",(char *) "message", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11987 arg2
= wxString_in_helper(obj1
);
11988 if (arg2
== NULL
) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 (arg1
)->SetMessage((wxString
const &)*arg2
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 Py_INCREF(Py_None
); resultobj
= Py_None
;
12013 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12016 wxString
*arg2
= 0 ;
12017 bool temp2
= False
;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self",(char *) "path", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12028 arg2
= wxString_in_helper(obj1
);
12029 if (arg2
== NULL
) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 (arg1
)->SetPath((wxString
const &)*arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 Py_INCREF(Py_None
); resultobj
= Py_None
;
12054 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12057 wxString
*arg2
= 0 ;
12058 bool temp2
= False
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "dir", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12069 arg2
= wxString_in_helper(obj1
);
12070 if (arg2
== NULL
) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 Py_INCREF(Py_None
); resultobj
= Py_None
;
12095 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12098 wxString
*arg2
= 0 ;
12099 bool temp2
= False
;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self",(char *) "name", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12110 arg2
= wxString_in_helper(obj1
);
12111 if (arg2
== NULL
) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->SetFilename((wxString
const &)*arg2
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 Py_INCREF(Py_None
); resultobj
= Py_None
;
12136 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12139 wxString
*arg2
= 0 ;
12140 bool temp2
= False
;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "wildCard", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12151 arg2
= wxString_in_helper(obj1
);
12152 if (arg2
== NULL
) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 Py_INCREF(Py_None
); resultobj
= Py_None
;
12177 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj1
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "style", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12190 arg2
= (long)SWIG_As_long(obj1
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->SetStyle(arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12206 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 PyObject
* obj1
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self",(char *) "filterIndex", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 arg2
= (int)SWIG_As_int(obj1
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->SetFilterIndex(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 Py_INCREF(Py_None
); resultobj
= Py_None
;
12235 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12267 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12299 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12331 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12363 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12395 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= SWIG_From_long((long)result
);
12421 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12425 PyObject
* obj0
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= SWIG_From_int((int)result
);
12447 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= result
;
12473 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12477 PyObject
* obj0
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "self", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= result
;
12499 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12502 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12504 return Py_BuildValue((char *)"");
12506 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxWindow
*arg1
= (wxWindow
*) 0 ;
12509 wxString
*arg2
= 0 ;
12510 wxString
*arg3
= 0 ;
12511 int arg4
= (int) 0 ;
12512 wxString
*arg5
= (wxString
*) NULL
;
12513 long arg6
= (long) wxCHOICEDLG_STYLE
;
12514 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12515 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12516 wxMultiChoiceDialog
*result
;
12517 bool temp2
= False
;
12518 bool temp3
= False
;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 PyObject
* obj2
= 0 ;
12523 PyObject
* obj3
= 0 ;
12524 PyObject
* obj4
= 0 ;
12525 PyObject
* obj5
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12534 arg2
= wxString_in_helper(obj1
);
12535 if (arg2
== NULL
) SWIG_fail
;
12539 arg3
= wxString_in_helper(obj2
);
12540 if (arg3
== NULL
) SWIG_fail
;
12545 arg4
= PyList_Size(obj3
);
12546 arg5
= wxString_LIST_helper(obj3
);
12547 if (arg5
== NULL
) SWIG_fail
;
12551 arg6
= (long)SWIG_As_long(obj4
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12557 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12561 if (!wxPyCheckForApp()) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12578 if (arg5
) delete [] arg5
;
12591 if (arg5
) delete [] arg5
;
12597 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12600 wxArrayInt
*arg2
= 0 ;
12601 bool temp2
= False
;
12602 PyObject
* obj0
= 0 ;
12603 PyObject
* obj1
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self",(char *) "selections", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12612 if (! PySequence_Check(obj1
)) {
12613 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12616 arg2
= new wxArrayInt
;
12618 int i
, len
=PySequence_Length(obj1
);
12619 for (i
=0; i
<len
; i
++) {
12620 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12621 PyObject
* number
= PyNumber_Int(item
);
12622 arg2
->Add(PyInt_AS_LONG(number
));
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 if (temp2
) delete arg2
;
12641 if (temp2
) delete arg2
;
12647 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= result
;
12673 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12676 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12678 return Py_BuildValue((char *)"");
12680 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxWindow
*arg1
= (wxWindow
*) 0 ;
12683 wxString
*arg2
= 0 ;
12684 wxString
*arg3
= 0 ;
12686 wxString
*arg5
= (wxString
*) 0 ;
12687 long arg6
= (long) wxCHOICEDLG_STYLE
;
12688 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12689 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12690 wxSingleChoiceDialog
*result
;
12691 bool temp2
= False
;
12692 bool temp3
= False
;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 PyObject
* obj3
= 0 ;
12698 PyObject
* obj4
= 0 ;
12699 PyObject
* obj5
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12708 arg2
= wxString_in_helper(obj1
);
12709 if (arg2
== NULL
) SWIG_fail
;
12713 arg3
= wxString_in_helper(obj2
);
12714 if (arg3
== NULL
) SWIG_fail
;
12718 arg4
= PyList_Size(obj3
);
12719 arg5
= wxString_LIST_helper(obj3
);
12720 if (arg5
== NULL
) SWIG_fail
;
12723 arg6
= (long)SWIG_As_long(obj4
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12729 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12733 if (!wxPyCheckForApp()) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12750 if (arg5
) delete [] arg5
;
12763 if (arg5
) delete [] arg5
;
12769 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (int)(arg1
)->GetSelection();
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_From_int((int)result
);
12795 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12799 PyObject
* obj0
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (arg1
)->GetStringSelection();
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12827 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self",(char *) "sel", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12840 arg2
= (int)SWIG_As_int(obj1
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 (arg1
)->SetSelection(arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 Py_INCREF(Py_None
); resultobj
= Py_None
;
12856 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12859 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12861 return Py_BuildValue((char *)"");
12863 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxWindow
*arg1
= (wxWindow
*) 0 ;
12866 wxString
*arg2
= 0 ;
12867 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12868 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12869 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12870 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12871 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12872 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12873 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12874 wxTextEntryDialog
*result
;
12875 bool temp2
= False
;
12876 bool temp3
= False
;
12877 bool temp4
= False
;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 PyObject
* obj2
= 0 ;
12882 PyObject
* obj3
= 0 ;
12883 PyObject
* obj4
= 0 ;
12884 PyObject
* obj5
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12893 arg2
= wxString_in_helper(obj1
);
12894 if (arg2
== NULL
) SWIG_fail
;
12899 arg3
= wxString_in_helper(obj2
);
12900 if (arg3
== NULL
) SWIG_fail
;
12906 arg4
= wxString_in_helper(obj3
);
12907 if (arg4
== NULL
) SWIG_fail
;
12912 arg5
= (long)SWIG_As_long(obj4
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12918 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12922 if (!wxPyCheckForApp()) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12960 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (arg1
)->GetValue();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12992 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12995 wxString
*arg2
= 0 ;
12996 bool temp2
= False
;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self",(char *) "value", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13007 arg2
= wxString_in_helper(obj1
);
13008 if (arg2
== NULL
) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 (arg1
)->SetValue((wxString
const &)*arg2
);
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 Py_INCREF(Py_None
); resultobj
= Py_None
;
13033 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13036 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13038 return Py_BuildValue((char *)"");
13040 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxFontData
*result
;
13043 char *kwnames
[] = {
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (wxFontData
*)new wxFontData();
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13062 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxFontData
*arg1
= (wxFontData
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 Py_INCREF(Py_None
); resultobj
= Py_None
;
13087 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxFontData
*arg1
= (wxFontData
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "enable", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 arg2
= (bool)SWIG_As_bool(obj1
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 (arg1
)->EnableEffects(arg2
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 Py_INCREF(Py_None
); resultobj
= Py_None
;
13116 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxFontData
*arg1
= (wxFontData
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (bool)(arg1
)->GetAllowSymbols();
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13144 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxFontData
*arg1
= (wxFontData
*) 0 ;
13148 PyObject
* obj0
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (arg1
)->GetColour();
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 wxColour
* resultptr
;
13165 resultptr
= new wxColour((wxColour
&) result
);
13166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13174 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxFontData
*arg1
= (wxFontData
*) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (arg1
)->GetChosenFont();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13194 wxFont
* resultptr
;
13195 resultptr
= new wxFont((wxFont
&) result
);
13196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13204 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxFontData
*arg1
= (wxFontData
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)(arg1
)->GetEnableEffects();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13232 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxFontData
*arg1
= (wxFontData
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (arg1
)->GetInitialFont();
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13252 wxFont
* resultptr
;
13253 resultptr
= new wxFont((wxFont
&) result
);
13254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13262 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxFontData
*arg1
= (wxFontData
*) 0 ;
13266 PyObject
* obj0
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (bool)(arg1
)->GetShowHelp();
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13290 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxFontData
*arg1
= (wxFontData
*) 0 ;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj1
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self",(char *) "allowSymbols", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13303 arg2
= (bool)SWIG_As_bool(obj1
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 (arg1
)->SetAllowSymbols(arg2
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 Py_INCREF(Py_None
); resultobj
= Py_None
;
13319 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxFontData
*arg1
= (wxFontData
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self",(char *) "font", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13335 if (arg2
== NULL
) {
13336 PyErr_SetString(PyExc_TypeError
,"null reference");
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 Py_INCREF(Py_None
); resultobj
= Py_None
;
13353 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxFontData
*arg1
= (wxFontData
*) 0 ;
13356 wxColour
*arg2
= 0 ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "colour", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->SetColour((wxColour
const &)*arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxFontData
*arg1
= (wxFontData
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self",(char *) "font", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13401 if (arg2
== NULL
) {
13402 PyErr_SetString(PyExc_TypeError
,"null reference");
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 Py_INCREF(Py_None
); resultobj
= Py_None
;
13419 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxFontData
*arg1
= (wxFontData
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "min",(char *) "max", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 arg2
= (int)SWIG_As_int(obj1
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13436 arg3
= (int)SWIG_As_int(obj2
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 (arg1
)->SetRange(arg2
,arg3
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxFontData
*arg1
= (wxFontData
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "showHelp", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13465 arg2
= (bool)SWIG_As_bool(obj1
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 (arg1
)->SetShowHelp(arg2
);
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 Py_INCREF(Py_None
); resultobj
= Py_None
;
13481 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13484 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13486 return Py_BuildValue((char *)"");
13488 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxWindow
*arg1
= (wxWindow
*) 0 ;
13491 wxFontData
*arg2
= 0 ;
13492 wxFontDialog
*result
;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "parent",(char *) "data", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13505 if (arg2
== NULL
) {
13506 PyErr_SetString(PyExc_TypeError
,"null reference");
13510 if (!wxPyCheckForApp()) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13524 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13527 wxFontData
*result
;
13528 PyObject
* obj0
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13540 result
= (wxFontData
*) &_result_ref
;
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13553 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13556 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13558 return Py_BuildValue((char *)"");
13560 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxWindow
*arg1
= (wxWindow
*) 0 ;
13563 wxString
*arg2
= 0 ;
13564 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13566 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13567 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13568 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13569 wxMessageDialog
*result
;
13570 bool temp2
= False
;
13571 bool temp3
= False
;
13573 PyObject
* obj0
= 0 ;
13574 PyObject
* obj1
= 0 ;
13575 PyObject
* obj2
= 0 ;
13576 PyObject
* obj3
= 0 ;
13577 PyObject
* obj4
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 arg2
= wxString_in_helper(obj1
);
13587 if (arg2
== NULL
) SWIG_fail
;
13592 arg3
= wxString_in_helper(obj2
);
13593 if (arg3
== NULL
) SWIG_fail
;
13598 arg4
= (long)SWIG_As_long(obj3
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13604 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13608 if (!wxPyCheckForApp()) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13638 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13641 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13643 return Py_BuildValue((char *)"");
13645 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxString
*arg1
= 0 ;
13648 wxString
*arg2
= 0 ;
13649 int arg3
= (int) 100 ;
13650 wxWindow
*arg4
= (wxWindow
*) NULL
;
13651 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13652 wxProgressDialog
*result
;
13653 bool temp1
= False
;
13654 bool temp2
= False
;
13655 PyObject
* obj0
= 0 ;
13656 PyObject
* obj1
= 0 ;
13657 PyObject
* obj2
= 0 ;
13658 PyObject
* obj3
= 0 ;
13659 PyObject
* obj4
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13666 arg1
= wxString_in_helper(obj0
);
13667 if (arg1
== NULL
) SWIG_fail
;
13671 arg2
= wxString_in_helper(obj1
);
13672 if (arg2
== NULL
) SWIG_fail
;
13676 arg3
= (int)SWIG_As_int(obj2
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13680 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 arg5
= (int)SWIG_As_int(obj4
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 if (!wxPyCheckForApp()) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13718 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13722 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13723 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13725 bool temp3
= False
;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 PyObject
* obj2
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 arg2
= (int)SWIG_As_int(obj1
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13740 arg3
= wxString_in_helper(obj2
);
13741 if (arg3
== NULL
) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13769 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 char *kwnames
[] = {
13774 (char *) "self", NULL
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 Py_INCREF(Py_None
); resultobj
= Py_None
;
13794 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
13796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13797 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13799 return Py_BuildValue((char *)"");
13801 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13804 int arg2
= (int) 0 ;
13805 wxFindDialogEvent
*result
;
13806 PyObject
* obj0
= 0 ;
13807 PyObject
* obj1
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "commandType",(char *) "id", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13814 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13818 arg2
= (int)SWIG_As_int(obj1
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13835 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13839 PyObject
* obj0
= 0 ;
13840 char *kwnames
[] = {
13841 (char *) "self", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (int)(arg1
)->GetFlags();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_From_int((int)result
);
13861 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 wxString
const &_result_ref
= (arg1
)->GetFindString();
13877 result
= (wxString
*) &_result_ref
;
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13896 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13912 result
= (wxString
*) &_result_ref
;
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13922 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13931 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13934 wxFindReplaceDialog
*result
;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13957 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 PyObject
* obj1
= 0 ;
13963 char *kwnames
[] = {
13964 (char *) "self",(char *) "flags", NULL
13967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13970 arg2
= (int)SWIG_As_int(obj1
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 (arg1
)->SetFlags(arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 Py_INCREF(Py_None
); resultobj
= Py_None
;
13986 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13989 wxString
*arg2
= 0 ;
13990 bool temp2
= False
;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self",(char *) "str", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14001 arg2
= wxString_in_helper(obj1
);
14002 if (arg2
== NULL
) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 (arg1
)->SetFindString((wxString
const &)*arg2
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 Py_INCREF(Py_None
); resultobj
= Py_None
;
14027 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14030 wxString
*arg2
= 0 ;
14031 bool temp2
= False
;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self",(char *) "str", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14042 arg2
= wxString_in_helper(obj1
);
14043 if (arg2
== NULL
) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 Py_INCREF(Py_None
); resultobj
= Py_None
;
14068 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14071 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14073 return Py_BuildValue((char *)"");
14075 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 int arg1
= (int) 0 ;
14078 wxFindReplaceData
*result
;
14079 PyObject
* obj0
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "flags", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14086 arg1
= (int)SWIG_As_int(obj0
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14103 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14106 PyObject
* obj0
= 0 ;
14107 char *kwnames
[] = {
14108 (char *) "self", NULL
14111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14132 PyObject
* obj0
= 0 ;
14133 char *kwnames
[] = {
14134 (char *) "self", NULL
14137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 wxString
const &_result_ref
= (arg1
)->GetFindString();
14144 result
= (wxString
*) &_result_ref
;
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14163 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14179 result
= (wxString
*) &_result_ref
;
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14198 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (int)(arg1
)->GetFlags();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_From_int((int)result
);
14224 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 PyObject
* obj1
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self",(char *) "flags", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 arg2
= (int)SWIG_As_int(obj1
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 (arg1
)->SetFlags(arg2
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 Py_INCREF(Py_None
); resultobj
= Py_None
;
14253 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 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:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
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
)->SetFindString((wxString
const &)*arg2
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 Py_INCREF(Py_None
); resultobj
= Py_None
;
14294 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14297 wxString
*arg2
= 0 ;
14298 bool temp2
= False
;
14299 PyObject
* obj0
= 0 ;
14300 PyObject
* obj1
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self",(char *) "str", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 arg2
= wxString_in_helper(obj1
);
14310 if (arg2
== NULL
) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 Py_INCREF(Py_None
); resultobj
= Py_None
;
14335 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14338 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14340 return Py_BuildValue((char *)"");
14342 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxWindow
*arg1
= (wxWindow
*) 0 ;
14345 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14346 wxString
*arg3
= 0 ;
14347 int arg4
= (int) 0 ;
14348 wxFindReplaceDialog
*result
;
14349 bool temp3
= False
;
14350 PyObject
* obj0
= 0 ;
14351 PyObject
* obj1
= 0 ;
14352 PyObject
* obj2
= 0 ;
14353 PyObject
* obj3
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14364 arg3
= wxString_in_helper(obj2
);
14365 if (arg3
== NULL
) SWIG_fail
;
14369 arg4
= (int)SWIG_As_int(obj3
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14373 if (!wxPyCheckForApp()) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14395 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxFindReplaceDialog
*result
;
14398 char *kwnames
[] = {
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14404 if (!wxPyCheckForApp()) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14418 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14421 wxWindow
*arg2
= (wxWindow
*) 0 ;
14422 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14423 wxString
*arg4
= 0 ;
14424 int arg5
= (int) 0 ;
14426 bool temp4
= False
;
14427 PyObject
* obj0
= 0 ;
14428 PyObject
* obj1
= 0 ;
14429 PyObject
* obj2
= 0 ;
14430 PyObject
* obj3
= 0 ;
14431 PyObject
* obj4
= 0 ;
14432 char *kwnames
[] = {
14433 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14441 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 arg4
= wxString_in_helper(obj3
);
14445 if (arg4
== NULL
) SWIG_fail
;
14449 arg5
= (int)SWIG_As_int(obj4
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14476 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14479 wxFindReplaceData
*result
;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14502 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14505 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self",(char *) "data", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 (arg1
)->SetData(arg2
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 Py_INCREF(Py_None
); resultobj
= Py_None
;
14531 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14534 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14536 return Py_BuildValue((char *)"");
14538 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxWindow
*arg1
= (wxWindow
*) 0 ;
14541 int arg2
= (int) (int)-1 ;
14542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14548 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14549 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14551 wxMDIParentFrame
*result
;
14552 bool temp3
= False
;
14555 bool temp7
= False
;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 PyObject
* obj2
= 0 ;
14559 PyObject
* obj3
= 0 ;
14560 PyObject
* obj4
= 0 ;
14561 PyObject
* obj5
= 0 ;
14562 PyObject
* obj6
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 arg2
= (int)SWIG_As_int(obj1
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14576 arg3
= wxString_in_helper(obj2
);
14577 if (arg3
== NULL
) SWIG_fail
;
14584 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14590 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14594 arg6
= (long)SWIG_As_long(obj5
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14599 arg7
= wxString_in_helper(obj6
);
14600 if (arg7
== NULL
) SWIG_fail
;
14605 if (!wxPyCheckForApp()) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14635 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxMDIParentFrame
*result
;
14638 char *kwnames
[] = {
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14644 if (!wxPyCheckForApp()) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14658 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14661 wxWindow
*arg2
= (wxWindow
*) 0 ;
14662 int arg3
= (int) (int)-1 ;
14663 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14664 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14665 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14666 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14667 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14668 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14669 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14670 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14671 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14673 bool temp4
= False
;
14676 bool temp8
= False
;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 PyObject
* obj2
= 0 ;
14680 PyObject
* obj3
= 0 ;
14681 PyObject
* obj4
= 0 ;
14682 PyObject
* obj5
= 0 ;
14683 PyObject
* obj6
= 0 ;
14684 PyObject
* obj7
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14695 arg3
= (int)SWIG_As_int(obj2
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14700 arg4
= wxString_in_helper(obj3
);
14701 if (arg4
== NULL
) SWIG_fail
;
14708 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14714 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14718 arg7
= (long)SWIG_As_long(obj6
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14723 arg8
= wxString_in_helper(obj7
);
14724 if (arg8
== NULL
) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14760 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 (arg1
)->ActivateNext();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 Py_INCREF(Py_None
); resultobj
= Py_None
;
14785 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "self", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 (arg1
)->ActivatePrevious();
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 Py_INCREF(Py_None
); resultobj
= Py_None
;
14810 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
;
14812 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 (arg1
)->ArrangeIcons();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 Py_INCREF(Py_None
); resultobj
= Py_None
;
14835 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 Py_INCREF(Py_None
); resultobj
= Py_None
;
14860 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14863 wxMDIChildFrame
*result
;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= wxPyMake_wxObject(result
, 0);
14888 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14891 wxMDIClientWindow
*result
;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= wxPyMake_wxObject(result
, 0);
14916 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14920 PyObject
* obj0
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (wxWindow
*)(arg1
)->GetToolBar();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= wxPyMake_wxObject(result
, 0);
14944 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "self", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 Py_INCREF(Py_None
); resultobj
= Py_None
;
14969 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
14971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14972 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14974 return Py_BuildValue((char *)"");
14976 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14979 int arg2
= (int) (int)-1 ;
14980 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14981 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14982 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14983 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14984 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14985 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14986 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14987 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14988 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14989 wxMDIChildFrame
*result
;
14990 bool temp3
= False
;
14993 bool temp7
= False
;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 PyObject
* obj2
= 0 ;
14997 PyObject
* obj3
= 0 ;
14998 PyObject
* obj4
= 0 ;
14999 PyObject
* obj5
= 0 ;
15000 PyObject
* obj6
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15009 arg2
= (int)SWIG_As_int(obj1
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15014 arg3
= wxString_in_helper(obj2
);
15015 if (arg3
== NULL
) SWIG_fail
;
15022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15032 arg6
= (long)SWIG_As_long(obj5
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15037 arg7
= wxString_in_helper(obj6
);
15038 if (arg7
== NULL
) SWIG_fail
;
15043 if (!wxPyCheckForApp()) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15073 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxMDIChildFrame
*result
;
15076 char *kwnames
[] = {
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15082 if (!wxPyCheckForApp()) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15096 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15099 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15100 int arg3
= (int) (int)-1 ;
15101 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15102 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15103 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15104 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15105 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15106 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15107 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15108 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15111 bool temp4
= False
;
15114 bool temp8
= False
;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 PyObject
* obj2
= 0 ;
15118 PyObject
* obj3
= 0 ;
15119 PyObject
* obj4
= 0 ;
15120 PyObject
* obj5
= 0 ;
15121 PyObject
* obj6
= 0 ;
15122 PyObject
* obj7
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 arg3
= (int)SWIG_As_int(obj2
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15138 arg4
= wxString_in_helper(obj3
);
15139 if (arg4
== NULL
) SWIG_fail
;
15146 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15152 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15156 arg7
= (long)SWIG_As_long(obj6
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15161 arg8
= wxString_in_helper(obj7
);
15162 if (arg8
== NULL
) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15198 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 (arg1
)->Activate();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 Py_INCREF(Py_None
); resultobj
= Py_None
;
15223 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self",(char *) "maximize", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15236 arg2
= (bool)SWIG_As_bool(obj1
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 (arg1
)->Maximize(arg2
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 Py_INCREF(Py_None
); resultobj
= Py_None
;
15252 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 Py_INCREF(Py_None
); resultobj
= Py_None
;
15277 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15280 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15282 return Py_BuildValue((char *)"");
15284 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15287 long arg2
= (long) 0 ;
15288 wxMDIClientWindow
*result
;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "parent",(char *) "style", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 arg2
= (long)SWIG_As_long(obj1
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15303 if (!wxPyCheckForApp()) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15317 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxMDIClientWindow
*result
;
15320 char *kwnames
[] = {
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15326 if (!wxPyCheckForApp()) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15340 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15343 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15344 long arg3
= (long) 0 ;
15346 PyObject
* obj0
= 0 ;
15347 PyObject
* obj1
= 0 ;
15348 PyObject
* obj2
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self",(char *) "parent",(char *) "style", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
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
= (long)SWIG_As_long(obj2
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15378 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15381 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15383 return Py_BuildValue((char *)"");
15385 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxWindow
*arg1
= (wxWindow
*) 0 ;
15388 int arg2
= (int) (int)-1 ;
15389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15393 long arg5
= (long) 0 ;
15394 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15395 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15396 wxPyWindow
*result
;
15399 bool temp6
= False
;
15400 PyObject
* obj0
= 0 ;
15401 PyObject
* obj1
= 0 ;
15402 PyObject
* obj2
= 0 ;
15403 PyObject
* obj3
= 0 ;
15404 PyObject
* obj4
= 0 ;
15405 PyObject
* obj5
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 arg2
= (int)SWIG_As_int(obj1
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15426 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15430 arg5
= (long)SWIG_As_long(obj4
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15435 arg6
= wxString_in_helper(obj5
);
15436 if (arg6
== NULL
) SWIG_fail
;
15441 if (!wxPyCheckForApp()) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15463 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxPyWindow
*result
;
15466 char *kwnames
[] = {
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15472 if (!wxPyCheckForApp()) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (wxPyWindow
*)new wxPyWindow();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15486 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15489 PyObject
*arg2
= (PyObject
*) 0 ;
15490 PyObject
*arg3
= (PyObject
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 PyObject
* obj2
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self",(char *) "self",(char *) "_class", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 Py_INCREF(Py_None
); resultobj
= Py_None
;
15517 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
;
15519 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self",(char *) "size", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15533 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 Py_INCREF(Py_None
); resultobj
= Py_None
;
15549 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15556 PyObject
* obj0
= 0 ;
15557 PyObject
* obj1
= 0 ;
15558 PyObject
* obj2
= 0 ;
15559 PyObject
* obj3
= 0 ;
15560 PyObject
* obj4
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 arg2
= (int)SWIG_As_int(obj1
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15570 arg3
= (int)SWIG_As_int(obj2
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15572 arg4
= (int)SWIG_As_int(obj3
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15574 arg5
= (int)SWIG_As_int(obj4
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 Py_INCREF(Py_None
); resultobj
= Py_None
;
15590 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15597 int arg6
= (int) wxSIZE_AUTO
;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 PyObject
* obj2
= 0 ;
15601 PyObject
* obj3
= 0 ;
15602 PyObject
* obj4
= 0 ;
15603 PyObject
* obj5
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 arg2
= (int)SWIG_As_int(obj1
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15613 arg3
= (int)SWIG_As_int(obj2
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15615 arg4
= (int)SWIG_As_int(obj3
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15617 arg5
= (int)SWIG_As_int(obj4
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 arg6
= (int)SWIG_As_int(obj5
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 Py_INCREF(Py_None
); resultobj
= Py_None
;
15637 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15642 PyObject
* obj0
= 0 ;
15643 PyObject
* obj1
= 0 ;
15644 PyObject
* obj2
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self",(char *) "width",(char *) "height", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15652 arg2
= (int)SWIG_As_int(obj1
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15654 arg3
= (int)SWIG_As_int(obj2
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 Py_INCREF(Py_None
); resultobj
= Py_None
;
15670 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 PyObject
* obj2
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self",(char *) "x",(char *) "y", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15685 arg2
= (int)SWIG_As_int(obj1
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15687 arg3
= (int)SWIG_As_int(obj2
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 Py_INCREF(Py_None
); resultobj
= Py_None
;
15703 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15706 int *arg2
= (int *) 0 ;
15707 int *arg3
= (int *) 0 ;
15712 PyObject
* obj0
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self", NULL
15717 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15718 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 Py_INCREF(Py_None
); resultobj
= Py_None
;
15730 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15731 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15732 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15733 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15740 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
;
15742 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15743 int *arg2
= (int *) 0 ;
15744 int *arg3
= (int *) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15755 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 Py_INCREF(Py_None
); resultobj
= Py_None
;
15767 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15768 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15769 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15770 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15777 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15780 int *arg2
= (int *) 0 ;
15781 int *arg3
= (int *) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self", NULL
15791 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15792 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 Py_INCREF(Py_None
); resultobj
= Py_None
;
15804 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15805 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15806 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15807 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15814 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 wxSize
* resultptr
;
15835 resultptr
= new wxSize((wxSize
&) result
);
15836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15844 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 wxSize
* resultptr
;
15865 resultptr
= new wxSize((wxSize
&) result
);
15866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15874 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 (arg1
)->base_InitDialog();
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 Py_INCREF(Py_None
); resultobj
= Py_None
;
15899 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (bool)(arg1
)->base_TransferDataToWindow();
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15927 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15931 PyObject
* obj0
= 0 ;
15932 char *kwnames
[] = {
15933 (char *) "self", NULL
15936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15955 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (bool)(arg1
)->base_Validate();
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15983 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16011 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16039 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16059 wxSize
* resultptr
;
16060 resultptr
= new wxSize((wxSize
&) result
);
16061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16069 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16072 wxWindow
*arg2
= (wxWindow
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self",(char *) "child", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 (arg1
)->base_AddChild(arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 Py_INCREF(Py_None
); resultobj
= Py_None
;
16098 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16101 wxWindow
*arg2
= (wxWindow
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "child", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 (arg1
)->base_RemoveChild(arg2
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 Py_INCREF(Py_None
); resultobj
= Py_None
;
16127 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16155 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16158 wxColour
*arg2
= 0 ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self",(char *) "c", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16171 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 Py_INCREF(Py_None
); resultobj
= Py_None
;
16187 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16190 wxVisualAttributes result
;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (arg1
)->base_GetDefaultAttributes();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 wxVisualAttributes
* resultptr
;
16208 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16217 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16220 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16222 return Py_BuildValue((char *)"");
16224 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxWindow
*arg1
= (wxWindow
*) 0 ;
16227 int arg2
= (int) (int)-1 ;
16228 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16229 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16230 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16231 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16232 long arg5
= (long) 0 ;
16233 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16234 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16238 bool temp6
= False
;
16239 PyObject
* obj0
= 0 ;
16240 PyObject
* obj1
= 0 ;
16241 PyObject
* obj2
= 0 ;
16242 PyObject
* obj3
= 0 ;
16243 PyObject
* obj4
= 0 ;
16244 PyObject
* obj5
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 arg2
= (int)SWIG_As_int(obj1
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16259 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16265 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16269 arg5
= (long)SWIG_As_long(obj4
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16274 arg6
= wxString_in_helper(obj5
);
16275 if (arg6
== NULL
) SWIG_fail
;
16280 if (!wxPyCheckForApp()) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16302 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16305 char *kwnames
[] = {
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16311 if (!wxPyCheckForApp()) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (wxPyPanel
*)new wxPyPanel();
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16325 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16328 PyObject
*arg2
= (PyObject
*) 0 ;
16329 PyObject
*arg3
= (PyObject
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 PyObject
* obj2
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "self",(char *) "_class", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 Py_INCREF(Py_None
); resultobj
= Py_None
;
16356 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self",(char *) "size", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 Py_INCREF(Py_None
); resultobj
= Py_None
;
16388 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 PyObject
* obj2
= 0 ;
16398 PyObject
* obj3
= 0 ;
16399 PyObject
* obj4
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16407 arg2
= (int)SWIG_As_int(obj1
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16409 arg3
= (int)SWIG_As_int(obj2
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16411 arg4
= (int)SWIG_As_int(obj3
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16413 arg5
= (int)SWIG_As_int(obj4
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 Py_INCREF(Py_None
); resultobj
= Py_None
;
16429 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16436 int arg6
= (int) wxSIZE_AUTO
;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 PyObject
* obj2
= 0 ;
16440 PyObject
* obj3
= 0 ;
16441 PyObject
* obj4
= 0 ;
16442 PyObject
* obj5
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16450 arg2
= (int)SWIG_As_int(obj1
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16452 arg3
= (int)SWIG_As_int(obj2
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16454 arg4
= (int)SWIG_As_int(obj3
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16456 arg5
= (int)SWIG_As_int(obj4
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 arg6
= (int)SWIG_As_int(obj5
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 Py_INCREF(Py_None
); resultobj
= Py_None
;
16476 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 PyObject
* obj2
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self",(char *) "width",(char *) "height", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 arg2
= (int)SWIG_As_int(obj1
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16493 arg3
= (int)SWIG_As_int(obj2
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 Py_INCREF(Py_None
); resultobj
= Py_None
;
16509 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 PyObject
* obj2
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "x",(char *) "y", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 arg2
= (int)SWIG_As_int(obj1
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16526 arg3
= (int)SWIG_As_int(obj2
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16545 int *arg2
= (int *) 0 ;
16546 int *arg3
= (int *) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16557 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16570 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16571 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16572 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16579 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16582 int *arg2
= (int *) 0 ;
16583 int *arg3
= (int *) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16594 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 Py_INCREF(Py_None
); resultobj
= Py_None
;
16606 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16607 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16608 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16609 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16616 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16619 int *arg2
= (int *) 0 ;
16620 int *arg3
= (int *) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16631 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 Py_INCREF(Py_None
); resultobj
= Py_None
;
16643 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16644 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16645 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16646 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16653 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16673 wxSize
* resultptr
;
16674 resultptr
= new wxSize((wxSize
&) result
);
16675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16683 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 wxSize
* resultptr
;
16704 resultptr
= new wxSize((wxSize
&) result
);
16705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16713 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16716 PyObject
* obj0
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "self", NULL
16721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 (arg1
)->base_InitDialog();
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 Py_INCREF(Py_None
); resultobj
= Py_None
;
16738 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (bool)(arg1
)->base_TransferDataToWindow();
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16766 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16770 PyObject
* obj0
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16794 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (bool)(arg1
)->base_Validate();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16822 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
;
16824 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16826 PyObject
* obj0
= 0 ;
16827 char *kwnames
[] = {
16828 (char *) "self", NULL
16831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16850 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16878 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 wxSize
* resultptr
;
16899 resultptr
= new wxSize((wxSize
&) result
);
16900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16908 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16911 wxWindow
*arg2
= (wxWindow
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self",(char *) "child", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->base_AddChild(arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 Py_INCREF(Py_None
); resultobj
= Py_None
;
16937 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16940 wxWindow
*arg2
= (wxWindow
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "child", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 (arg1
)->base_RemoveChild(arg2
);
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 Py_INCREF(Py_None
); resultobj
= Py_None
;
16966 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
;
16968 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16970 PyObject
* obj0
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16994 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16997 wxColour
*arg2
= 0 ;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self",(char *) "c", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17029 wxVisualAttributes result
;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (arg1
)->base_GetDefaultAttributes();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17046 wxVisualAttributes
* resultptr
;
17047 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17056 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17059 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17061 return Py_BuildValue((char *)"");
17063 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxWindow
*arg1
= (wxWindow
*) 0 ;
17066 int arg2
= (int) (int)-1 ;
17067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17071 long arg5
= (long) 0 ;
17072 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17073 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17074 wxPyScrolledWindow
*result
;
17077 bool temp6
= False
;
17078 PyObject
* obj0
= 0 ;
17079 PyObject
* obj1
= 0 ;
17080 PyObject
* obj2
= 0 ;
17081 PyObject
* obj3
= 0 ;
17082 PyObject
* obj4
= 0 ;
17083 PyObject
* obj5
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 arg2
= (int)SWIG_As_int(obj1
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17108 arg5
= (long)SWIG_As_long(obj4
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17113 arg6
= wxString_in_helper(obj5
);
17114 if (arg6
== NULL
) SWIG_fail
;
17119 if (!wxPyCheckForApp()) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17141 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxPyScrolledWindow
*result
;
17144 char *kwnames
[] = {
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17150 if (!wxPyCheckForApp()) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17164 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17167 PyObject
*arg2
= (PyObject
*) 0 ;
17168 PyObject
*arg3
= (PyObject
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 PyObject
* obj2
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self",(char *) "self",(char *) "_class", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 Py_INCREF(Py_None
); resultobj
= Py_None
;
17195 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17200 PyObject
* obj0
= 0 ;
17201 PyObject
* obj1
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self",(char *) "size", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17211 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 Py_INCREF(Py_None
); resultobj
= Py_None
;
17227 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 PyObject
* obj2
= 0 ;
17237 PyObject
* obj3
= 0 ;
17238 PyObject
* obj4
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17246 arg2
= (int)SWIG_As_int(obj1
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17248 arg3
= (int)SWIG_As_int(obj2
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17250 arg4
= (int)SWIG_As_int(obj3
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17252 arg5
= (int)SWIG_As_int(obj4
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 Py_INCREF(Py_None
); resultobj
= Py_None
;
17268 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17275 int arg6
= (int) wxSIZE_AUTO
;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 PyObject
* obj2
= 0 ;
17279 PyObject
* obj3
= 0 ;
17280 PyObject
* obj4
= 0 ;
17281 PyObject
* obj5
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17289 arg2
= (int)SWIG_As_int(obj1
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17291 arg3
= (int)SWIG_As_int(obj2
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17293 arg4
= (int)SWIG_As_int(obj3
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17295 arg5
= (int)SWIG_As_int(obj4
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 arg6
= (int)SWIG_As_int(obj5
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 Py_INCREF(Py_None
); resultobj
= Py_None
;
17315 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 PyObject
* obj2
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self",(char *) "width",(char *) "height", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17330 arg2
= (int)SWIG_As_int(obj1
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17332 arg3
= (int)SWIG_As_int(obj2
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 Py_INCREF(Py_None
); resultobj
= Py_None
;
17348 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 PyObject
* obj2
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self",(char *) "x",(char *) "y", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17363 arg2
= (int)SWIG_As_int(obj1
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17365 arg3
= (int)SWIG_As_int(obj2
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 Py_INCREF(Py_None
); resultobj
= Py_None
;
17381 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17384 int *arg2
= (int *) 0 ;
17385 int *arg3
= (int *) 0 ;
17390 PyObject
* obj0
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "self", NULL
17395 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17396 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 Py_INCREF(Py_None
); resultobj
= Py_None
;
17408 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17409 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17410 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17411 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17418 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17421 int *arg2
= (int *) 0 ;
17422 int *arg3
= (int *) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17433 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 Py_INCREF(Py_None
); resultobj
= Py_None
;
17445 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17446 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17447 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17448 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17455 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17458 int *arg2
= (int *) 0 ;
17459 int *arg3
= (int *) 0 ;
17464 PyObject
* obj0
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self", NULL
17469 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17470 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 Py_INCREF(Py_None
); resultobj
= Py_None
;
17482 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17483 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17484 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17485 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17492 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17496 PyObject
* obj0
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17512 wxSize
* resultptr
;
17513 resultptr
= new wxSize((wxSize
&) result
);
17514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17522 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 wxSize
* resultptr
;
17543 resultptr
= new wxSize((wxSize
&) result
);
17544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17552 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "self", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 (arg1
)->base_InitDialog();
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 Py_INCREF(Py_None
); resultobj
= Py_None
;
17577 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (bool)(arg1
)->base_TransferDataToWindow();
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17633 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (bool)(arg1
)->base_Validate();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17661 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17689 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17693 PyObject
* obj0
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17717 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
;
17719 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17737 wxSize
* resultptr
;
17738 resultptr
= new wxSize((wxSize
&) result
);
17739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17747 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
;
17749 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17750 wxWindow
*arg2
= (wxWindow
*) 0 ;
17751 PyObject
* obj0
= 0 ;
17752 PyObject
* obj1
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self",(char *) "child", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 (arg1
)->base_AddChild(arg2
);
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 Py_INCREF(Py_None
); resultobj
= Py_None
;
17776 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17779 wxWindow
*arg2
= (wxWindow
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 PyObject
* obj1
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self",(char *) "child", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 (arg1
)->base_RemoveChild(arg2
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 Py_INCREF(Py_None
); resultobj
= Py_None
;
17805 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17809 PyObject
* obj0
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "self", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17833 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17836 wxColour
*arg2
= 0 ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self",(char *) "c", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17849 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 Py_INCREF(Py_None
); resultobj
= Py_None
;
17865 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17868 wxVisualAttributes result
;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (arg1
)->base_GetDefaultAttributes();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 wxVisualAttributes
* resultptr
;
17886 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17895 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
17897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17898 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17900 return Py_BuildValue((char *)"");
17902 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
17903 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17908 static PyObject
*_wrap_PrintoutTitleStr_get() {
17913 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17915 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17922 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
17923 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17928 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17933 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17935 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17942 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
17943 PyObject
*resultobj
;
17944 wxPrintData
*result
;
17946 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= (wxPrintData
*)new wxPrintData();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17961 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
17962 PyObject
*resultobj
;
17963 wxPrintData
*arg1
= 0 ;
17964 wxPrintData
*result
;
17965 PyObject
* obj0
= 0 ;
17967 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17971 if (arg1
== NULL
) {
17972 PyErr_SetString(PyExc_TypeError
,"null reference");
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17989 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
17994 argc
= PyObject_Length(args
);
17995 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
17996 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17999 return _wrap_new_PrintData__SWIG_0(self
,args
);
18005 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18013 return _wrap_new_PrintData__SWIG_1(self
,args
);
18017 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18022 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 Py_INCREF(Py_None
); resultobj
= Py_None
;
18047 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 result
= (int)(arg1
)->GetNoCopies();
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_From_int((int)result
);
18073 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (bool)(arg1
)->GetCollate();
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18101 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "self", NULL
18110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (int)(arg1
)->GetOrientation();
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_From_int((int)result
);
18127 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (bool)(arg1
)->Ok();
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18155 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18159 PyObject
* obj0
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18171 result
= (wxString
*) &_result_ref
;
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18181 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18190 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (bool)(arg1
)->GetColour();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18218 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18222 PyObject
* obj0
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= (int)(arg1
)->GetDuplex();
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_From_int((int)result
);
18244 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (int)(arg1
)->GetPaperId();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_From_int((int)result
);
18270 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18286 result
= (wxSize
*) &_result_ref
;
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18299 static PyObject
*_wrap_PrintData_GetQuality(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_GetQuality",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
= (int)(arg1
)->GetQuality();
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= SWIG_From_int((int)result
);
18325 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18329 PyObject
* obj0
= 0 ;
18330 PyObject
* obj1
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self",(char *) "v", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18338 arg2
= (int)SWIG_As_int(obj1
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 (arg1
)->SetNoCopies(arg2
);
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18347 Py_INCREF(Py_None
); resultobj
= Py_None
;
18354 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "flag", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18367 arg2
= (bool)SWIG_As_bool(obj1
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 (arg1
)->SetCollate(arg2
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 Py_INCREF(Py_None
); resultobj
= Py_None
;
18383 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18387 PyObject
* obj0
= 0 ;
18388 PyObject
* obj1
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self",(char *) "orient", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18396 arg2
= (int)SWIG_As_int(obj1
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->SetOrientation(arg2
);
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18405 Py_INCREF(Py_None
); resultobj
= Py_None
;
18412 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18415 wxString
*arg2
= 0 ;
18416 bool temp2
= False
;
18417 PyObject
* obj0
= 0 ;
18418 PyObject
* obj1
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self",(char *) "name", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 arg2
= wxString_in_helper(obj1
);
18428 if (arg2
== NULL
) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "colour", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18466 arg2
= (bool)SWIG_As_bool(obj1
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->SetColour(arg2
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "duplex", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 arg2
= (int)SWIG_As_int(obj1
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 Py_INCREF(Py_None
); resultobj
= Py_None
;
18511 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "sizeId", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18524 arg2
= (int)SWIG_As_int(obj1
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 Py_INCREF(Py_None
); resultobj
= Py_None
;
18540 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18545 PyObject
* obj0
= 0 ;
18546 PyObject
* obj1
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self",(char *) "sz", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18556 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 Py_INCREF(Py_None
); resultobj
= Py_None
;
18572 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "quality", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 arg2
= (int)SWIG_As_int(obj1
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 (arg1
)->SetQuality(arg2
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 Py_INCREF(Py_None
); resultobj
= Py_None
;
18601 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18617 result
= (wxString
*) &_result_ref
;
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18627 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18636 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18640 PyObject
* obj0
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18652 result
= (wxString
*) &_result_ref
;
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18671 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18687 result
= (wxString
*) &_result_ref
;
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18706 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 wxString
const &_result_ref
= (arg1
)->GetFilename();
18722 result
= (wxString
*) &_result_ref
;
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18732 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18741 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18757 result
= (wxString
*) &_result_ref
;
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18767 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18776 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (double)(arg1
)->GetPrinterScaleX();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= SWIG_From_double((double)result
);
18802 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (double)(arg1
)->GetPrinterScaleY();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_From_double((double)result
);
18828 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 result
= (long)(arg1
)->GetPrinterTranslateX();
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_From_long((long)result
);
18854 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (long)(arg1
)->GetPrinterTranslateY();
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= SWIG_From_long((long)result
);
18880 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
;
18882 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18884 PyObject
* obj0
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= (int)(arg1
)->GetPrintMode();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_From_int((int)result
);
18906 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18909 wxString
*arg2
= 0 ;
18910 bool temp2
= False
;
18911 PyObject
* obj0
= 0 ;
18912 PyObject
* obj1
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self",(char *) "command", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18921 arg2
= wxString_in_helper(obj1
);
18922 if (arg2
== NULL
) SWIG_fail
;
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 Py_INCREF(Py_None
); resultobj
= Py_None
;
18947 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18950 wxString
*arg2
= 0 ;
18951 bool temp2
= False
;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "options", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 arg2
= wxString_in_helper(obj1
);
18963 if (arg2
== NULL
) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 Py_INCREF(Py_None
); resultobj
= Py_None
;
18988 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18991 wxString
*arg2
= 0 ;
18992 bool temp2
= False
;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self",(char *) "command", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19003 arg2
= wxString_in_helper(obj1
);
19004 if (arg2
== NULL
) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 Py_INCREF(Py_None
); resultobj
= Py_None
;
19029 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19032 wxString
*arg2
= 0 ;
19033 bool temp2
= False
;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "filename", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19044 arg2
= wxString_in_helper(obj1
);
19045 if (arg2
== NULL
) SWIG_fail
;
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 (arg1
)->SetFilename((wxString
const &)*arg2
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19073 wxString
*arg2
= 0 ;
19074 bool temp2
= False
;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self",(char *) "path", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 arg2
= wxString_in_helper(obj1
);
19086 if (arg2
== NULL
) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 Py_INCREF(Py_None
); resultobj
= Py_None
;
19111 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 PyObject
* obj1
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self",(char *) "x", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19124 arg2
= (double)SWIG_As_double(obj1
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 (arg1
)->SetPrinterScaleX(arg2
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 Py_INCREF(Py_None
); resultobj
= Py_None
;
19140 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "y", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 arg2
= (double)SWIG_As_double(obj1
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 (arg1
)->SetPrinterScaleY(arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 Py_INCREF(Py_None
); resultobj
= Py_None
;
19169 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
;
19171 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 PyObject
* obj2
= 0 ;
19177 char *kwnames
[] = {
19178 (char *) "self",(char *) "x",(char *) "y", NULL
19181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19184 arg2
= (double)SWIG_As_double(obj1
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19186 arg3
= (double)SWIG_As_double(obj2
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 Py_INCREF(Py_None
); resultobj
= Py_None
;
19202 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self",(char *) "x", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 arg2
= (long)SWIG_As_long(obj1
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 (arg1
)->SetPrinterTranslateX(arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 Py_INCREF(Py_None
); resultobj
= Py_None
;
19231 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self",(char *) "y", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19244 arg2
= (long)SWIG_As_long(obj1
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->SetPrinterTranslateY(arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 Py_INCREF(Py_None
); resultobj
= Py_None
;
19260 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 PyObject
* obj2
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self",(char *) "x",(char *) "y", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19275 arg2
= (long)SWIG_As_long(obj1
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19277 arg3
= (long)SWIG_As_long(obj2
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 Py_INCREF(Py_None
); resultobj
= Py_None
;
19293 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "printMode", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19306 arg2
= (int)SWIG_As_int(obj1
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 Py_INCREF(Py_None
); resultobj
= Py_None
;
19322 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19325 wxOutputStream
*result
;
19326 PyObject
* obj0
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19348 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19351 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "outputstream", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->SetOutputStream(arg2
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 Py_INCREF(Py_None
); resultobj
= Py_None
;
19377 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19380 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19382 return Py_BuildValue((char *)"");
19384 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19385 PyObject
*resultobj
;
19386 wxPageSetupDialogData
*result
;
19388 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19403 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19404 PyObject
*resultobj
;
19405 wxPageSetupDialogData
*arg1
= 0 ;
19406 wxPageSetupDialogData
*result
;
19407 PyObject
* obj0
= 0 ;
19409 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19413 if (arg1
== NULL
) {
19414 PyErr_SetString(PyExc_TypeError
,"null reference");
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19431 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19436 argc
= PyObject_Length(args
);
19437 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19438 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19441 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19447 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19455 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19459 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19464 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19467 PyObject
* obj0
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 Py_INCREF(Py_None
); resultobj
= Py_None
;
19489 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19493 PyObject
* obj0
= 0 ;
19494 PyObject
* obj1
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self",(char *) "flag", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19502 arg2
= (bool)SWIG_As_bool(obj1
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->EnableHelp(arg2
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 Py_INCREF(Py_None
); resultobj
= Py_None
;
19518 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self",(char *) "flag", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19531 arg2
= (bool)SWIG_As_bool(obj1
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 (arg1
)->EnableMargins(arg2
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 Py_INCREF(Py_None
); resultobj
= Py_None
;
19547 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 PyObject
* obj1
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "self",(char *) "flag", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19560 arg2
= (bool)SWIG_As_bool(obj1
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 (arg1
)->EnableOrientation(arg2
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 Py_INCREF(Py_None
); resultobj
= Py_None
;
19576 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self",(char *) "flag", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 arg2
= (bool)SWIG_As_bool(obj1
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 (arg1
)->EnablePaper(arg2
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 Py_INCREF(Py_None
); resultobj
= Py_None
;
19605 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "flag", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 arg2
= (bool)SWIG_As_bool(obj1
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 (arg1
)->EnablePrinter(arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 Py_INCREF(Py_None
); resultobj
= Py_None
;
19634 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (bool)(arg1
)->GetDefaultMinMargins();
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19662 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= (bool)(arg1
)->GetEnableMargins();
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19690 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (bool)(arg1
)->GetEnableOrientation();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19718 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (bool)(arg1
)->GetEnablePaper();
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19746 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (bool)(arg1
)->GetEnablePrinter();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19774 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "self", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (bool)(arg1
)->GetEnableHelp();
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19802 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (bool)(arg1
)->GetDefaultInfo();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19830 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 result
= (arg1
)->GetMarginTopLeft();
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19850 wxPoint
* resultptr
;
19851 resultptr
= new wxPoint((wxPoint
&) result
);
19852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19860 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(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_GetMarginBottomRight",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
= (arg1
)->GetMarginBottomRight();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19880 wxPoint
* resultptr
;
19881 resultptr
= new wxPoint((wxPoint
&) result
);
19882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19890 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
;
19892 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (arg1
)->GetMinMarginTopLeft();
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19910 wxPoint
* resultptr
;
19911 resultptr
= new wxPoint((wxPoint
&) result
);
19912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19920 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "self", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= (arg1
)->GetMinMarginBottomRight();
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19940 wxPoint
* resultptr
;
19941 resultptr
= new wxPoint((wxPoint
&) result
);
19942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19950 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 result
= (int)(arg1
)->GetPaperId();
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_From_int((int)result
);
19976 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 char *kwnames
[] = {
19982 (char *) "self", NULL
19985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 result
= (arg1
)->GetPaperSize();
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19996 wxSize
* resultptr
;
19997 resultptr
= new wxSize((wxSize
&) result
);
19998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20006 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
;
20008 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20009 wxPrintData
*result
;
20010 PyObject
* obj0
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "self", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20022 result
= (wxPrintData
*) &_result_ref
;
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20035 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 result
= (bool)(arg1
)->Ok();
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20063 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self",(char *) "flag", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 arg2
= (bool)SWIG_As_bool(obj1
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->SetDefaultInfo(arg2
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "flag", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20105 arg2
= (bool)SWIG_As_bool(obj1
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 (arg1
)->SetDefaultMinMargins(arg2
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 Py_INCREF(Py_None
); resultobj
= Py_None
;
20121 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20124 wxPoint
*arg2
= 0 ;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "pt", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 Py_INCREF(Py_None
); resultobj
= Py_None
;
20153 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20156 wxPoint
*arg2
= 0 ;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "self",(char *) "pt", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 Py_INCREF(Py_None
); resultobj
= Py_None
;
20185 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20188 wxPoint
*arg2
= 0 ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self",(char *) "pt", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 Py_INCREF(Py_None
); resultobj
= Py_None
;
20217 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20220 wxPoint
*arg2
= 0 ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "pt", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20233 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 Py_INCREF(Py_None
); resultobj
= Py_None
;
20249 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "id", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20262 arg2
= (int)SWIG_As_int(obj1
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 Py_INCREF(Py_None
); resultobj
= Py_None
;
20278 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "size", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20294 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 Py_INCREF(Py_None
); resultobj
= Py_None
;
20310 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20313 wxPrintData
*arg2
= 0 ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "printData", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20326 if (arg2
== NULL
) {
20327 PyErr_SetString(PyExc_TypeError
,"null reference");
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 Py_INCREF(Py_None
); resultobj
= Py_None
;
20344 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20347 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20349 return Py_BuildValue((char *)"");
20351 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxWindow
*arg1
= (wxWindow
*) 0 ;
20354 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20355 wxPageSetupDialog
*result
;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "parent",(char *) "data", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20370 if (!wxPyCheckForApp()) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20384 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20387 wxPageSetupDialogData
*result
;
20388 PyObject
* obj0
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20400 result
= (wxPageSetupDialogData
*) &_result_ref
;
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20413 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (int)(arg1
)->ShowModal();
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= SWIG_From_int((int)result
);
20439 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20442 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20444 return Py_BuildValue((char *)"");
20446 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20447 PyObject
*resultobj
;
20448 wxPrintDialogData
*result
;
20450 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20465 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20466 PyObject
*resultobj
;
20467 wxPrintData
*arg1
= 0 ;
20468 wxPrintDialogData
*result
;
20469 PyObject
* obj0
= 0 ;
20471 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20475 if (arg1
== NULL
) {
20476 PyErr_SetString(PyExc_TypeError
,"null reference");
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20493 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20498 argc
= PyObject_Length(args
);
20499 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20500 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20503 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20509 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20517 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20521 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20526 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20529 PyObject
* obj0
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "self", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 Py_INCREF(Py_None
); resultobj
= Py_None
;
20551 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_From_int((int)result
);
20577 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_From_int((int)result
);
20603 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= SWIG_From_int((int)result
);
20629 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_From_int((int)result
);
20655 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20659 PyObject
* obj0
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "self", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_From_int((int)result
);
20681 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "self", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20709 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20713 PyObject
* obj0
= 0 ;
20714 char *kwnames
[] = {
20715 (char *) "self", NULL
20718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20737 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20741 PyObject
* obj0
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self", NULL
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20765 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20793 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20794 PyObject
*resultobj
;
20795 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20797 PyObject
* obj0
= 0 ;
20798 char *kwnames
[] = {
20799 (char *) "self", NULL
20802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20821 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self",(char *) "v", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20834 arg2
= (int)SWIG_As_int(obj1
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 (arg1
)->SetFromPage(arg2
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 Py_INCREF(Py_None
); resultobj
= Py_None
;
20850 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self",(char *) "v", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 arg2
= (int)SWIG_As_int(obj1
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 (arg1
)->SetToPage(arg2
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 Py_INCREF(Py_None
); resultobj
= Py_None
;
20879 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 PyObject
* obj1
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self",(char *) "v", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 arg2
= (int)SWIG_As_int(obj1
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 (arg1
)->SetMinPage(arg2
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 Py_INCREF(Py_None
); resultobj
= Py_None
;
20908 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "v", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20921 arg2
= (int)SWIG_As_int(obj1
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 (arg1
)->SetMaxPage(arg2
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 Py_INCREF(Py_None
); resultobj
= Py_None
;
20937 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self",(char *) "v", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20950 arg2
= (int)SWIG_As_int(obj1
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 (arg1
)->SetNoCopies(arg2
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 Py_INCREF(Py_None
); resultobj
= Py_None
;
20966 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20972 char *kwnames
[] = {
20973 (char *) "self",(char *) "flag", NULL
20976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20979 arg2
= (bool)SWIG_As_bool(obj1
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 (arg1
)->SetAllPages(arg2
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 Py_INCREF(Py_None
); resultobj
= Py_None
;
20995 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "flag", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21008 arg2
= (bool)SWIG_As_bool(obj1
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 (arg1
)->SetSelection(arg2
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 Py_INCREF(Py_None
); resultobj
= Py_None
;
21024 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self",(char *) "flag", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 arg2
= (bool)SWIG_As_bool(obj1
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 (arg1
)->SetCollate(arg2
);
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 Py_INCREF(Py_None
); resultobj
= Py_None
;
21053 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
;
21055 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self",(char *) "flag", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21066 arg2
= (bool)SWIG_As_bool(obj1
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 (arg1
)->SetPrintToFile(arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 Py_INCREF(Py_None
); resultobj
= Py_None
;
21082 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "flag", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 arg2
= (bool)SWIG_As_bool(obj1
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 (arg1
)->SetSetupDialog(arg2
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 Py_INCREF(Py_None
); resultobj
= Py_None
;
21111 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "self",(char *) "flag", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 arg2
= (bool)SWIG_As_bool(obj1
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 (arg1
)->EnablePrintToFile(arg2
);
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21133 Py_INCREF(Py_None
); resultobj
= Py_None
;
21140 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
;
21142 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self",(char *) "flag", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21153 arg2
= (bool)SWIG_As_bool(obj1
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 (arg1
)->EnableSelection(arg2
);
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21162 Py_INCREF(Py_None
); resultobj
= Py_None
;
21169 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
;
21171 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21173 PyObject
* obj0
= 0 ;
21174 PyObject
* obj1
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self",(char *) "flag", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 arg2
= (bool)SWIG_As_bool(obj1
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 (arg1
)->EnablePageNumbers(arg2
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 Py_INCREF(Py_None
); resultobj
= Py_None
;
21198 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self",(char *) "flag", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21211 arg2
= (bool)SWIG_As_bool(obj1
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 (arg1
)->EnableHelp(arg2
);
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 Py_INCREF(Py_None
); resultobj
= Py_None
;
21227 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21255 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21259 PyObject
* obj0
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "self", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21283 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21287 PyObject
* obj0
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21311 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21339 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21367 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21370 wxPrintData
*result
;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21383 result
= (wxPrintData
*) &_result_ref
;
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21396 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21398 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21399 wxPrintData
*arg2
= 0 ;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self",(char *) "printData", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21412 if (arg2
== NULL
) {
21413 PyErr_SetString(PyExc_TypeError
,"null reference");
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 Py_INCREF(Py_None
); resultobj
= Py_None
;
21430 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21433 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21435 return Py_BuildValue((char *)"");
21437 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21439 wxWindow
*arg1
= (wxWindow
*) 0 ;
21440 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21441 wxPrintDialog
*result
;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char *kwnames
[] = {
21445 (char *) "parent",(char *) "data", NULL
21448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 if (!wxPyCheckForApp()) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21470 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21473 wxPrintDialogData
*result
;
21474 PyObject
* obj0
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21486 result
= (wxPrintDialogData
*) &_result_ref
;
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21499 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (wxDC
*)(arg1
)->GetPrintDC();
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= wxPyMake_wxObject(result
, 1);
21527 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21529 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 result
= (int)(arg1
)->ShowModal();
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= SWIG_From_int((int)result
);
21553 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21556 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21558 return Py_BuildValue((char *)"");
21560 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21564 PyObject
* obj0
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "data", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21575 if (!wxPyCheckForApp()) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (wxPrinter
*)new wxPrinter(arg1
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21589 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 Py_INCREF(Py_None
); resultobj
= Py_None
;
21614 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21617 wxWindow
*arg2
= (wxWindow
*) 0 ;
21618 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 PyObject
* obj2
= 0 ;
21622 char *kwnames
[] = {
21623 (char *) "self",(char *) "parent",(char *) "printout", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 Py_INCREF(Py_None
); resultobj
= Py_None
;
21647 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21650 wxPrintDialogData
*result
;
21651 PyObject
* obj0
= 0 ;
21652 char *kwnames
[] = {
21653 (char *) "self", NULL
21656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21663 result
= (wxPrintDialogData
*) &_result_ref
;
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21676 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21679 wxWindow
*arg2
= (wxWindow
*) 0 ;
21680 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21681 int arg4
= (int) True
;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 PyObject
* obj2
= 0 ;
21686 PyObject
* obj3
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21696 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 arg4
= (int)SWIG_As_int(obj3
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21718 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21721 wxWindow
*arg2
= (wxWindow
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "parent", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= wxPyMake_wxObject(result
, 0);
21750 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21753 wxWindow
*arg2
= (wxWindow
*) 0 ;
21754 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21755 wxString
*arg4
= 0 ;
21756 bool temp4
= False
;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 PyObject
* obj2
= 0 ;
21760 PyObject
* obj3
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21770 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21773 arg4
= wxString_in_helper(obj3
);
21774 if (arg4
== NULL
) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 Py_INCREF(Py_None
); resultobj
= Py_None
;
21799 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21802 wxWindow
*arg2
= (wxWindow
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "parent", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (bool)(arg1
)->Setup(arg2
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21831 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
;
21833 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21835 PyObject
* obj0
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= (bool)(arg1
)->GetAbort();
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21859 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21862 char *kwnames
[] = {
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (int)wxPrinter::GetLastError();
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_From_int((int)result
);
21881 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
21883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21884 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21886 return Py_BuildValue((char *)"");
21888 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21891 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21892 wxPyPrintout
*result
;
21893 bool temp1
= False
;
21894 PyObject
* obj0
= 0 ;
21895 char *kwnames
[] = {
21896 (char *) "title", NULL
21899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21902 arg1
= wxString_in_helper(obj0
);
21903 if (arg1
== NULL
) SWIG_fail
;
21908 if (!wxPyCheckForApp()) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21916 resultobj
= wxPyMake_wxObject(result
, 1);
21932 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21935 PyObject
*arg2
= (PyObject
*) 0 ;
21936 PyObject
*arg3
= (PyObject
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 PyObject
* obj2
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "self",(char *) "_class", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 Py_INCREF(Py_None
); resultobj
= Py_None
;
21963 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21967 PyObject
* obj0
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "self", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21995 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 result
= (wxDC
*)(arg1
)->GetDC();
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= wxPyMake_wxObject(result
, 0);
22023 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22026 wxDC
*arg2
= (wxDC
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "dc", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 (arg1
)->SetDC(arg2
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 Py_INCREF(Py_None
); resultobj
= Py_None
;
22052 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 PyObject
* obj2
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "w",(char *) "h", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22067 arg2
= (int)SWIG_As_int(obj1
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22069 arg3
= (int)SWIG_As_int(obj2
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 Py_INCREF(Py_None
); resultobj
= Py_None
;
22085 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22088 int *arg2
= (int *) 0 ;
22089 int *arg3
= (int *) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self", NULL
22099 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22100 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 Py_INCREF(Py_None
); resultobj
= Py_None
;
22112 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22113 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22114 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22115 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22122 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 PyObject
* obj2
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self",(char *) "w",(char *) "h", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 arg2
= (int)SWIG_As_int(obj1
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22139 arg3
= (int)SWIG_As_int(obj2
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 Py_INCREF(Py_None
); resultobj
= Py_None
;
22155 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22158 int *arg2
= (int *) 0 ;
22159 int *arg3
= (int *) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self", NULL
22169 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22170 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 Py_INCREF(Py_None
); resultobj
= Py_None
;
22182 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22183 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22184 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22185 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22192 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 PyObject
* obj2
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self",(char *) "x",(char *) "y", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22207 arg2
= (int)SWIG_As_int(obj1
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22209 arg3
= (int)SWIG_As_int(obj2
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 (arg1
)->SetPPIScreen(arg2
,arg3
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 Py_INCREF(Py_None
); resultobj
= Py_None
;
22225 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
;
22227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22228 int *arg2
= (int *) 0 ;
22229 int *arg3
= (int *) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self", NULL
22239 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22240 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 (arg1
)->GetPPIScreen(arg2
,arg3
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 Py_INCREF(Py_None
); resultobj
= Py_None
;
22252 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22253 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22254 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22255 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22262 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 PyObject
* obj2
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "x",(char *) "y", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 arg2
= (int)SWIG_As_int(obj1
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22279 arg3
= (int)SWIG_As_int(obj2
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22298 int *arg2
= (int *) 0 ;
22299 int *arg3
= (int *) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self", NULL
22309 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22310 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22323 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22324 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22325 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22332 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (bool)(arg1
)->IsPreview();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22360 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self",(char *) "p", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 arg2
= (bool)SWIG_As_bool(obj1
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->SetIsPreview(arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 Py_INCREF(Py_None
); resultobj
= Py_None
;
22389 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 PyObject
* obj2
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 arg2
= (int)SWIG_As_int(obj1
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22407 arg3
= (int)SWIG_As_int(obj2
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22425 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22428 PyObject
* obj0
= 0 ;
22429 char *kwnames
[] = {
22430 (char *) "self", NULL
22433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 (arg1
)->base_OnEndDocument();
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 Py_INCREF(Py_None
); resultobj
= Py_None
;
22450 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 (arg1
)->base_OnBeginPrinting();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 Py_INCREF(Py_None
); resultobj
= Py_None
;
22475 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 (arg1
)->base_OnEndPrinting();
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 Py_INCREF(Py_None
); resultobj
= Py_None
;
22500 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22503 PyObject
* obj0
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 (arg1
)->base_OnPreparePrinting();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "page", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 arg2
= (int)SWIG_As_int(obj1
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 result
= (bool)(arg1
)->base_HasPage(arg2
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22557 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22560 int *arg2
= (int *) 0 ;
22561 int *arg3
= (int *) 0 ;
22562 int *arg4
= (int *) 0 ;
22563 int *arg5
= (int *) 0 ;
22572 PyObject
* obj0
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self", NULL
22577 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22578 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22579 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22580 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 Py_INCREF(Py_None
); resultobj
= Py_None
;
22592 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22593 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22594 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22595 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22596 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22597 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22598 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22599 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22606 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22609 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22611 return Py_BuildValue((char *)"");
22613 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22616 wxWindow
*arg2
= (wxWindow
*) 0 ;
22617 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22618 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22619 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22620 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22621 long arg5
= (long) 0 ;
22622 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22623 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22624 wxPreviewCanvas
*result
;
22627 bool temp6
= False
;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 PyObject
* obj2
= 0 ;
22631 PyObject
* obj3
= 0 ;
22632 PyObject
* obj4
= 0 ;
22633 PyObject
* obj5
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22656 arg5
= (long)SWIG_As_long(obj4
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22661 arg6
= wxString_in_helper(obj5
);
22662 if (arg6
== NULL
) SWIG_fail
;
22667 if (!wxPyCheckForApp()) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22689 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
22691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22692 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22694 return Py_BuildValue((char *)"");
22696 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22699 wxFrame
*arg2
= (wxFrame
*) 0 ;
22700 wxString
*arg3
= 0 ;
22701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22705 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22706 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22708 wxPreviewFrame
*result
;
22709 bool temp3
= False
;
22712 bool temp7
= False
;
22713 PyObject
* obj0
= 0 ;
22714 PyObject
* obj1
= 0 ;
22715 PyObject
* obj2
= 0 ;
22716 PyObject
* obj3
= 0 ;
22717 PyObject
* obj4
= 0 ;
22718 PyObject
* obj5
= 0 ;
22719 PyObject
* obj6
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22730 arg3
= wxString_in_helper(obj2
);
22731 if (arg3
== NULL
) SWIG_fail
;
22737 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22743 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22747 arg6
= (long)SWIG_As_long(obj5
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22752 arg7
= wxString_in_helper(obj6
);
22753 if (arg7
== NULL
) SWIG_fail
;
22758 if (!wxPyCheckForApp()) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22788 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22791 PyObject
* obj0
= 0 ;
22792 char *kwnames
[] = {
22793 (char *) "self", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 (arg1
)->Initialize();
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22813 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 (arg1
)->CreateControlBar();
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 Py_INCREF(Py_None
); resultobj
= Py_None
;
22838 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22841 PyObject
* obj0
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 (arg1
)->CreateCanvas();
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 Py_INCREF(Py_None
); resultobj
= Py_None
;
22863 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22866 wxPreviewControlBar
*result
;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22889 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
22891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22892 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22894 return Py_BuildValue((char *)"");
22896 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22900 wxWindow
*arg3
= (wxWindow
*) 0 ;
22901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22905 long arg6
= (long) wxTAB_TRAVERSAL
;
22906 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22908 wxPreviewControlBar
*result
;
22911 bool temp7
= False
;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 PyObject
* obj2
= 0 ;
22915 PyObject
* obj3
= 0 ;
22916 PyObject
* obj4
= 0 ;
22917 PyObject
* obj5
= 0 ;
22918 PyObject
* obj6
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22926 arg2
= (long)SWIG_As_long(obj1
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22928 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22933 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22939 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22943 arg6
= (long)SWIG_As_long(obj5
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22948 arg7
= wxString_in_helper(obj6
);
22949 if (arg7
== NULL
) SWIG_fail
;
22954 if (!wxPyCheckForApp()) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22976 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
;
22978 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22980 PyObject
* obj0
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (int)(arg1
)->GetZoomControl();
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 resultobj
= SWIG_From_int((int)result
);
23002 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self",(char *) "zoom", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 arg2
= (int)SWIG_As_int(obj1
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 (arg1
)->SetZoomControl(arg2
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 Py_INCREF(Py_None
); resultobj
= Py_None
;
23031 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
;
23033 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23034 wxPrintPreview
*result
;
23035 PyObject
* obj0
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23057 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
;
23059 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23060 PyObject
* obj0
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23085 PyObject
* obj0
= 0 ;
23086 char *kwnames
[] = {
23087 (char *) "self", NULL
23090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 (arg1
)->OnPrevious();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 Py_INCREF(Py_None
); resultobj
= Py_None
;
23107 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 Py_INCREF(Py_None
); resultobj
= Py_None
;
23157 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23185 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23187 return Py_BuildValue((char *)"");
23189 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23190 PyObject
*resultobj
;
23191 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23192 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23193 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23194 wxPrintPreview
*result
;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 PyObject
* obj2
= 0 ;
23199 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23205 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23209 if (!wxPyCheckForApp()) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23223 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23224 PyObject
*resultobj
;
23225 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23226 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23227 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23228 wxPrintPreview
*result
;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 PyObject
* obj2
= 0 ;
23233 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23241 if (!wxPyCheckForApp()) SWIG_fail
;
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23255 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23260 argc
= PyObject_Length(args
);
23261 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23262 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23264 if ((argc
>= 2) && (argc
<= 3)) {
23268 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23278 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23287 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23291 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23299 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23308 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23318 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23328 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23336 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23342 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23347 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
;
23349 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 PyObject
* obj1
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self",(char *) "pageNum", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23361 arg2
= (int)SWIG_As_int(obj1
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23379 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 result
= (int)(arg1
)->GetCurrentPage();
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= SWIG_From_int((int)result
);
23405 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23408 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self",(char *) "printout", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 (arg1
)->SetPrintout(arg2
);
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 Py_INCREF(Py_None
); resultobj
= Py_None
;
23434 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23436 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23437 wxPyPrintout
*result
;
23438 PyObject
* obj0
= 0 ;
23439 char *kwnames
[] = {
23440 (char *) "self", NULL
23443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= wxPyMake_wxObject(result
, 0);
23462 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23465 wxPyPrintout
*result
;
23466 PyObject
* obj0
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= wxPyMake_wxObject(result
, 0);
23490 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23493 wxFrame
*arg2
= (wxFrame
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "self",(char *) "frame", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 (arg1
)->SetFrame(arg2
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 Py_INCREF(Py_None
); resultobj
= Py_None
;
23519 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23522 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23523 PyObject
* obj0
= 0 ;
23524 PyObject
* obj1
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self",(char *) "canvas", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 (arg1
)->SetCanvas(arg2
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 Py_INCREF(Py_None
); resultobj
= Py_None
;
23548 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (wxFrame
*)(arg1
)->GetFrame();
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= wxPyMake_wxObject(result
, 0);
23576 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23577 PyObject
*resultobj
;
23578 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23579 wxPreviewCanvas
*result
;
23580 PyObject
* obj0
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23602 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23605 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 PyObject
* obj2
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23623 if (arg3
== NULL
) {
23624 PyErr_SetString(PyExc_TypeError
,"null reference");
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23643 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23646 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 PyObject
* obj2
= 0 ;
23652 char *kwnames
[] = {
23653 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23661 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23664 if (arg3
== NULL
) {
23665 PyErr_SetString(PyExc_TypeError
,"null reference");
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23684 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self",(char *) "pageNum", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 arg2
= (int)SWIG_As_int(obj1
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (bool)(arg1
)->RenderPage(arg2
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23716 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23719 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self",(char *) "canvas", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",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_wxPreviewCanvas
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 (arg1
)->AdjustScrollbars(arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 Py_INCREF(Py_None
); resultobj
= Py_None
;
23745 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23748 wxPrintDialogData
*result
;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23761 result
= (wxPrintDialogData
*) &_result_ref
;
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23774 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "self",(char *) "percent", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 arg2
= (int)SWIG_As_int(obj1
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->SetZoom(arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 Py_INCREF(Py_None
); resultobj
= Py_None
;
23803 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23807 PyObject
* obj0
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (int)(arg1
)->GetZoom();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_From_int((int)result
);
23829 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (int)(arg1
)->GetMaxPage();
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_From_int((int)result
);
23855 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23859 PyObject
* obj0
= 0 ;
23860 char *kwnames
[] = {
23861 (char *) "self", NULL
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (int)(arg1
)->GetMinPage();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_From_int((int)result
);
23881 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "self", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (bool)(arg1
)->Ok();
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23909 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "ok", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23922 arg2
= (bool)SWIG_As_bool(obj1
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->SetOk(arg2
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 Py_INCREF(Py_None
); resultobj
= Py_None
;
23938 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self",(char *) "interactive", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 arg2
= (bool)SWIG_As_bool(obj1
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (bool)(arg1
)->Print(arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23970 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
;
23972 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23973 PyObject
* obj0
= 0 ;
23974 char *kwnames
[] = {
23975 (char *) "self", NULL
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 (arg1
)->DetermineScaling();
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 Py_INCREF(Py_None
); resultobj
= Py_None
;
23995 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
23997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23998 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24000 return Py_BuildValue((char *)"");
24002 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24003 PyObject
*resultobj
;
24004 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24005 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24006 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24007 wxPyPrintPreview
*result
;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 PyObject
* obj2
= 0 ;
24012 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24018 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 if (!wxPyCheckForApp()) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24036 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24037 PyObject
*resultobj
;
24038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24039 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24040 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24041 wxPyPrintPreview
*result
;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 PyObject
* obj2
= 0 ;
24046 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24051 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 if (!wxPyCheckForApp()) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24068 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24073 argc
= PyObject_Length(args
);
24074 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24075 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24077 if ((argc
>= 2) && (argc
<= 3)) {
24081 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24091 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24100 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24104 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24112 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24121 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24131 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24141 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24149 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24155 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24160 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24163 PyObject
*arg2
= (PyObject
*) 0 ;
24164 PyObject
*arg3
= (PyObject
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 PyObject
* obj2
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self",(char *) "self",(char *) "_class", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 Py_INCREF(Py_None
); resultobj
= Py_None
;
24191 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self",(char *) "pageNum", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 arg2
= (int)SWIG_As_int(obj1
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24223 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24226 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 PyObject
* obj2
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24241 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24244 if (arg3
== NULL
) {
24245 PyErr_SetString(PyExc_TypeError
,"null reference");
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24264 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24267 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24270 PyObject
* obj0
= 0 ;
24271 PyObject
* obj1
= 0 ;
24272 PyObject
* obj2
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24282 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24285 if (arg3
== NULL
) {
24286 PyErr_SetString(PyExc_TypeError
,"null reference");
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24305 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self",(char *) "pageNum", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 arg2
= (int)SWIG_As_int(obj1
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24337 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "percent", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 arg2
= (int)SWIG_As_int(obj1
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 (arg1
)->base_SetZoom(arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 Py_INCREF(Py_None
); resultobj
= Py_None
;
24366 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24371 PyObject
* obj0
= 0 ;
24372 PyObject
* obj1
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "self",(char *) "interactive", NULL
24377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24380 arg2
= (bool)SWIG_As_bool(obj1
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (bool)(arg1
)->base_Print(arg2
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24398 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 (arg1
)->base_DetermineScaling();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 Py_INCREF(Py_None
); resultobj
= Py_None
;
24423 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24426 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24428 return Py_BuildValue((char *)"");
24430 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24433 wxFrame
*arg2
= (wxFrame
*) 0 ;
24434 wxString
*arg3
= 0 ;
24435 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24436 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24437 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24438 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24439 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24440 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24441 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24442 wxPyPreviewFrame
*result
;
24443 bool temp3
= False
;
24446 bool temp7
= False
;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 PyObject
* obj2
= 0 ;
24450 PyObject
* obj3
= 0 ;
24451 PyObject
* obj4
= 0 ;
24452 PyObject
* obj5
= 0 ;
24453 PyObject
* obj6
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 arg3
= wxString_in_helper(obj2
);
24465 if (arg3
== NULL
) SWIG_fail
;
24471 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24477 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24481 arg6
= (long)SWIG_As_long(obj5
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24486 arg7
= wxString_in_helper(obj6
);
24487 if (arg7
== NULL
) SWIG_fail
;
24492 if (!wxPyCheckForApp()) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24522 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24525 PyObject
*arg2
= (PyObject
*) 0 ;
24526 PyObject
*arg3
= (PyObject
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 PyObject
* obj2
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "self",(char *) "_class", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24546 Py_INCREF(Py_None
); resultobj
= Py_None
;
24553 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24554 PyObject
*resultobj
;
24555 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24556 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 char *kwnames
[] = {
24560 (char *) "self",(char *) "canvas", NULL
24563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 (arg1
)->SetPreviewCanvas(arg2
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24575 Py_INCREF(Py_None
); resultobj
= Py_None
;
24582 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
;
24584 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24585 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "self",(char *) "bar", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 (arg1
)->SetControlBar(arg2
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 Py_INCREF(Py_None
); resultobj
= Py_None
;
24611 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24613 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->base_Initialize();
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->base_CreateCanvas();
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24661 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 (arg1
)->base_CreateControlBar();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 Py_INCREF(Py_None
); resultobj
= Py_None
;
24686 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
24688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24689 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24691 return Py_BuildValue((char *)"");
24693 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24695 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24697 wxWindow
*arg3
= (wxWindow
*) 0 ;
24698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24702 long arg6
= (long) 0 ;
24703 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24705 wxPyPreviewControlBar
*result
;
24708 bool temp7
= False
;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 PyObject
* obj2
= 0 ;
24712 PyObject
* obj3
= 0 ;
24713 PyObject
* obj4
= 0 ;
24714 PyObject
* obj5
= 0 ;
24715 PyObject
* obj6
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 arg2
= (long)SWIG_As_long(obj1
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24725 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24740 arg6
= (long)SWIG_As_long(obj5
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24745 arg7
= wxString_in_helper(obj6
);
24746 if (arg7
== NULL
) SWIG_fail
;
24751 if (!wxPyCheckForApp()) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24773 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24776 PyObject
*arg2
= (PyObject
*) 0 ;
24777 PyObject
*arg3
= (PyObject
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 PyObject
* obj2
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "self",(char *) "_class", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 Py_INCREF(Py_None
); resultobj
= Py_None
;
24804 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24807 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self",(char *) "preview", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 (arg1
)->SetPrintPreview(arg2
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 Py_INCREF(Py_None
); resultobj
= Py_None
;
24833 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 char *kwnames
[] = {
24838 (char *) "self", NULL
24841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 (arg1
)->base_CreateButtons();
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 Py_INCREF(Py_None
); resultobj
= Py_None
;
24858 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self",(char *) "zoom", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24871 arg2
= (int)SWIG_As_int(obj1
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->base_SetZoomControl(arg2
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
24889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24890 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24892 return Py_BuildValue((char *)"");
24894 static PyMethodDef SwigMethods
[] = {
24895 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24896 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24897 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24898 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24899 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24900 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
24901 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24902 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24903 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24904 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24905 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24906 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24907 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24908 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24909 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24910 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24911 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24912 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24913 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24914 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24915 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
24916 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
24917 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24918 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24919 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24920 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24921 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24922 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24923 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24924 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24925 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24926 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24927 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24928 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24929 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24930 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24931 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24932 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24933 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24934 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24935 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24936 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24937 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24938 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24939 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24940 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24941 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24942 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
24943 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24944 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24945 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24946 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24947 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24948 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24949 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24950 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24951 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24952 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24953 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24954 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24955 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24956 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24957 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24958 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24959 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24960 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24961 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24962 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24963 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24964 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24965 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24966 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
24967 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24968 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24969 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24970 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24971 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24972 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24973 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24974 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24975 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24976 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24977 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24978 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
24979 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24980 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24981 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24982 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
24983 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24984 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24985 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24986 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
24987 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24988 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24989 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24990 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24991 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
24992 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24993 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24994 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24995 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24996 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24997 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24998 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24999 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25000 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25001 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25002 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25003 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25004 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25005 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25006 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25007 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25008 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25009 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25010 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25011 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25012 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25013 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25014 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25015 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25016 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25017 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25018 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25019 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25020 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25021 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25022 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25023 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25024 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25025 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25026 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25027 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25028 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25029 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25030 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25031 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25032 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25033 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25034 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25035 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25036 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25037 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25038 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25039 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25040 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25041 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25042 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25043 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25044 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25045 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25046 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25047 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25048 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25049 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25050 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25051 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25052 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25053 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25054 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25055 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25056 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25057 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25058 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25059 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25060 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25061 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25062 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25063 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25064 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25065 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25066 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25067 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25068 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25069 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25070 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25071 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25072 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25073 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25074 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25075 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25076 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25077 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25078 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25079 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25080 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25081 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25082 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25083 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25084 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25085 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25086 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25087 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25088 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25089 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25090 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25091 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25092 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25093 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25094 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25095 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25096 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25097 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25098 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25099 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25100 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25101 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25102 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25103 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25104 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25105 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25106 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25107 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25108 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25109 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25110 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25111 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25112 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25113 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25114 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25115 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25116 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25117 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25118 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25119 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25120 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25121 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25122 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25123 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25124 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25125 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25126 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25127 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25128 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25129 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25130 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25131 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25132 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25134 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25135 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25136 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25137 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25138 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25139 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25141 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25142 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25144 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25145 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25146 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25147 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25148 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25149 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25150 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25151 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25152 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25156 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25157 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25158 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25160 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25161 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25162 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25163 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25164 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25165 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25166 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25169 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25170 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25171 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25173 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25174 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25175 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25176 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25177 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25182 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25185 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25188 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25194 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25195 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25213 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25217 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25222 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25226 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25242 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25245 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25247 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25251 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25256 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25257 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25258 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25259 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25260 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25264 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25268 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25269 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25275 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25287 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25294 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25298 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25324 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25350 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25376 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25377 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25422 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25423 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25454 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25458 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25459 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25492 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25497 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25508 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25531 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25533 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25539 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25549 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25550 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25573 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25574 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25583 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25591 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25597 { NULL
, NULL
, 0, NULL
}
25601 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25603 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25604 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25606 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25607 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25609 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25610 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25612 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25613 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25615 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25616 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25618 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25619 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25621 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25622 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25624 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25625 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25627 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25628 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25630 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25631 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25633 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25634 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25636 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25637 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25639 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25640 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25642 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25643 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25645 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25646 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25648 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25649 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25651 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25652 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25654 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25655 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25657 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25658 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25660 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25661 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25663 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25664 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25666 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25667 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25669 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25670 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25672 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25673 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25675 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25678 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25679 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25681 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25682 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25684 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25685 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25687 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25688 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25690 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25691 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25693 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25694 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25696 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25697 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25699 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25700 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25702 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25703 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25705 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25706 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25708 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25709 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25711 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25714 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25717 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25718 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25720 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25721 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25723 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25724 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25726 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25727 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25729 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25730 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25732 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25735 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25738 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25741 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25742 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25744 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25745 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25747 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25748 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25750 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25751 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25753 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25756 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25759 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25762 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25765 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25768 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25771 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25774 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25775 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25777 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25778 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25780 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25783 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25786 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25789 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25790 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25792 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25795 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25796 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25798 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25799 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25801 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25802 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25804 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25805 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25807 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25810 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25811 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25813 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25814 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25816 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25819 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25820 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25822 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25825 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25828 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25829 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25831 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25832 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25834 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25837 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25838 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25840 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25843 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25846 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25849 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25850 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25852 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25855 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25856 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25858 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25861 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25864 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25867 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25870 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25873 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25876 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25879 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25882 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25883 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25885 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25886 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25888 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25889 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25891 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25892 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25894 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25895 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25897 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25898 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25900 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25901 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25903 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25904 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25906 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25907 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25909 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25910 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25912 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25913 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25915 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25918 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25921 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25922 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25924 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25925 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25927 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25930 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25931 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25933 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25934 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25936 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25937 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25939 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25940 return (void *)((wxObject
*) ((wxSizer
*) x
));
25942 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25943 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25945 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25948 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25951 static void *_p_wxEventTo_p_wxObject(void *x
) {
25952 return (void *)((wxObject
*) ((wxEvent
*) x
));
25954 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25955 return (void *)((wxObject
*) ((wxFontData
*) x
));
25957 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25958 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25960 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25961 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25963 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25964 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25966 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25967 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25969 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25970 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25972 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25975 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25978 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25979 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25981 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25982 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25984 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25985 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25987 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25988 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25990 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25991 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25993 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25994 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25996 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25999 static void *_p_wxControlTo_p_wxObject(void *x
) {
26000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26002 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26003 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26005 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26006 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26008 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26009 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26011 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26012 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26014 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26015 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26017 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26020 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26021 return (void *)((wxObject
*) ((wxColourData
*) x
));
26023 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26024 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26026 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26029 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26032 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26035 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26038 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26041 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26044 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26047 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26050 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26053 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26056 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26057 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26059 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26060 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26062 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26063 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26065 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26066 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26068 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26069 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26071 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26072 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26074 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26075 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26077 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26078 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26080 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26081 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26083 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26084 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26086 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26087 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26089 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26090 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26092 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26095 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26098 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26101 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26104 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26107 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26108 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26110 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26111 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26113 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26114 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26116 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26117 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26119 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26120 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26122 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26123 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26125 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26126 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26128 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26129 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26131 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26134 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26137 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26138 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26140 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26143 static void *_p_wxImageTo_p_wxObject(void *x
) {
26144 return (void *)((wxObject
*) ((wxImage
*) x
));
26146 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26149 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26150 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26152 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26153 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26155 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26156 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26158 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26161 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26164 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26165 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26167 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26168 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26170 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26171 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26173 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26174 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26176 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26177 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26179 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26182 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26185 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26188 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26191 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26194 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26197 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26200 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26203 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26206 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26209 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26212 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26215 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26218 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26221 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26222 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26224 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26225 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26227 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26230 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26233 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26236 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26239 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26242 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26245 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26248 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26249 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26251 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26252 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26254 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26255 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26257 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26258 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26260 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26261 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26263 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26264 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26266 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26267 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26269 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26270 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26272 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26273 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26275 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26278 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26281 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26282 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26284 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26285 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26287 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26290 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26293 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26296 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26299 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26302 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26305 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26306 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26308 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26309 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26311 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26312 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26314 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26315 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26317 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26318 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26320 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26321 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26323 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26324 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26326 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26327 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26329 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26330 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26332 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26333 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26335 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26336 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26338 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26339 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26341 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26342 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26344 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26345 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26347 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26348 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26350 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26351 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26353 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26354 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26356 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26357 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26359 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26360 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26362 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26363 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26365 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26366 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26368 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26369 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26371 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26372 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26374 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26375 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26377 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26378 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26380 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26381 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26383 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26386 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26387 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26389 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26390 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26392 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26393 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26395 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26396 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26398 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26399 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26401 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26402 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26404 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26405 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26407 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26408 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26410 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26413 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26414 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26416 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26417 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26419 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26420 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26422 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26423 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26425 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26426 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26428 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26429 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26431 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26432 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26434 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26435 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26437 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26438 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26440 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26441 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26443 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26444 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26446 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26447 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26449 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26450 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26452 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26453 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26455 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26456 return (void *)((wxWindow
*) ((wxControl
*) x
));
26458 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26459 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26461 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26462 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26464 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26465 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26467 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26468 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26470 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26471 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26473 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26474 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26476 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26477 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26479 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26480 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26482 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26483 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26485 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26486 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26488 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26489 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26491 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26492 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26494 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26495 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26497 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26498 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26500 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26501 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26503 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26504 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26506 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26507 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26509 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26510 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26512 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26513 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26515 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26516 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26518 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26519 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26521 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26522 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26524 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26525 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26527 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26528 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26530 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26531 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26533 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26534 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26536 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26537 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26539 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26540 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26542 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26543 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26545 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26546 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26548 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26549 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26551 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26552 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26554 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26555 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26557 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26558 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26560 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26561 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26563 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26564 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26566 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26567 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26569 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26570 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26572 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26573 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26575 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26576 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26578 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26579 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26581 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26582 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26584 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26585 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26587 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26588 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26590 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26591 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26593 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26594 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26596 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26597 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26599 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26600 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26602 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26603 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26605 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26606 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26608 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26609 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26611 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26612 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26614 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26615 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26617 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}};
26618 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}};
26619 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}};
26620 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}};
26621 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}};
26622 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}};
26623 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}};
26624 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}};
26625 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}};
26626 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}};
26627 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}};
26628 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}};
26629 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}};
26630 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}};
26631 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}};
26632 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}};
26633 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}};
26634 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}};
26635 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}};
26636 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}};
26637 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}};
26638 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}};
26639 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}};
26640 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}};
26641 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}};
26642 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}};
26643 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}};
26644 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}};
26645 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}};
26646 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}};
26647 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}};
26648 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}};
26649 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}};
26650 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}};
26651 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}};
26652 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}};
26653 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26654 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}};
26655 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}};
26656 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}};
26657 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}};
26658 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}};
26659 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}};
26660 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26661 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}};
26662 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}};
26663 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}};
26664 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}};
26665 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}};
26666 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}};
26667 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26668 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}};
26669 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}};
26670 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}};
26671 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}};
26672 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26673 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}};
26674 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}};
26675 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}};
26676 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}};
26677 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26678 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}};
26679 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26680 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26681 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}};
26682 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}};
26683 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}};
26684 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}};
26685 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}};
26686 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}};
26687 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}};
26688 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}};
26689 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}};
26690 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}};
26691 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}};
26692 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}};
26693 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}};
26694 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}};
26695 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}};
26696 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}};
26697 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}};
26698 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}};
26699 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}};
26700 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}};
26701 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}};
26702 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}};
26704 static swig_type_info
*swig_types_initial
[] = {
26705 _swigt__p_wxQueryLayoutInfoEvent
,
26706 _swigt__p_wxPreviewFrame
,
26707 _swigt__p_wxPyPreviewFrame
,
26708 _swigt__p_wxPyPanel
,
26710 _swigt__p_wxFontData
,
26712 _swigt__p_wxPrintData
,
26713 _swigt__p_wxTaskBarIcon
,
26714 _swigt__p_wxIconBundle
,
26715 _swigt__p_wxLayoutAlgorithm
,
26716 _swigt__p_wxFindDialogEvent
,
26717 _swigt__p_wxPreviewCanvas
,
26719 _swigt__p_wxSplitterEvent
,
26720 _swigt__p_wxRegion
,
26721 _swigt__p_wxFindReplaceData
,
26726 _swigt__p_wxVisualAttributes
,
26727 _swigt__p_wxMDIChildFrame
,
26728 _swigt__p_wxColourData
,
26729 _swigt__p_wxNotifyEvent
,
26730 _swigt__p_wxPyWindow
,
26731 _swigt__p_wxSplashScreen
,
26732 _swigt__p_wxFindReplaceDialog
,
26733 _swigt__p_wxProgressDialog
,
26734 _swigt__p_wxMessageDialog
,
26735 _swigt__p_wxTextEntryDialog
,
26736 _swigt__p_wxSingleChoiceDialog
,
26737 _swigt__p_wxMultiChoiceDialog
,
26738 _swigt__p_wxFileDialog
,
26739 _swigt__p_wxPrinter
,
26740 _swigt__p_wxArrayInt
,
26741 _swigt__p_wxEvtHandler
,
26742 _swigt__p_wxCalculateLayoutEvent
,
26743 _swigt__p_wxPyHtmlListBox
,
26744 _swigt__p_wxPyVListBox
,
26747 _swigt__p_wxMiniFrame
,
26749 _swigt__p_wxPyPrintout
,
26750 _swigt__p_wxTaskBarIconEvent
,
26751 _swigt__p_wxScrollWinEvent
,
26752 _swigt__p_wxStatusBar
,
26753 _swigt__p_wxMDIParentFrame
,
26755 _swigt__p_wxObject
,
26756 _swigt__p_wxOutputStream
,
26757 _swigt__p_wxPyScrolledWindow
,
26758 _swigt__p_wxMDIClientWindow
,
26759 _swigt__p_wxTipWindow
,
26760 _swigt__p_wxPyPopupTransientWindow
,
26761 _swigt__p_wxSashLayoutWindow
,
26762 _swigt__p_wxSplitterWindow
,
26763 _swigt__p_wxSplashScreenWindow
,
26764 _swigt__p_wxPyVScrolledWindow
,
26765 _swigt__p_wxPopupWindow
,
26766 _swigt__p_wxSashWindow
,
26767 _swigt__p_wxTopLevelWindow
,
26768 _swigt__p_wxWindow
,
26769 _swigt__p_wxScrolledWindow
,
26770 _swigt__p_wxMenuBar
,
26771 _swigt__p_wxPrintPreview
,
26772 _swigt__p_wxSashEvent
,
26773 _swigt__p_wxString
,
26774 _swigt__p_wxPyPrintPreview
,
26775 _swigt__p_wxFontDialog
,
26776 _swigt__p_wxDirDialog
,
26777 _swigt__p_wxColourDialog
,
26778 _swigt__p_wxDialog
,
26780 _swigt__p_wxPageSetupDialog
,
26781 _swigt__p_wxPrintDialog
,
26782 _swigt__p_wxFileSystem
,
26783 _swigt__p_wxBitmap
,
26784 _swigt__p_wxCommandEvent
,
26785 _swigt__p_wxPreviewControlBar
,
26786 _swigt__p_wxPyPreviewControlBar
,
26787 _swigt__p_wxColour
,
26788 _swigt__p_wxToolBar
,
26789 _swigt__p_wxPageSetupDialogData
,
26790 _swigt__p_wxPrintDialogData
,
26795 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26797 static swig_const_info swig_const_table
[] = {
26798 {0, 0, 0, 0.0, 0, 0}};
26807 SWIGEXPORT(void) SWIG_init(void) {
26808 static PyObject
*SWIG_globals
= 0;
26809 static int typeinit
= 0;
26812 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26813 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26814 d
= PyModule_GetDict(m
);
26817 for (i
= 0; swig_types_initial
[i
]; i
++) {
26818 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26822 SWIG_InstallConstants(d
,swig_const_table
);
26824 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26825 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26826 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26827 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26828 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26829 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
26830 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
26831 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
26832 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
26833 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
26834 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
26835 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
26836 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
26837 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
26838 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
26839 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
26840 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
26841 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
26842 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
26843 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
26844 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
26845 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
26846 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
26847 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
26848 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
26849 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
26850 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
26851 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
26852 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
26853 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
26854 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
26855 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
26856 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
26857 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
26858 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
26859 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
26860 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
26861 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
26862 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
26863 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
26864 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
26865 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
26866 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
26867 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
26868 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
26869 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
26870 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
26871 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26872 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
26873 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
26874 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
26875 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
26876 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
26877 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
26878 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
26879 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
26880 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
26881 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
26882 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
26883 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
26884 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
26885 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
26886 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26887 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26888 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26889 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26890 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26891 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26892 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
26893 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
26894 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
26895 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
26896 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
26897 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
26898 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
26899 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
26900 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
26901 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
26902 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
26903 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
26904 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
26905 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
26906 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
26907 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26908 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
26909 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
26910 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
26911 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
26912 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
26913 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
26914 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
26915 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
26916 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
26917 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
26918 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
26919 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26920 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26921 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26923 // Map renamed classes back to their common name for OOR
26924 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26925 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26926 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26928 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26929 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26930 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26931 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26932 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26933 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26934 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26935 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26936 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26937 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26938 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26939 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26940 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26941 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
26942 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
26943 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
26944 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
26945 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
26946 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
26947 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
26948 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
26949 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26950 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26951 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26952 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26953 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26954 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
26955 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
26956 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
26957 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
26958 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
26959 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
26960 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
26961 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
26962 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26963 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26964 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
26965 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
26966 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
26967 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
26968 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
26969 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
26970 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
26971 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
26972 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
26973 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
26974 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
26975 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
26976 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
26977 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
26978 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
26979 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
26980 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
26981 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
26982 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
26983 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
26984 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
26985 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
26986 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
26987 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
26989 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");